Figma use_figma Plugin API Rules
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TheSoftwareHouse/copilot-collections tsh-implementing-frontend --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/tsh-implementing-frontend .claude/skills/tsh-implementing-frontend && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tsh-implementing-frontend" agent skill from https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontend into .claude/skills/tsh-implementing-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsh-implementing-frontend", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontendType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TheSoftwareHouse/copilot-collections tsh-implementing-frontend --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/tsh-implementing-frontend .agents/skills/tsh-implementing-frontend && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tsh-implementing-frontend" agent skill from https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontend into .agents/skills/tsh-implementing-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsh-implementing-frontend", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TheSoftwareHouse/copilot-collections tsh-implementing-frontend --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/tsh-implementing-frontend .cursor/skills/tsh-implementing-frontend && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tsh-implementing-frontend" agent skill from https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontend into .cursor/skills/tsh-implementing-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsh-implementing-frontend", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TheSoftwareHouse/copilot-collections.git --path .github/skills/tsh-implementing-frontend--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TheSoftwareHouse/copilot-collections tsh-implementing-frontend --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/tsh-implementing-frontend .gemini/skills/tsh-implementing-frontend && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tsh-implementing-frontend" agent skill from https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontend into .gemini/skills/tsh-implementing-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsh-implementing-frontend", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TheSoftwareHouse/copilot-collections tsh-implementing-frontendInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/tsh-implementing-frontend .github/skills/tsh-implementing-frontend && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tsh-implementing-frontend" agent skill from https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontend into .github/skills/tsh-implementing-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsh-implementing-frontend", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TheSoftwareHouse/copilot-collections tsh-implementing-frontend --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/tsh-implementing-frontend .opencode/skills/tsh-implementing-frontend && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tsh-implementing-frontend" agent skill from https://github.com/TheSoftwareHouse/copilot-collections/tree/main/.github/skills/tsh-implementing-frontend into .opencode/skills/tsh-implementing-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsh-implementing-frontend", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tsh-implementing-frontendFrontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.
Tsh Implementing Frontend is an agent skill from TheSoftwareHouse/copilot-collections. Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow. Use when implementing UI components, translating Figma designs into code, managing component state, or integrating with a design system.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/react-patterns.md`).
It sits in Frontend & Design, covering Design systems, Design tokens and Design to code. It works with Figma. The repository describes itself as: Opinionated AI-enabled workflows for product engineering. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2fbe51e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tsh Implementing Frontend loads about 2.6k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 1,091 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TheSoftwareHouse/copilot-collections at commit 2fbe51e, republished under its MIT licence (© TheSoftwareHouse). 1,091 words, ~2,633 tokens.
.claude/skills/tsh-implementing-frontend/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Provides patterns for building reusable, composable frontend components with design system integration and a structured Figma-to-code workflow.
<principles>
<declarative-over-imperative>
Define what the UI should look like based on state, not how to manipulate the DOM. Describe the desired outcome through components and state declarations. Let the framework handle reconciliation and updates. Compose complex UIs from simple, predictable building blocks rather than writing step-by-step mutation sequences.
</declarative-over-imperative>
<composition-over-complexity>
Build complex UIs by composing small, focused components rather than creating monolithic ones. Each component should have a single clear responsibility. Prefer children, slots, and compound component patterns over deep prop trees.
</composition-over-complexity>
<design-system-first>
Always use design tokens (colors, spacing, typography) from the project's design system. Never hardcode visual values. Map Figma specs to existing tokens. If no exact token match exists, find the closest and document the deviation — do not invent tokens without approval.
</design-system-first>
<never-guess>
If design context, tokens, or specifications are missing or unclear, stop and ask the user. Do not proceed with assumptions about visual implementation. Missing information produces wrong UI — asking produces correct UI.
</never-guess>
</principles>
Use the checklist below and track progress:
Progress:
- [ ] Step 0: Fetch and review Figma design (Figma-backed tasks only)
- [ ] Step 1: Gather design context
- [ ] Step 2: Plan component structure
- [ ] Step 3: Implement components
- [ ] Step 4: Organize modules
- [ ] Step 5: Verify implementationStep 0: Fetch and review Figma design (Figma-backed tasks only)
figma MCP, and extract the relevant specs: layout, spacing, typography, colors, dimensions, variants, and states.figma MCP cannot export the design, stop and ask the user through the calling agent's vscode/askQuestions. Do not implement from assumptions.Step 1: Gather design context
figma MCP to identify components, spacing, typography, colors, and interaction states.#3B82F6, 16px).Step 2: Plan component structure
Step 3: Implement components
Follow these patterns for every component:
any. Co-locate types in ComponentName.types.ts.export { ComponentName } — no default exports. This ensures consistent imports and simplifies refactoring.Step 4: Organize modules
Apply barrel file rules from the Barrel File Guidelines table below:
index.ts barrel files at public API boundaries — folders whose exports are consumed by other modules.export { Button } from './Button'.Step 5: Verify implementation
tsh-ui-reviewer automatically during /tsh-implement), defer to that workflow — do not duplicate verification here.ui-verifying skill directly to compare the implementation against the Figma design.| State type | When to use | Example |
|---|---|---|
| Local state | UI-only, single component | Modal open/close, input value |
| Lifted state | Shared between 2-3 siblings | Filter applied to a sibling list |
| Context / DI | Deeply nested consumption | Theme, locale, auth status |
| Global store | Complex cross-cutting state | Multi-step form wizard, shopping cart |
| Server cache | Remote data with caching | API responses, paginated lists |
| Rule | Description |
|---|---|
| Create barrel when | Folder exports are consumed by OTHER modules (public API boundary) |
| Avoid barrel when | Internal utils serving a single parent component — import directly |
| Re-export style | Named re-exports only: export { Button } from './Button' |
| Never wildcard | Avoid export * from — breaks tree shaking, hides API surface |
| Keep flat | One level deep — no barrel importing another barrel |
| Test with build | Verify barrel doesn't pull unused code into bundle |
Component:
- [ ] Single responsibility — one clear purpose
- [ ] Typed props — explicit types, sensible defaults
- [ ] Named export — no default exports
- [ ] Design tokens — no hardcoded visual values
- [ ] Error state — handles failure gracefully
- [ ] Loading state — shows progress indicator
- [ ] Empty state — meaningful message when no data
- [ ] Composition — uses children/slots, not prop sprawl| Anti-Pattern | Instead Do |
|---|---|
Hardcoded colors/spacing (#3B82F6, 16px) | Use design tokens (var(--color-primary-500), theme.spacing(2)) |
| Monolithic component (300+ lines) | Split into composed sub-components |
| Props drilling through 4+ levels | Use context or composition pattern |
| Duplicating existing component | Extend existing with variants |
| Inline styles for theming | Use design system's styling approach |
export default | Named exports for consistency and refactoring |
any type for props | Explicit type definitions |
| Barrel file for internal utils | Direct imports for single-consumer folders |
The patterns above are framework-agnostic. For framework-specific implementation guidance, load the appropriate reference:
./references/react-patterns.md — hooks, JSX composition, error boundaries, memoization patterns.tsh-ui-verifying - for verifying implementation against Figma designstsh-technical-context-discovering - for understanding project conventions before implementingtsh-ensuring-accessibility — to ensure components meet WCAG 2.1 AA standardstsh-optimizing-frontend — for performance considerations during component implementationtsh-implementing-forms — for form-specific component patterns and validationtsh-writing-hooks — for custom hook patterns used within componentstsh-reviewing-frontend — for frontend-specific code review of implemented components© TheSoftwareHouse, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .github/skills/tsh-implementing-frontend of TheSoftwareHouse/copilot-collections.
Open the folder on GitHubat commit 2fbe51e
Tsh Implementing Frontend next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tsh Implementing Frontend this skillTheSoftwareHouse/copilot-collections | 284 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Figma use_figma Plugin API Ruleswarpdotdev/warp | 65k | 4 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Figma Screen Generatorwarpdotdev/warp | 65k | 2 repos | ~5k | Automated safety check: Pass | AGPL-3.0 | |
| AnyDesignuxKero/anydesign | 216 | — | ~1.5k | Automated safety check: Pass | MIT | |
| AnyDesign Design Analyzeravelikiy/great_cto | 103 | 1 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Figma Design Inspectorasgeirtj/system_prompts_leaks | 69k | — | ~936 | Automated safety check: Pass | CC0-1.0 |
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
warpdotdev/warp
Builds or updates full Figma screens from code or a description by reusing the file's published design system components, variables and styles.
uxKero/anydesign
Extracts the design of a screenshot, website URL or Figma file into a design.md of tokens, components, layout and brand rules, or copies one element into element.md.
avelikiy/great_cto
Analyzes a screenshot, website or Figma file and writes a `design.md` with its token system, component inventory and reconstruction notes, or an `element.md` for one element.
asgeirtj/system_prompts_leaks
Inspects Figma designs through the figma CLI and Figma's MCP server to read variants, spacing, tokens and layouts and to extract assets for implementation.
jeremylongshore/tons-of-skills-marketplace
Extract design tokens, colors, typography, and spacing from Figma files via REST API.
TheSoftwareHouse/copilot-collections
Create new skills (SKILL.md) for GitHub Copilot. An agent skill from TheSoftwareHouse/copilot-collections.
TheSoftwareHouse/copilot-collections
Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices.
TheSoftwareHouse/copilot-collections
Frontend rendering optimization, code splitting, memoization strategies, bundle size control, asset optimization, and memory management.
TheSoftwareHouse/copilot-collections
Frontend-specific code review criteria, component anti-patterns, hooks quality, rendering correctness, accessibility and performance spot-checks, and module organization issues.
TheSoftwareHouse/copilot-collections
Custom hook and composable patterns — naming, composition, stable return shapes, lifecycle cleanup, and testing strategies.
TheSoftwareHouse/copilot-collections
Creates custom instruction files (.instructions.md) for GitHub Copilot in VS Code.
Works with
Categories
Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow. Tsh Implementing Frontend is an agent skill from TheSoftwareHouse/copilot-collections. Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.
Tsh Implementing Frontend fits situations like: implementing UI components; translating Figma designs into code; managing component state; integrating with a design system.
Run `npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a claude-code`. Or copy the skill folder (.github/skills/tsh-implementing-frontend in TheSoftwareHouse/copilot-collections) into .claude/skills/tsh-implementing-frontend in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a codex`. Or copy the skill folder (.github/skills/tsh-implementing-frontend in TheSoftwareHouse/copilot-collections) into .agents/skills/tsh-implementing-frontend in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TheSoftwareHouse/copilot-collections --skill tsh-implementing-frontend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tsh-implementing-frontend, .gemini/skills/tsh-implementing-frontend, .github/skills/tsh-implementing-frontend and .opencode/skills/tsh-implementing-frontend in your project.
SKILL.md names no scripts, command-line tools or credentials: Tsh Implementing Frontend is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tsh Implementing Frontend is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Tsh Implementing Frontend: Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), Figma Screen Generator (warpdotdev/warp, 65k stars), AnyDesign (uxKero/anydesign, 216 stars) and AnyDesign Design Analyzer (avelikiy/great_cto, 103 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TheSoftwareHouse (a GitHub organization) maintains it in TheSoftwareHouse/copilot-collections, which has 284 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 5, 2026.
Source: TheSoftwareHouse/copilot-collections on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.