Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/timzaak/web-dev-skills/t-figma-implnpx skills add timzaak/web-dev-skills --skill t-figma-implgit clone --depth 1 https://github.com/timzaak/web-dev-skillsWrote 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.
[](https://agentmods.dev/skills/timzaak/web-dev-skills/t-figma-impl)<a href="https://agentmods.dev/skills/timzaak/web-dev-skills/t-figma-impl"><img src="https://agentmods.dev/badge/skills/timzaak/web-dev-skills/t-figma-impl.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.00807 |
| Opus 5 | $0.00015 | $0.00404 |
| Sonnet 5 | $0.00006 | $0.00161 |
| Haiku 4.5 | $0.00003 | $0.00081 |
Grade A, and why
t-figma-impl 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 today.
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.
What it actually says
Figma 整页实现
运行时边界:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md(判断产物写入位置或项目事实与插件默认冲突时读)
共享契约:${CLAUDE_PLUGIN_ROOT}/protocols/figma-workflow-contract.md(写 context/spec、判读 delta 分级或晋升长期规则前读)
二次重建:${CLAUDE_PLUGIN_ROOT}/guides/figma/reconstruction.md(写 spec revision 1 或修订 MCP 结构前读)
验收方法:${CLAUDE_PLUGIN_ROOT}/guides/figma/measurement.md(生成探针、委派 accept 或判读 delta 报告前读)
负责完整 UI 稿的结构重建、代码实现和有界验收;不重新承担素材下载和转换。
前置和上下文
校验 URL 与 target-file,通过 ${CLAUDE_PLUGIN_ROOT}/scripts/figma-session.py resolve 找 active session,并按共享契约的 Session Resolve 表执行。impl 只复用 fileKey/mainNodeId 与主稿 URL 一致且 assets 阶段已完成的 session;missing 或 mismatch 时停止并提示先运行 t-figma-assets 或回到匹配主稿,不得自行归档或创建 session。assets-manifest.json 不存在则停止;空数组合法。
读取项目约束、目标文件及邻近模块、现有 token/组件/动效/响应式模式、docs/figma-rules.md、session candidates 和 assets manifest,生成固定章节的 context.md。栈、dev server、Playwright 目录或资产引用方式无法确定时停止询问。
二次重建与实现
- 对照 source metadata、design context、baseline screenshot 和已有代码识别视觉块、stacking、裁切、绝对定位、合成素材及 viewport。
- 写可修正
spec.jsonrevision 1;MCP 结构不准确的修正必须带 reason/evidence。每个可测语义元素生成唯一data-figmaprobe。 - 按 subagent dispatch 契约注入并委派
figma-impl。agent 只引用 manifest,复用 context 的组件/token/动效,并执行目标栈验证。 - 启动或确认 context 声明的 dev server,注入并委派只读
figma-accept。有阻塞 delta 且未到 5 轮时,把结构化失败交回 impl;若视觉证据证明 spec 分组错误,先增加 revision 再修实现。 - 收敛后晋升符合契约的规则候选,合并改写
docs/figma-rules.md,最多 10 条;否则候选留在 session。
结束状态
- 全部门禁通过:stage=
accepted,报告CONVERGED。 - 达 5 轮:stage 保持
implemented,报告EXHAUSTED。 - 验证或必要探测失败:不进入 accept,不宣称完成。
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.
- today Changed ee57a7a5346f
- 5d ago First seen · 47 lines · 29 tokens per session scan A 6c1d9e76f9f6
t-figma-impl is a skill published in the GitHub repository timzaak/web-dev-skills (69 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 807 once invoked, about $0.0001 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-08-30.
Other skills, from other repositories
chinese-git-workflow
国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.
chinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.
chinese-documentation
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.
chinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。.
systematic-debugging
Skill "systematic-debugging" from jnMetaCode/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.
dispatching-parallel-agents
当面对 2 个以上可以独立进行、无共享状态或顺序依赖的任务时使用.