@skilly-hand/skilly-hand 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +16 -1
- package/catalog/README.md +10 -27
- package/catalog/catalog-index.json +1 -0
- package/catalog/skills/figma-mcp-0to1/SKILL.md +69 -0
- package/catalog/skills/figma-mcp-0to1/agents/canvas-creation-playbook.md +54 -0
- package/catalog/skills/figma-mcp-0to1/agents/install-auth.md +54 -0
- package/catalog/skills/figma-mcp-0to1/agents/tool-function-catalog.md +38 -0
- package/catalog/skills/figma-mcp-0to1/agents/troubleshooting-ops.md +54 -0
- package/catalog/skills/figma-mcp-0to1/assets/client-config-snippets.md +76 -0
- package/catalog/skills/figma-mcp-0to1/assets/prompt-recipes.md +34 -0
- package/catalog/skills/figma-mcp-0to1/manifest.json +42 -0
- package/catalog/skills/figma-mcp-0to1/references/official-tools-matrix.md +49 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,22 @@ All notable changes to this project are documented in this file.
|
|
|
16
16
|
### Removed
|
|
17
17
|
- _None._
|
|
18
18
|
|
|
19
|
+
## [0.3.0] - 2026-04-03
|
|
20
|
+
[View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.3.0)
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
- Added portable skill `figma-mcp-0to1` with setup, tool-selection, first-canvas, and troubleshooting documentation.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- Synced generated documentation outputs in `AGENTS.md` and `catalog/README.md` to include the current 5-skill registry.
|
|
27
|
+
- Refreshed root documentation to reflect current catalog composition and release/doc sync workflow.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- Updated catalog manifest test expectations for the 5-skill portable catalog.
|
|
31
|
+
|
|
32
|
+
### Removed
|
|
33
|
+
- _None._
|
|
34
|
+
|
|
19
35
|
## [0.1.1] - 2026-04-03
|
|
20
36
|
[View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.1.1)
|
|
21
37
|
|
package/README.md
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
- **Installs portable AI agent skills** into your project from a curated catalog
|
|
26
26
|
- **Auto-detects your stack** and recommends relevant skills automatically
|
|
27
27
|
- **Supports every major coding assistant** — Claude Code, OpenCode, Cursor, Copilot, Gemini, and Codex — from a single command
|
|
28
|
+
- **Ships a curated core skill set** including orchestration, SDD workflow, and Figma MCP onboarding
|
|
28
29
|
- **Preserves original agentic structures** in `source/legacy/` as a migration reference
|
|
29
30
|
|
|
30
31
|
---
|
|
@@ -50,11 +51,25 @@ npx skilly-hand
|
|
|
50
51
|
|
|
51
52
|
---
|
|
52
53
|
|
|
54
|
+
## Current Portable Catalog
|
|
55
|
+
|
|
56
|
+
The catalog currently includes:
|
|
57
|
+
|
|
58
|
+
- `agents-root-orchestrator`
|
|
59
|
+
- `figma-mcp-0to1`
|
|
60
|
+
- `skill-creator`
|
|
61
|
+
- `spec-driven-development`
|
|
62
|
+
- `token-optimizer`
|
|
63
|
+
|
|
64
|
+
See [catalog/README.md](./catalog/README.md) for generated skill metadata.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
53
68
|
## Release Workflow (npm)
|
|
54
69
|
|
|
55
70
|
1. Confirm session: `npm whoami` (or `npm login`).
|
|
56
71
|
2. Keep `CHANGELOG.md` up to date under `## [Unreleased]` as work lands.
|
|
57
|
-
3. Regenerate derived
|
|
72
|
+
3. Regenerate derived files when needed: `npm run build && npm run catalog:sync && npm run agentic:self:sync`.
|
|
58
73
|
4. Run publish gate: `npm run verify:publish`.
|
|
59
74
|
5. Inspect package payload: `npm pack --dry-run --json`.
|
|
60
75
|
6. Bump version intentionally: `npm version patch|minor|major` (this auto-rotates `CHANGELOG.md`, creates a dated release section, and inserts a version-specific npm link).
|
package/catalog/README.md
CHANGED
|
@@ -1,30 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
# Portable Catalog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Published portable skills consumed by the `skilly-hand` CLI.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
| Skill | Description | Tags | Installs For |
|
|
6
|
+
| ----- | ----------- | ---- | ------------ |
|
|
7
|
+
| `agents-root-orchestrator` | Author root AGENTS.md as a Where/What/When orchestrator that routes tasks and skill invocation clearly. | core, workflow, orchestration | all |
|
|
8
|
+
| `figma-mcp-0to1` | Guide users from Figma MCP installation and authentication through first canvas creation, with function-level tool coverage and operational recovery patterns. | figma, mcp, workflow, design | all |
|
|
9
|
+
| `skill-creator` | Create and standardize AI skills with reusable structure, metadata rules, and templates. | core, workflow, authoring | all |
|
|
10
|
+
| `spec-driven-development` | Plan, execute, and verify multi-step work through versioned specs with small, testable tasks. | core, workflow, planning | all |
|
|
11
|
+
| `token-optimizer` | Classify task complexity and right-size reasoning depth, context gathering, and response detail to reduce wasted tokens. | core, workflow, efficiency | all |
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Skills
|
|
12
|
-
|
|
13
|
-
| Skill | Description | Tags |
|
|
14
|
-
| ----- | ----------- | ---- |
|
|
15
|
-
| `agents-root-orchestrator` | Author root `AGENTS.md` as a Where/What/When orchestrator that routes tasks and skill invocation clearly. | `core` `workflow` `orchestration` |
|
|
16
|
-
| `skill-creator` | Create and standardize AI skills with reusable structure, metadata rules, and templates. | `core` `workflow` `authoring` |
|
|
17
|
-
| `spec-driven-development` | Plan, execute, and verify multi-step work through versioned specs with small, testable tasks. | `core` `workflow` `planning` |
|
|
18
|
-
| `token-optimizer` | Classify task complexity and right-size reasoning depth, context gathering, and response detail to reduce wasted tokens. | `core` `workflow` `efficiency` |
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## Install a skill
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
npx skilly-hand install <skill-name>
|
|
26
|
-
npx skilly-hand install agents-root-orchestrator
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
> [!NOTE]
|
|
30
|
-
> Legacy source under `source/legacy/agentic-structure` is preserved as reference material and is **excluded from installation**.
|
|
13
|
+
Legacy source remains under `source/legacy/agentic-structure` and is excluded from installation.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Figma MCP 0-to-1 Guide
|
|
2
|
+
|
|
3
|
+
## When to Use
|
|
4
|
+
|
|
5
|
+
Use this skill when:
|
|
6
|
+
|
|
7
|
+
- You need to set up Figma MCP from scratch.
|
|
8
|
+
- You need a reliable path from connection to first successful canvas output.
|
|
9
|
+
- You need to choose the right Figma MCP function for a task.
|
|
10
|
+
- You need operational recovery for permission, auth, tool-loading, or rate-limit failures.
|
|
11
|
+
|
|
12
|
+
Do not use this skill for:
|
|
13
|
+
|
|
14
|
+
- Generic frontend implementation that does not require Figma MCP.
|
|
15
|
+
- One-off code-only tasks with no design context.
|
|
16
|
+
- Legacy repository-specific Figma pipelines that already define their own strict workflow.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Routing Map
|
|
21
|
+
|
|
22
|
+
Choose subskills by intent:
|
|
23
|
+
|
|
24
|
+
| Intent | Subskill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| Install and authenticate MCP connection | [agents/install-auth.md](agents/install-auth.md) |
|
|
27
|
+
| Select exact function/tool and expected inputs | [agents/tool-function-catalog.md](agents/tool-function-catalog.md) |
|
|
28
|
+
| Create first canvas output safely | [agents/canvas-creation-playbook.md](agents/canvas-creation-playbook.md) |
|
|
29
|
+
| Recover from errors, limits, or drift | [agents/troubleshooting-ops.md](agents/troubleshooting-ops.md) |
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Standard Execution Sequence
|
|
34
|
+
|
|
35
|
+
1. Set up server transport and authentication.
|
|
36
|
+
2. Verify connectivity with a low-risk call (`whoami` on remote, or a read tool).
|
|
37
|
+
3. Select the smallest tool that solves the immediate task.
|
|
38
|
+
4. Run creation in short, validated steps (avoid large one-shot requests).
|
|
39
|
+
5. If anything fails, use troubleshooting flow before retrying.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Core Rules
|
|
44
|
+
|
|
45
|
+
- Prefer remote server for broadest feature coverage and write workflows.
|
|
46
|
+
- Treat write actions as staged operations, not a single large operation.
|
|
47
|
+
- Use link-based node targeting for reliable design-context extraction.
|
|
48
|
+
- Keep a clear distinction between read context tools and write/canvas tools.
|
|
49
|
+
- For repeated team workflows, reuse prompts and config snippets from `assets/`.
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Key References
|
|
54
|
+
|
|
55
|
+
- Full function matrix: [references/official-tools-matrix.md](references/official-tools-matrix.md)
|
|
56
|
+
- Client setup snippets: [assets/client-config-snippets.md](assets/client-config-snippets.md)
|
|
57
|
+
- Prompt starters: [assets/prompt-recipes.md](assets/prompt-recipes.md)
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Commands
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Codex CLI (manual remote setup)
|
|
65
|
+
codex mcp add figma --url https://mcp.figma.com/mcp
|
|
66
|
+
|
|
67
|
+
# Verify catalog integrity in this repository
|
|
68
|
+
npm run catalog:check
|
|
69
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Canvas Creation Playbook
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Deliver a first successful Figma canvas result with low risk and clear verification.
|
|
6
|
+
|
|
7
|
+
## Safe 0-to-1 Workflow
|
|
8
|
+
|
|
9
|
+
1. **Create or choose file context**
|
|
10
|
+
- New file path: call `create_new_file`.
|
|
11
|
+
- Existing file path: confirm URL/node target and permissions.
|
|
12
|
+
|
|
13
|
+
2. **Verify identity and access**
|
|
14
|
+
- Run `whoami` (remote) to confirm account/plan.
|
|
15
|
+
- If access mismatch appears, stop and fix permissions first.
|
|
16
|
+
|
|
17
|
+
3. **Read before write**
|
|
18
|
+
- Call `search_design_system` to reuse components/variables.
|
|
19
|
+
- Optionally call `get_metadata` for structure baseline.
|
|
20
|
+
|
|
21
|
+
4. **Perform first write step**
|
|
22
|
+
- Use `use_figma` for a small, atomic action:
|
|
23
|
+
- Create one frame.
|
|
24
|
+
- Add one text node.
|
|
25
|
+
- Apply one style/token decision.
|
|
26
|
+
|
|
27
|
+
5. **Validate state**
|
|
28
|
+
- Inspect with `get_metadata` or `get_screenshot`.
|
|
29
|
+
- Confirm node IDs and visual result.
|
|
30
|
+
|
|
31
|
+
6. **Iterate in small increments**
|
|
32
|
+
- Add layout, spacing, variants, or additional sections in separate write steps.
|
|
33
|
+
- Re-validate after each step.
|
|
34
|
+
|
|
35
|
+
## Alternative First-Creation Flows
|
|
36
|
+
|
|
37
|
+
### Diagram-first flow (FigJam)
|
|
38
|
+
|
|
39
|
+
1. `create_new_file` (FigJam)
|
|
40
|
+
2. `generate_diagram` from plain-language workflow description
|
|
41
|
+
3. Validate diagram structure and labels
|
|
42
|
+
|
|
43
|
+
### Code-to-canvas flow
|
|
44
|
+
|
|
45
|
+
1. Ask client to start local app capture workflow
|
|
46
|
+
2. Capture screen/element states to Figma
|
|
47
|
+
3. Open generated file and validate generated layers
|
|
48
|
+
4. Follow up with `use_figma` for cleanup/polish
|
|
49
|
+
|
|
50
|
+
## Guardrails
|
|
51
|
+
|
|
52
|
+
- Do not run large multi-section writes as the first operation.
|
|
53
|
+
- Always return to read/verify tools after each write step.
|
|
54
|
+
- If a write fails, use troubleshooting flow before retrying.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Install and Auth
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Get Figma MCP connected and authenticated, with a verified first tool call.
|
|
6
|
+
|
|
7
|
+
## Server Modes
|
|
8
|
+
|
|
9
|
+
| Mode | Endpoint | Recommended | Notes |
|
|
10
|
+
| --- | --- | --- | --- |
|
|
11
|
+
| Remote | `https://mcp.figma.com/mcp` | Yes | Broadest features, including write-to-canvas workflows. |
|
|
12
|
+
| Desktop | `http://127.0.0.1:3845/mcp` | Only for special org/enterprise needs | Requires Figma desktop app + Dev Mode desktop MCP toggle. |
|
|
13
|
+
|
|
14
|
+
## Codex Setup
|
|
15
|
+
|
|
16
|
+
### Preferred path (Figma app/plugin workflow)
|
|
17
|
+
|
|
18
|
+
- Use the Figma app path if available in your Codex client.
|
|
19
|
+
- Complete auth prompt flow and grant access.
|
|
20
|
+
|
|
21
|
+
### Manual Codex CLI path
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
codex mcp add figma --url https://mcp.figma.com/mcp
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
When prompted, authenticate the server.
|
|
28
|
+
|
|
29
|
+
## Other Common Clients (manual patterns)
|
|
30
|
+
|
|
31
|
+
- VS Code: add HTTP MCP server in `mcp.json` using the remote endpoint.
|
|
32
|
+
- Cursor: add MCP server in MCP settings or use its Figma plugin flow.
|
|
33
|
+
- Claude Code: `claude mcp add --transport http figma https://mcp.figma.com/mcp`.
|
|
34
|
+
- Gemini CLI: install Figma extension from `figma/mcp-server-guide`, then run auth command in CLI.
|
|
35
|
+
|
|
36
|
+
See exact snippets in [../assets/client-config-snippets.md](../assets/client-config-snippets.md).
|
|
37
|
+
|
|
38
|
+
## Verification Checklist
|
|
39
|
+
|
|
40
|
+
1. Confirm server appears in client MCP list.
|
|
41
|
+
2. Run a low-risk probe:
|
|
42
|
+
- Remote: `whoami` (recommended)
|
|
43
|
+
- Desktop-only contexts: `get_metadata` or `get_design_context` on a known node
|
|
44
|
+
3. Confirm the authenticated user has access to the target Figma file.
|
|
45
|
+
|
|
46
|
+
## First Prompt After Setup
|
|
47
|
+
|
|
48
|
+
- "Use Figma MCP `whoami` and show which account is authenticated."
|
|
49
|
+
- "Use Figma MCP `get_design_context` for this node URL and summarize dimensions, layout, and variables."
|
|
50
|
+
|
|
51
|
+
## Notes
|
|
52
|
+
|
|
53
|
+
- If tools do not appear, restart MCP client session and retry authentication.
|
|
54
|
+
- If permissions fail, verify file sharing and plan seat alignment before retry.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Tool and Function Catalog
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Pick the smallest correct Figma MCP function for the task, with predictable inputs and output shape.
|
|
6
|
+
|
|
7
|
+
## Start Here
|
|
8
|
+
|
|
9
|
+
1. Read [../references/official-tools-matrix.md](../references/official-tools-matrix.md).
|
|
10
|
+
2. Identify whether task is read, write, design-system search, code-connect, or diagram.
|
|
11
|
+
3. Prefer read-first calls before write calls on unknown files.
|
|
12
|
+
|
|
13
|
+
## Selection Rules
|
|
14
|
+
|
|
15
|
+
- Need full style/layout context for implementation: `get_design_context`.
|
|
16
|
+
- Output too large or structure-first pass: `get_metadata` first, then targeted `get_design_context`.
|
|
17
|
+
- Need variables/tokens only: `get_variable_defs`.
|
|
18
|
+
- Need visual reference: `get_screenshot`.
|
|
19
|
+
- Need FigJam extraction: `get_figjam`.
|
|
20
|
+
- Need design-system discovery before creating: `search_design_system`.
|
|
21
|
+
- Need to write/create/update content: `use_figma` (remote write workflows).
|
|
22
|
+
- Need new blank file: `create_new_file`.
|
|
23
|
+
- Need Mermaid-to-FigJam: `generate_diagram`.
|
|
24
|
+
- Need code-connect lookup/update: `get_code_connect_map`, `add_code_connect_map`, suggestion/confirm functions.
|
|
25
|
+
|
|
26
|
+
## Prompting Pattern
|
|
27
|
+
|
|
28
|
+
Use direct tool-trigger language when selection is ambiguous:
|
|
29
|
+
|
|
30
|
+
- "Use Figma MCP `get_metadata` first, then `get_design_context` only for the selected child nodes."
|
|
31
|
+
- "Use Figma MCP `search_design_system` before creating any new component."
|
|
32
|
+
- "Use Figma MCP `create_new_file`, then `use_figma` to add a first frame and typography style."
|
|
33
|
+
|
|
34
|
+
## Remote/Desktop Caveats
|
|
35
|
+
|
|
36
|
+
- Remote-only flags are tracked in the matrix; confirm availability before relying on those functions.
|
|
37
|
+
- Write-to-canvas flows are remote-first in current official guidance.
|
|
38
|
+
- Desktop mode is valid for local selection-based extraction, but with narrower workflow coverage.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Troubleshooting and Recovery
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Recover quickly from Figma MCP setup and execution failures without compounding errors.
|
|
6
|
+
|
|
7
|
+
## Decision Flow
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
Failure observed?
|
|
11
|
+
-> Tools missing/not loading
|
|
12
|
+
-> Recheck MCP server config, restart client session, re-auth
|
|
13
|
+
-> Permission/resource error
|
|
14
|
+
-> Verify link format, run whoami, confirm seat/plan and file access
|
|
15
|
+
-> Rate-limit behavior
|
|
16
|
+
-> Reduce read call volume, stage calls, wait/backoff, upgrade seat/plan if needed
|
|
17
|
+
-> Write failure
|
|
18
|
+
-> Stop retries, inspect state with read tools, fix cause, retry scoped step
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Common Issues
|
|
22
|
+
|
|
23
|
+
### Tools are not visible
|
|
24
|
+
|
|
25
|
+
- Confirm server endpoint is correct.
|
|
26
|
+
- Confirm MCP server is started in client.
|
|
27
|
+
- Re-authenticate and restart client session.
|
|
28
|
+
|
|
29
|
+
### Permission denied or inaccessible resources
|
|
30
|
+
|
|
31
|
+
1. Validate Figma URL format and node id.
|
|
32
|
+
2. Run `whoami` to verify authenticated account.
|
|
33
|
+
3. Confirm authenticated user belongs to correct plan and has file access.
|
|
34
|
+
|
|
35
|
+
### Rate limiting
|
|
36
|
+
|
|
37
|
+
- Read-heavy calls are rate-limited by plan/seat.
|
|
38
|
+
- Use smaller selections and fewer repeated reads.
|
|
39
|
+
- Prefer `get_metadata` preflight before broad `get_design_context`.
|
|
40
|
+
- Batch intent into fewer, targeted calls.
|
|
41
|
+
|
|
42
|
+
### Write step errors
|
|
43
|
+
|
|
44
|
+
- Do not immediately retry the exact same large request.
|
|
45
|
+
- Split into smaller write actions.
|
|
46
|
+
- Verify partial outcomes using read tools before next step.
|
|
47
|
+
|
|
48
|
+
## Scoped Retry Pattern
|
|
49
|
+
|
|
50
|
+
1. Isolate the failed step.
|
|
51
|
+
2. Run one diagnostic read call (`get_metadata` or `whoami`).
|
|
52
|
+
3. Correct only the failing input.
|
|
53
|
+
4. Retry that one step.
|
|
54
|
+
5. Re-validate and continue.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Client Config Snippets
|
|
2
|
+
|
|
3
|
+
## Remote Endpoint
|
|
4
|
+
|
|
5
|
+
`https://mcp.figma.com/mcp`
|
|
6
|
+
|
|
7
|
+
## Desktop Endpoint
|
|
8
|
+
|
|
9
|
+
`http://127.0.0.1:3845/mcp`
|
|
10
|
+
|
|
11
|
+
## Codex CLI (manual)
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
codex mcp add figma --url https://mcp.figma.com/mcp
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## VS Code `mcp.json` (remote)
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"inputs": [],
|
|
22
|
+
"servers": {
|
|
23
|
+
"figma": {
|
|
24
|
+
"url": "https://mcp.figma.com/mcp",
|
|
25
|
+
"type": "http"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## VS Code `mcp.json` (desktop)
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"servers": {
|
|
36
|
+
"figma-desktop": {
|
|
37
|
+
"type": "http",
|
|
38
|
+
"url": "http://127.0.0.1:3845/mcp"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Cursor MCP config (remote)
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
{
|
|
48
|
+
"mcpServers": {
|
|
49
|
+
"figma": {
|
|
50
|
+
"url": "https://mcp.figma.com/mcp"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Claude Code (manual remote)
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
claude mcp add --transport http figma https://mcp.figma.com/mcp
|
|
60
|
+
claude mcp list
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Claude Code (manual desktop)
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
claude mcp add --transport http figma-desktop http://127.0.0.1:3845/mcp
|
|
67
|
+
claude mcp list
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Gemini CLI
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
gemini extensions install https://github.com/figma/mcp-server-guide
|
|
74
|
+
# then inside gemini CLI:
|
|
75
|
+
# /mcp auth figma
|
|
76
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Prompt Recipes
|
|
2
|
+
|
|
3
|
+
## Setup and Verification
|
|
4
|
+
|
|
5
|
+
- "Set up Figma MCP remote server and verify with `whoami`."
|
|
6
|
+
- "Use Figma MCP `whoami` and tell me which account and plans are active."
|
|
7
|
+
|
|
8
|
+
## Read Context
|
|
9
|
+
|
|
10
|
+
- "Use `get_design_context` for this node URL and return layout, spacing, typography, and variables."
|
|
11
|
+
- "Use `get_metadata` first, then call `get_design_context` only for the button and header nodes."
|
|
12
|
+
- "Use `get_variable_defs` for this node and list token names with resolved values."
|
|
13
|
+
|
|
14
|
+
## Design-System and Code Connect
|
|
15
|
+
|
|
16
|
+
- "Use `search_design_system` to find an existing card and button component before creating anything new."
|
|
17
|
+
- "Use `get_code_connect_map` for this node and show mapped source locations."
|
|
18
|
+
- "Use `add_code_connect_map` to map this Figma node to my component path."
|
|
19
|
+
|
|
20
|
+
## First Canvas Creation
|
|
21
|
+
|
|
22
|
+
- "Use `create_new_file` to create a new design file named 'MCP First Canvas'."
|
|
23
|
+
- "Use `use_figma` to create one frame, add one title text layer, and apply auto layout spacing."
|
|
24
|
+
- "After the write, use `get_screenshot` to verify the result."
|
|
25
|
+
|
|
26
|
+
## FigJam Flows
|
|
27
|
+
|
|
28
|
+
- "Use `create_new_file` to create a new FigJam board for architecture planning."
|
|
29
|
+
- "Use `generate_diagram` to create a sequence diagram for login and checkout flow."
|
|
30
|
+
|
|
31
|
+
## Troubleshooting
|
|
32
|
+
|
|
33
|
+
- "I got a permission error. Use `whoami` and tell me what to check next."
|
|
34
|
+
- "I am rate-limited. Switch to a staged workflow with fewer `get_design_context` calls."
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "figma-mcp-0to1",
|
|
3
|
+
"title": "Figma MCP 0-to-1 Guide",
|
|
4
|
+
"description": "Guide users from Figma MCP installation and authentication through first canvas creation, with function-level tool coverage and operational recovery patterns.",
|
|
5
|
+
"portable": true,
|
|
6
|
+
"tags": ["figma", "mcp", "workflow", "design"],
|
|
7
|
+
"detectors": ["always"],
|
|
8
|
+
"detectionTriggers": ["manual"],
|
|
9
|
+
"installsFor": ["all"],
|
|
10
|
+
"agentSupport": ["codex", "claude", "cursor", "gemini", "copilot"],
|
|
11
|
+
"skillMetadata": {
|
|
12
|
+
"author": "skilly-hand",
|
|
13
|
+
"last-edit": "2026-04-03",
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"version": "1.0.0",
|
|
16
|
+
"changelog": "Added a complete Figma MCP setup-to-canvas guide with orchestrator subskills and full official tool matrix coverage; reduces onboarding ambiguity and improves first-run success rates; affects Figma MCP setup, tool selection, and troubleshooting workflows",
|
|
17
|
+
"auto-invoke": "Installing, configuring, or using Figma MCP from setup through first canvas creation",
|
|
18
|
+
"allowed-tools": [
|
|
19
|
+
"Read",
|
|
20
|
+
"Edit",
|
|
21
|
+
"Write",
|
|
22
|
+
"Glob",
|
|
23
|
+
"Grep",
|
|
24
|
+
"Bash",
|
|
25
|
+
"WebFetch",
|
|
26
|
+
"WebSearch",
|
|
27
|
+
"Task",
|
|
28
|
+
"SubAgent"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
{ "path": "SKILL.md", "kind": "instruction" },
|
|
33
|
+
{ "path": "agents/install-auth.md", "kind": "instruction" },
|
|
34
|
+
{ "path": "agents/tool-function-catalog.md", "kind": "instruction" },
|
|
35
|
+
{ "path": "agents/canvas-creation-playbook.md", "kind": "instruction" },
|
|
36
|
+
{ "path": "agents/troubleshooting-ops.md", "kind": "instruction" },
|
|
37
|
+
{ "path": "assets/client-config-snippets.md", "kind": "asset" },
|
|
38
|
+
{ "path": "assets/prompt-recipes.md", "kind": "asset" },
|
|
39
|
+
{ "path": "references/official-tools-matrix.md", "kind": "reference" }
|
|
40
|
+
],
|
|
41
|
+
"dependencies": []
|
|
42
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Official Figma MCP Tools Matrix (As of 2026-04-03)
|
|
2
|
+
|
|
3
|
+
This matrix tracks the official Figma MCP tool/function set in current Figma documentation.
|
|
4
|
+
|
|
5
|
+
## Coverage Matrix
|
|
6
|
+
|
|
7
|
+
| Tool | Primary Purpose | Typical Input | Supported File Types | Availability Notes |
|
|
8
|
+
| --- | --- | --- | --- | --- |
|
|
9
|
+
| `generate_figma_design` | Generate design layers from live web UI (code to canvas path) | URL/local app capture context | No file context required | Remote-only in official docs. |
|
|
10
|
+
| `get_design_context` | Fetch rich design context for implementation | Figma URL or `fileKey` + `nodeId` | Figma Design | Read tool; use link-based node targeting. |
|
|
11
|
+
| `get_variable_defs` | Retrieve variable/token definitions | `fileKey` + `nodeId` | Figma Design | Best for token-only extraction. |
|
|
12
|
+
| `get_code_connect_map` | Read existing Code Connect mappings | `fileKey` + `nodeId` | Figma Design | Use to inspect mapping before updates. |
|
|
13
|
+
| `add_code_connect_map` | Add mapping from node to code component | `fileKey`, `nodeId`, source details | Figma Design | Write-style utility; exempt from read rate limits in docs. |
|
|
14
|
+
| `get_screenshot` | Render node screenshot for visual verification | `fileKey` + `nodeId` | Figma Design | Useful verification after write steps. |
|
|
15
|
+
| `create_design_system_rules` | Generate design-system rules prompt/scaffold | Framework/language context | No file context required | Use to enforce repeatable design-system workflows. |
|
|
16
|
+
| `get_metadata` | Sparse XML structure (ids, names, hierarchy, bounds) | Selection or `fileKey` + `nodeId` | Figma Design | Preferred preflight for large contexts. |
|
|
17
|
+
| `get_figjam` | Fetch FigJam metadata (and node visuals) | `fileKey` + `nodeId` | FigJam | FigJam-specific extraction. |
|
|
18
|
+
| `generate_diagram` | Create FigJam diagram from Mermaid or natural language intent | Diagram description or Mermaid syntax | No file context required | Supports flowchart, gantt, state, sequence. |
|
|
19
|
+
| `whoami` | Show authenticated Figma identity, plans, and seat types | None | No file context required | Remote-only in official docs; exempt from read rate limits. |
|
|
20
|
+
| `get_code_connect_suggestions` | Suggest candidate node-to-code mappings | File context + repo context | Figma Design | Usually part of Code Connect workflows. |
|
|
21
|
+
| `send_code_connect_mappings` | Confirm/persist mapping suggestions | Suggestions payload | Figma Design | Follow-up action after suggestion generation. |
|
|
22
|
+
| `use_figma` | General-purpose write/edit/delete/inspect in Figma via Plugin API workflow | Task instructions and file context | Figma Design, FigJam | Write-to-canvas workflow path; remote-first guidance. |
|
|
23
|
+
| `search_design_system` | Search libraries for components, variables, styles | Query text and optional type narrowing | Figma Design | Use before creating new artifacts. |
|
|
24
|
+
| `create_new_file` | Create new blank Design or FigJam file | Name/type intent | No file context required | Good first step for 0-to-1 creation workflows. |
|
|
25
|
+
|
|
26
|
+
## Rate-Limit Notes (Official)
|
|
27
|
+
|
|
28
|
+
- Read tools are subject to seat/plan limits.
|
|
29
|
+
- Officially documented exempt tools include:
|
|
30
|
+
- `add_code_connect_map`
|
|
31
|
+
- `generate_figma_design`
|
|
32
|
+
- `whoami`
|
|
33
|
+
|
|
34
|
+
## Practical Selection Heuristics
|
|
35
|
+
|
|
36
|
+
1. Start with `whoami` when authentication or permissions are uncertain.
|
|
37
|
+
2. Use `get_metadata` before `get_design_context` for large files.
|
|
38
|
+
3. Use `search_design_system` before creating new components.
|
|
39
|
+
4. Keep `use_figma` calls small and validate after each step.
|
|
40
|
+
5. Use `get_screenshot` as final visual verification after edits.
|
|
41
|
+
|
|
42
|
+
## Sources
|
|
43
|
+
|
|
44
|
+
- https://developers.figma.com/docs/figma-mcp-server/
|
|
45
|
+
- https://developers.figma.com/docs/figma-mcp-server/tools-and-prompts/
|
|
46
|
+
- https://developers.figma.com/docs/figma-mcp-server/remote-server-installation/
|
|
47
|
+
- https://developers.figma.com/docs/figma-mcp-server/local-server-installation/
|
|
48
|
+
- https://developers.figma.com/docs/figma-mcp-server/plans-access-and-permissions/
|
|
49
|
+
- https://help.figma.com/hc/en-us/articles/32132100833559-Guide-to-the-Figma-MCP-server
|