reqwise-figma-mcp: Skill for Claude Code

.claude/skills/figma-state/SKILL.md

figma-state is a skill for Claude Code from hoangpm96/reqwise-figma-mcp. It costs 49 tokens per session (2,469 once invoked), scanned A, original, MIT.

A Figma state-machine diagram for one record or other entity, showing every allowed status and the changes between them. Each change includes its trigger, required condition, and action.

In plain words
What is it for?
Use it to define the lifecycle of an order, application, account, session, or other single entity before implementing or testing its status logic.
Why use it?
It turns a vague status field such as draft or approved into rules that developers and testers can follow. It exposes invalid transitions and missing end states.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

This is hoangpm96/reqwise-figma-mcp's own configuration. It tells Claude Code how to work on reqwise-figma-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything reqwise-figma-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hoangpm96/reqwise-figma-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hoangpm96/reqwise-figma-mcp/main/.claude/skills/figma-state/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hoangpm96/reqwise-figma-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for figma-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangpm96/reqwise-figma-mcp/figma-state/github.svg)](https://agentmods.dev/skills/hoangpm96/reqwise-figma-mcp/figma-state)
Your own site
<a href="https://agentmods.dev/skills/hoangpm96/reqwise-figma-mcp/figma-state"><img src="https://agentmods.dev/badge/skills/hoangpm96/reqwise-figma-mcp/figma-state/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for figma-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangpm96/reqwise-figma-mcp/figma-state"><img src="https://agentmods.dev/badge/skills/hoangpm96/reqwise-figma-mcp/figma-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.02469
Opus 5 $0.00024 $0.01234
Sonnet 5 $0.00010 $0.00494
Haiku 4.5 $0.00005 $0.00247

Measured 4d ago against content hash 8dbae7e9266e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-22, from the pricing page.

Security

Grade A, and why

figma-state scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/figma-state/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/figma-state — What a record is allowed to be

Read ../reqwise-diagram-rules.md first — connection gate, the four levels of correct, the findings loop, frame placement, verification. This file carries only what is specific to a state machine.

Goal

Turn a status field into a contract. A spec says status: draft | pending | approved | rejected and stops; the questions it never answers are which change is allowed from which, what triggers it, and what has to be true first. That is what a developer needs to write the guard clause and a tester needs to know what to try.

Output: one Figma frame State · <title> for one entity, plus the transition questions the diagram exposed.

Constraints

Hard rules — never violate

  • One entity per diagram. Two lifecycles on one canvas is two diagrams sharing a frame, and every reader loses track of which state belongs to which. Draw the second one separately.
  • Exactly one kind: "initial", and at least one kind: "final" unless the entity genuinely never ends (a session, a switch). The tool reports both.
  • Every transition needs a reason — see the table below. This is the rule the tool checks hardest, and the one specs leave out most often.
  • Use the states the SYSTEM uses. If the DB stores pending_review, the id is pending_review and the label is what a human calls it ("Chờ duyệt"). A diagram whose state names do not match the data is a diagram nobody can implement against.
  • Never invent a transition to connect an orphan. A state nothing can reach is a finding about the spec, not a missing arrow.

Write it in the compact form

text is one line per thing, and the transition line is the UML sentence — which is what keeps event, guard and action three separate things instead of one string with the guard missing.

held   "Seats held"
  entry hold_expires_at = now() + 10 min
  detail booking_seats rows written
paying "Awaiting payment"
  do wait for the payment gateway
paid   "Paid" final ok                  # kind + class on the state line
void   "Released" final err
[*] -> held:   Reserve the seats / insert bookings
held -> paying: Confirm the order [payment method chosen] / insert payments
held -> held:   Change seats            # a self-transition is normal, not odd
paying ~> held: Gateway declined [attempts < 3] !err    # ~> is a way BACK
paying -> paid: Gateway confirmed
paying -> void: [attempts = 3]          # guard only, no event

Read the full file on GitHub · 183 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 183 lines · 49 tokens per session scan A 8dbae7e9266e

Subscribe to this mod's changes

figma-state is a skill published in the GitHub repository hoangpm96/reqwise-figma-mcp (65 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 2,469 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-18.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens