Figma-Context-MCP: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from GLips/Figma-Context-MCP. It costs 0 tokens per session (590 once invoked), scanned A, original, MIT.

A release procedure for Framelink MCP for Figma, the server that gives AI coding tools access to Figma design data. It checks the automated release pull request, summarizes its changes, and asks before merging it.

In plain words
What is it for?
Use it to find a pending release, review the version and changelog, inspect the difference when needed, and merge the approved release using the project's required method.
Why use it?
It reduces the chance of publishing the wrong version or merging a release without reviewing its included changes.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is GLips/Figma-Context-MCP's own configuration. It tells Claude Code how to work on Figma-Context-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 Figma-Context-MCP configures →

About the project

Figma-Context-MCP is a Model Context Protocol server that gives AI coding agents structured information about Figma files, frames, and groups. It is used with Cursor and other supported coding tools to help them implement designs from Figma, and the catalogue entries configure or guide that agent integration.

GLips/Figma-Context-MCP · 16,106 stars · on GitHub · framelink.ai

Reuse

Borrowing it

Nothing to install: this file belongs to GLips/Figma-Context-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/GLips/Figma-Context-MCP/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/GLips/Figma-Context-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 release

README.md
[![agentmods](https://agentmods.dev/badge/commands/glips/figma-context-mcp/release/github.svg)](https://agentmods.dev/commands/glips/figma-context-mcp/release)
Your own site
<a href="https://agentmods.dev/commands/glips/figma-context-mcp/release"><img src="https://agentmods.dev/badge/commands/glips/figma-context-mcp/release/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 release

Your own site · 80×15
<a href="https://agentmods.dev/commands/glips/figma-context-mcp/release"><img src="https://agentmods.dev/badge/commands/glips/figma-context-mcp/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 590 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.00000 $0.00590
Opus 5.5 $0.00000 $0.00236
Sonnet 5.5 $0.00000 $0.00118
Haiku 4.5 $0.00000 $0.00059

Measured 2mo ago against content hash 1357be5e3538, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • release — 100% identical, 0 lines differ
.claude/commands/release.md · 48 lines

How it starts

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

Release

Review and publish a new release.

Steps

  1. Check for a release-please PR: Run gh pr list --repo GLips/Figma-Context-MCP --label "autorelease: pending" --json number,title,url to find the open release PR.

    If no release PR exists, inform the user: "No pending release PR. Release-please creates one automatically when conventional commits (fix:, feat:) land on main."

  2. Show what's in the release: Run gh pr view <number> --json body to display the pending changelog and version bump. Summarize:

    • New version number
    • Number of features, fixes, and other changes
    • List of included commits
  3. Ask for confirmation: Use AskUserQuestion: "Merge this release PR to publish v to npm?"

    • Merge and publish — Proceed with merge
    • Review diff first — Show gh pr diff <number>
    • Cancel — Stop without merging
  4. Merge the release PR: Run gh pr merge <number> --rebase --repo GLips/Figma-Context-MCP (or merge via the GitHub UI).

    Use rebase, not squash. Feature PRs are squash-merged (so each conventional-commit title, with its (#NNN), feeds the changelog), but the release PR is the single chore(main): release X.Y.Z commit release-please authored. Rebase replays it onto main verbatim — bot authorship, clean subject, no (#NNN). Squash would rewrite all three and diverge from every prior release (check git log for chore(main): release commits — they're all single-parent, bot-authored, no PR suffix). Merging through the UI does the same thing.

  5. Verify: Run gh run list --repo GLips/Figma-Context-MCP --limit 1 to confirm the Release workflow triggered. Report the workflow run URL so the user can monitor npm publish.

    The Release workflow also bumps server.json and publishes to npm (OIDC) and the MCP registry — all hands-off. No manual steps beyond merging the PR.

  6. Write the curated release notes: Once the workflow has published the GitHub Release (the tag exists), run /release-notes to replace the mechanical, auto-generated Release body with brand-voice highlights. release-please only produces a terse commit-title list; /release-notes turns it into something worth reading. CHANGELOG.md is left as-is — release-please owns it.

Read the full file on GitHub · 48 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. 2mo ago First seen · 48 lines · 0 tokens per session scan A 1357be5e3538

Subscribe to this mod's changes

release is a command published in the GitHub repository GLips/Figma-Context-MCP (16,106 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 590 tokens. 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-08-30.