The skill provides separate workflows for creating and updating shaders, including how to select a shader kind, inspect source files, replace `main.ts`, and maintain metadata. It also sets authoring, error-handling, and completion requirements, including linking to a new Figma Design file.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Load this skill before every create_shader or update_shader call. It covers account-library shader authoring through the Figma MCP server. Reading or applying an existing shader does not require this skill.
Shaders have two kinds:
effect samples and transforms the rendered layer beneath it. Use it for blur, distortion, glow, color grading, pixelation, halftone, or other post-processing.fill generates pixels without an input raster. Use it for gradients, patterns, noise, textures, and procedural backgrounds.Do not silently switch kinds during an update. The kind passed to update_shader must match the existing shader.
planKey. Reuse one supplied by the user; otherwise call whoami. Use the sole eligible plan automatically, or ask the user to choose when several materially different plans are available.create_shader once with a concise name, description, selected kind, and planKey. This creates a starter scaffold, not the requested final shader.get_shader with the returned id, then read every source URI. If the client cannot read MCP resources, call get_shader with includeSource: true instead. This establishes the runtime imports and the scaffold's fixed metadata contract.main.ts for the requested result.update_shader with the returned id, the same kind, files: [{ path: "main.ts", content: "..." }], and a specific commitMessage. Use metadata when changing the name, description, or animation capabilities. Set metadata.isAnimated: true when the source reads time-related frame inputs and metadata.usesMouse: true when it reads frame.mousePosition.Never stop after create_shader: the starter scaffold is only a structural starting point.
list_shaders, then call get_shader. Use its type (effect or fill) as the required update kind.get_shader before editing. If the client cannot read MCP resources, call it with includeSource: true. Treat those files as the current source of truth.update_shader with the complete replacement main.ts in the files array, not a diff or partial fragment. An empty files array is valid only for a metadata-only update.For every update_shader call, check the tool's advertised input schema and include each field below when that field is exposed:
versionDescription: A concise, nonblank, single-line summary of the changes delivered, focused on the user-visible result.versionDetail: One or two nonblank sentences explaining the key implementation detail. Keep the detail proportional to the change, support it with the work performed, and avoid repeating the summary.If either field is absent from the advertised schema, omit that field and continue the update. Always include the required commitMessage. Do not send empty placeholders or claim unperformed work.
main.ts replacement, read Shader source authoring. It contains the required module shape, WebGPU lifecycle, supported parameter schemas, effect/fill alpha rules, and WGSL failure checklist.metadata.isAnimated: true if main.ts reads frame.time, frame.deltaTime, or frame.frame, and set metadata.usesMouse: true if it reads frame.mousePosition. Set the corresponding value to false when removing the last such use. update_shader applies these metadata fields to the fixed features.json manifest even though that file cannot be replaced directly.frame.time for animation so skipped frames do not change the result. It is an absolute millisecond clock; convert it to seconds with Number(frame.time) * 0.001 when useful.update_shader result as success. Record the returned version when present; a successful response may omit it.Report the shader name, kind, and id, plus the returned version when present. Briefly identify the controls or behavior that were added. Construct and include a clickable URL that opens a new Design file with the unpublished shader ready to try, using the exact shader id as try-tool-resource-content-id. Set try-tool-resource-type from the shader kind: gen_effect for an effect and gen_fill for a fill.
https://www.figma.com/file/new?try-tool-resource-content-id=<id>&try-tool-resource-type=<gen_effect|gen_fill>&type=design&mode=design
After presenting the new-file link, ask whether the user wants to open the shader in an existing Figma Design file instead. If yes, reuse a file URL already provided or ask for one, then add the same try-tool-resource-content-id and resolved try-tool-resource-type query parameters to that URL. Never guess the file URL.
Replace the type placeholder with exactly one value; do not include angle brackets or the pipe in the returned URL.
figma/mcp-server-guide
5e47908
whoamicreate_shaderget_shaderupdate_shaderlist_shadershttps://www.figma.comAlso appears in
since Sep 19, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.