service-new
Say what the upstream system is and when an Agent should reach for this service, in the words a user would use.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-05
- Stars
- ★ 43
- Forks
- 9
01 前言 Front Matter
- name
- service-new
- description
- Say what the upstream system is and when an Agent should reach for this service, in the words a user would use.
02 资源文件 13
- 其他.gitignore104 B
- 参考文档.yarnrc.yml98 B
- 参考文档package.json703 B
- 参考文档README.md1.7 KB
- 参考文档service.json128 B
- 脚本service.ts251 B
- 脚本service.types.ts646 B
- 其他src/groups/.gitkeep—
- 脚本src/upstreams.ts274 B
- 脚本startup.sh200 B
- 其他test/groups/.gitkeep—
- 脚本test/service.test.ts538 B
- 参考文档tsconfig.json457 B
03 SKILL.md 正文
New External Service
What the upstream is, the thing a user names (a project, a board, a mailbox) and how this Project's configuration decides which of them it reaches.
Setting up a client
How each client this service serves (curl, the upstream's CLI or SDK, App code) reaches https://<slug>.$EXTERNAL_SERVICES_HOST with $SERVICE_GATEWAY_API_KEY, with every flag that keeps a client from prompting.
The upstream API
The upstream API this service passes through, its version and a link to its docs.
Differences from the upstream
What a request through this service can't do, or does differently, and the setting a refusal names.
Conventions
Ids, paging, eventual consistency and writes that are not idempotent.
Events
Each Event type the service delivers, when it arrives, how a Project chooses to hear it, and the keys of its data. Remove this section when the service delivers none.
Invented endpoints
Each handle route's request (method, path, query, body) and answer, since no upstream docs cover them. Remove this section when the service has none.
Where the upstream keeps its own record
Where a person checks, in the upstream itself, what was done through this service.
04 同仓库更多 Skills
figma-use
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.
figma-use-slides
This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
figma-use-motion
Motion / animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.
figma-use-figjam
This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
figma-swiftui
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.
figma-shaders
**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.