Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions plugins/figma/skills/code-connect-components/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
interface:
display_name: "Code Connect Components"
short_description: "Map Figma components to code components"
icon_small: "../../../assets/figma-small.svg"
icon_large: "../../../assets/figma.svg"
default_prompt: "Use the Figma MCP server to find Code Connect mappings for a Figma selection and relate them to this codebase."

dependencies:
tools:
- type: "mcp"
value: "figma"
description: "Figma MCP server"
transport: "streamable_http"
url: "https://mcp.figma.com/mcp"
4 changes: 0 additions & 4 deletions plugins/figma/skills/create-design-system-rules/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ This skill helps you generate custom design system rules tailored to your projec

| Agent | Rule File |
|-------|-----------|
| Claude Code | `CLAUDE.md` |
| Codex CLI | `AGENTS.md` |
| Cursor | `.cursor/rules/figma-design-system.mdc` |

## What Are Design System Rules?

Expand Down Expand Up @@ -175,9 +173,7 @@ Detect which AI coding agent the user is working with and save the generated rul

| Agent | Rule File | Notes |
|-------|-----------|-------|
| Claude Code | `CLAUDE.md` in project root | Markdown format. Can also use `.claude/rules/figma-design-system.md` for modular organization. |
| Codex CLI | `AGENTS.md` in project root | Markdown format. Append as a new section if file already exists. 32 KiB combined size limit. |
| Cursor | `.cursor/rules/figma-design-system.mdc` | Markdown with YAML frontmatter (`description`, `globs`, `alwaysApply`). |

If unsure which agent the user is working with, check for existing rule files in the project or ask the user.

Expand Down
14 changes: 14 additions & 0 deletions plugins/figma/skills/create-design-system-rules/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
interface:
display_name: "Create Design System Rules"
short_description: "Generate project-specific Figma-to-code rules"
icon_small: "../../../assets/figma-small.svg"
icon_large: "../../../assets/figma.svg"
default_prompt: "Use the Figma MCP server to generate design system rules for this codebase based on its existing patterns."

dependencies:
tools:
- type: "mcp"
value: "figma"
description: "Figma MCP server"
transport: "streamable_http"
url: "https://mcp.figma.com/mcp"
14 changes: 14 additions & 0 deletions plugins/figma/skills/implement-design/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
interface:
display_name: "Implement Design"
short_description: "Translate Figma designs into production-ready code"
icon_small: "../../../assets/figma-small.svg"
icon_large: "../../../assets/figma.svg"
default_prompt: "Use the Figma MCP server to implement a design from a Figma URL with high visual fidelity."

dependencies:
tools:
- type: "mcp"
value: "figma"
description: "Figma MCP server"
transport: "streamable_http"
url: "https://mcp.figma.com/mcp"