large-figma-feature
Skill1 starsChanged 3 months agoMITView on GitHub
Progressively inventory and analyze large Figma sections without loading raw document trees into context. Use for bulky Figma features, multi-screen flows, design-to-code planning, product specifications, UI/API contract audits, or repository gap analysis where a full get_document/get_node response would be excessive.
In this repository25 other files it gives its agents.
- automateSkill
- autopilotSkill
- canvasSkill
- complex-problem-solvingSkill
- cost-estimateSkill
- create-hookSkill
- create-ruleSkill
- create-skillSkill
- create-subagentSkill
- deep-researchSkill
- loopSkill
- migrate-to-skillsSkill
- onboardSkill
- rename-chatSkill
- review-bugbotSkill
- review-securitySkill
- reviewSkill
- sdkSkill
- shellSkill
- split-to-prsSkill
- statuslineSkill
- update-cli-configSkill
- update-cursor-settingsSkill
- xcost-estimateSkill
- youspeak-aws-powerSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Call list_files, then get_metadata.
- Very specific: line 13
Call get_selection. If nothing relevant is selected, use metadata and a shallow design context to identify the target section.
- Very specific: line 14
Call get_design_context with depth: 1.
- Very specific: line 17
Use get_screenshot only for visually ambiguous nodes.
- Very specific: line 24
Never call get_document for a large page or get_node for the whole feature section when a shallow context can enumerate its children.
- Distinctive: line 25
Keep each detailed batch to at most 8 top-level nodes or approximately 30,000 compacted characters.
- Distinctive: line 26
Stop deepening a screen after its user-visible copy, states, actions, and data needs are understood.
- Very specific: line 29
Keep raw responses out of conversation output.
- Distinctive: line 33
Use this precedence unless the user states otherwise:
- Very specific: line 45
Read references/figma-bridge.md when choosing bridge calls, batching, or screenshots.
- Very specific: line 46
Read references/output-schemas.md when producing a feature brief, state model, contract matrix, or gap audit.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Large Figma Feature
Extract a large feature breadth-first, then deepen only where evidence is needed. Preserve node IDs in every artifact so findings remain traceable.
Workflow
- Call
list_files, thenget_metadata. Require an explicitfileKeywhenever multiple files are connected. - Call
get_selection. If nothing relevant is selected, use metadata and a shallow design context to identify the target section; do not fetch the full document tree. - Call
get_design_contextwithdepth: 1. Treat this as the feature inventory. Record top-level node ID, name, type, bounds, and child count. - Classify top-level nodes into entry, configuration, transient state, live state, result, modal, and supporting screen groups. Flag duplicate names and ambiguous variants.
- Fetch individual top-level nodes with
get_node, in small batches. Compact each response before showing it: retain node identity, bounds, meaningful component/layer names, unique visible text, state cues, and interaction clues. Discard repetitive vector geometry and duplicated styles. - Use
get_screenshotonly for visually ambiguous nodes. Prefer targeted screenshots over exporting the entire section. Usesave_screenshotsonly when local image artifacts are an explicit deliverable. - Inspect the repository after the design inventory. Map screens and actions to routes, components, types, APIs, persistence, realtime events, and tests.
- Reconcile Figma, user-provided notes, existing behavior, and code. Never silently choose between conflicting sources; report the conflict and its implementation consequence.
- Produce only the requested artifact. Use the schemas in
references/output-schemas.mdfor comprehensive analysis.
Context limits
- Never call
get_documentfor a large page orget_nodefor the whole feature section when a shallow context can enumerate its children. - Keep each detailed batch to at most 8 top-level nodes or approximately 30,000 compacted characters.
- Stop deepening a screen after its user-visible copy, states, actions, and data needs are understood.
- Deduplicate text while preserving first-seen order. Normalize whitespace but do not rewrite product copy.
- Summarize colors, typography, and spacing as tokens/patterns; do not repeat identical style objects per child.
- Keep raw responses out of conversation output. If a raw response must be processed outside the tool call, pass it through
scripts/compact_figma_tree.py.
Evidence hierarchy
Use this precedence unless the user states otherwise:
- Explicit user decisions
- Approved meeting/product notes
- Current Figma behavior and copy
- Existing production contracts
- Current implementation details
Distinguish confirmed requirements, reasonable inferences, and unresolved decisions.
References
- Read
references/figma-bridge.mdwhen choosing bridge calls, batching, or screenshots. - Read
references/output-schemas.mdwhen producing a feature brief, state model, contract matrix, or gap audit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

