Design in Figma

SkillMedia

Lets your agent create and edit native Figma designs like screens, flows, and components using this Figma Claude skill.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Design in Figma skill

About this skill

Create or update native, editable Figma designs with TemPad Dev MCP: screens, flows, components, and requested local design-system resources, including on an empty canvas. Use for Design in Figma work, not Figma-to-code, critique without edits, or raw Plugin API automation.

What this skill tells your AI

The instructions your AI receives, as published by ecomfe/tempad-dev in agent-plugin/src/skills/figma-canvas-authoring/SKILL.md and read by ahel’s review.

Deliver the smallest complete native Figma result that serves the user's situation. Keep the working experience in view as you research, compose, and repair. A successful tool call establishes a document change; the rendered result and its editable structure establish whether that change served the task.

Establish the task

Use the user's exact target and constraints. For an existing design, inspect get_code and its pixels before changing the composition; use get_structure for hierarchy, geometry, stable keys, or selected native facts. Write to a known page directly. Create or activate a page only when the task calls for it. Infer low-consequence gaps; ask when a missing decision would materially change the result. Keep unrelated account, filesystem, task, and page metadata out of product identity and content.

Require an editable Figma Design file and the intended tab's active MCP connection. Use the host's TemPad MCP tools for all canvas reads and writes. If unavailable, report the integration problem and stop. Do not launch the CLI, recreate its transport, use browser automation to set up the canvas, or emit raw Plugin API operations. Research and asset acquisition use the host's appropriate tools; website research uses the in-app browser when available unless the user selected another browser.

For new design work, call manage_design_task with action: "begin" before research or canvas work with a short task title and a fresh UUID requestId; reuse that UUID only to retry the same begin. Carry the returned taskId on related TemPad tool calls. The runtime handles status and placement feedback: do not report progress, send heartbeats, or choose coordinates for a placeholder. Use list_design_sessions when the intended Figma target is unclear, then pass its exact sessionId when beginning. Pausing a turn preserves the design task. Follow-up comments continue the same task, including after a completed pass while its review remains open. After completion, pause, or lease expiry, use action: "resume" with its latest epoch, carry the returned epoch as taskEpoch, and reread the affected canvas with get_structure or get_code before writing. Use get_design_task only when recovery needs the current state or epoch. Never replay a stale write. Stop in TemPad Dev permanently cancels the current task after any running operation settles. Never resume that cancelled task or automatically replace it. If further design work is necessary or the user requests it, explicitly use action: "begin" with a fresh requestId. No separate Figma unlock or new user turn is required. Done closes the review; a closed or replaced task cannot resume. Do not automatically begin a replacement for comments on such a task. Element feedback arrives as a numbered batch. Each item retains its file, page, and node identity from draft creation. Reread every target before applying the batch; do not substitute the current selection. Supported hosts receive submitted feedback through native conversation messages. Do not poll for it or set up a helper process or host control endpoint.

Begin without waiting to choose a canvas location. Once an existing design region is known, use set_design_anchor with its exact Frame node ID and taskId. Otherwise the first created top-level Frame anchors automatically. The region stays stable across reads and writes; call this tool again only to explicitly change design regions.

Ground and compose

For net-new or materially redesigned interfaces without an established system, read style-grounding.md and inspect relevant real product screens or a permitted implementation before the first Canvas write. The evidence must expose the interface relationships informing the new work. Search snippets, URLs, failed retrievals, and generated concepts do not establish a precedent. Subject imagery establishes its depicted content, not its surrounding application's design. Try another permitted source when retrieval fails; if none is inspectable, disclose the gap and stop. Supplied source pixels or implementation can satisfy this boundary; mechanical edits do not require unrelated research.

Resolve what the person needs to recognize or change, which content and states carry that work, and how the interface makes their consequences perceptible. Choose the screen or flow, visual language, density, and scrolling model from that situation. Use visual-composition.md when forming or reconsidering a composition. Familiar structures and distinctive ones both need a reason in the task. Research informs an independent solution; it does not authorize copying a composition or placing reference pixels on the canvas unless the user requested that treatment.

When selecting or changing fonts, or when script coverage is uncertain, read typefaces.md to resolve candidates and native identities.

Choose representations by their role in the work. Once an image, icon, diagram, or visualization matters to the direction, read visual-assets.md and its selected branch. Do not silently replace the chosen content or medium to simplify sourcing or markup. For content-bearing graphics, preserve meaningful marks and editable relationships with native shapes, vectors, text, and groups; styled FRAME lookalikes do not acquire drawing semantics. Read document-geometry.md for that construction. Ordinary UI panels, controls, backgrounds, and separators remain Canvas HTML.

Choose resources from the task, not repetition alone:

  • Direct: default for a first net-new composition. Use primitives, literals, and assets. Do not discover or create a design system just because shapes or values repeat.
  • Reuse: use design-system-reuse.md when the user, selected source, or project evidence establishes the applicable system. Catalog names, domain similarity, or mere file presence do not prove relevance.
  • Author: use design-system-authoring.md when reusable resources are requested or established as part of the deliverable. Prove the composition and one real consumer before propagation.

For selected variables and typography styles, read resource-mapping.md: define or discover their identities once, then use variable utilities and text-style classes throughout the markup.

Build, inspect, and repair

For markup create or structural update, read canvas-html.md and check its preflight before the call. Canvas HTML is a strict native-state dialect; browser CSS assumptions do not apply. Page-only and native-only operations omit markup. Load native mechanics only for the capabilities selected below.

Build a materially complete representative screen, then open its PNG before expanding the flow or extracting resources. Judge whether the whole supports the intended work. When it does not, focus on the particular relationship or execution defect that explains the mismatch and repair it. A skeleton, resource board, or generated concept does not establish the real composition.

For updates, read editing.md. Preserve the requested source, unrelated fields, and stable identities while updating every dependent representation of the changed state. For larger results, split at meaningful screen or section boundaries and carry shared roles coherently across them.

Inspect every apply_canvas result, including warnings. Repair each observed unintended defect or disclose why it remains. A local validation failure calls for a local payload correction; it does not justify discarding a working root or simplifying away the intended content. Open pixels again after the final material write, covering every materially distinct screen. Verify native facts with get_structure when identity, placement, editability, or representation matters. Opened pixels prove visual access, not good judgment; a structural pass proves only the conditions checked.

Finish when the requested experience is coherent and observed defects are repaired, accepted with reason, or disclosed. Report the delivered result and material limitations, with a Figma link to the delivered nodes. A verified Direct result is complete without an unsolicited component pass.

Call manage_design_task with action: "complete", taskId, and the current epoch after the design outcome and its final verification are complete. An optional short summary records the applied result in task history. Use action: "cancel" with taskId and the current epoch only when abandoning the design. Waiting for user input or stopping a turn is a pause, not completion or cancellation. Host lifecycle hooks handle pauses when available; do not create progress or heartbeat calls.

Native mechanics — load when selected

Read the selected reference completely; do not preload the capability catalog. Examples demonstrate syntax, not a design template.

CapabilityReference
Exact updates, removal, or editor contextediting.md
Pages, sections, groups, Booleans, masks, transforms, shapes, vectorsdocument-geometry.md
Paints, media, effects, shaders, grids, guidespaints-effects.md
Exact fonts, rich text, range styles, lists, hyperlinksrich-text.md
Components, variants, properties, Slotscomponent-authoring.md
Variables, collections, modes, bindingsvariables.md
CSS variable utilities and named text-style classesresource-mapping.md
Paint, Text, Effect, Grid styleslocal-styles.md
Authorized independent research, assets, inventory, or QA delegationdelegation.md

Mutation boundaries

Use returned IDs and stable keys as identity, never names. Create describes a new complete root or exact new page. Update targets an exact node or page; omissions preserve live state. activate always requires page.id or page.pageKey, even when only changing selection.

Never mutate outside scope, remove manual or unkeyed content, or remove a component with surviving instances. An instance's definition-derived sublayers are not authoring targets. Do not mutate remote resources, publish, detach or reset instances, execute arbitrary JavaScript, or imitate an unresolved resource. Use null only for supported links or managed resources the requested change actually removes.

Signals

GitHub stars
506
Forks
40
Last commit
Sep 2026

ahel review

  • S4info
    community integration, published by ecomfe, not figma

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
figma-canvas-authoring
Source
github.com/ecomfe/tempad-dev