pencil-sync-after-prototype-workflow
在本项目新建或重构 `src/prototypes/*`、`src/components/*` 时,执行“先按既有流程完成原型,再 1:1 创建 Pencil 文件,并强制后续同步”的编排约束;当需要为已完成原型补齐 Pencil 设计稿或维护代码与设计双向同步时使用。
Skill by fern-ok
Chalk Labs
Need help deploying pencil-sync-after-prototype-workflow?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fern-ok-pencil-sync-after-prototype-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
pencil-sync-after-prototype-workflow- Description
- 在本项目新建或重构 `src/prototypes/*`、`src/components/*` 时,执行“先按既有流程完成原型,再 1:1 创建 Pencil 文件,并强制后续同步”的编排约束;当需要为已完成原型补齐 Pencil 设计稿或维护代码与设计双向同步时使用。
- License
- Apache-2.0
- Instructions
- 61 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 原型后置 Pencil 同步 本技能只补充顺序约束,不重复已有细节规范。 ## MCP 前置检查(必须) 在执行任何生成 `.pen` / 截图验收相关工作前: 1. 先尝试调用任意 Pencil MCP 工具(例如 `get_editor_state` / `open_document` / `get_screenshot`)。 2. 若 MCP 工具不可用或调用失败:立刻停止后续步骤,并告知用户需要先开启/安装本项目 MCP 环境(至少要能调用 Pencil MCP),否则无法继续生成设计稿。 ## 触发条件 - 新建 `prototype/component` - 原型已按既有流程完成,需要补齐对应 Pencil 设计稿 - 既有页面结构重做,必须同步更新代码与 Pencil ## 流程 + 检查(合并) 1. 准备目标路径 - 目标目录:`src/prototypes/<name>/` 或 `src/components/<name>/` - `<name>` 使用小写字母、数字、连字符 2. 先按既有流程完成原型 - 先按现有规则完成 `spec.md` - 再完成 `index.tsx` - 运行验收命令,确保当前原型已可交付 3. 再完成 `.pen`(阻塞步骤) - 在目标目录生成 `<name>.pen` - 以当前已完成的 `spec.md` + `index.tsx` 为唯一基线,1:1 回建 Pencil 文件 - 结构、尺寸、区块层级、文案、主要交互命名必须与现有原型一致 - 若 `.pen` 与 `spec.md` / `index.tsx` 不一致,先修正差异再继续 4. 回写 `spec.md` - 补充 Pencil 信息:`.pen` 路径、主画板、模块映射 - 明确记录该目录进入“代码/Pencil 双向同步”维护状态 5. 在 `index.tsx` 顶部补充同步注释 - 文件顶部必须增加注释,明确说明:更新当前原型时,必须同步更新同目录的 `.pen` 与 `spec.md` - 注释需包含具体文件名 `<name>.pen`,避免后续维护遗漏 6. 后续更新约束 - 以后任何对 `spec.md`、`.pen`、`index.tsx` 的修改,都必须三者同步 - 若只改了代码未改 Pencil,不视为完成交付 ## 验收命令 ```bash node scripts/check-app-ready.mjs /prototypes/<name> node scripts/check-app-ready.mjs /components/<name> ``` ## 交付定义 - 必须同时存在并同步:`spec.md`、`.pen`、`index.tsx` - `index.tsx` 顶部必须存在 Pencil 同步注释 - `check-app-ready.mjs` 结果为 `READY` - 交付时返回三个文件路径
From fern-ok/prototype-demo, Apache-2.0.
More from fern-ok/prototype-demo
- 0.479score
extract-axure-data
fern-ok
Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.
SkillCFreshness: CClaude Code +9 - 0.476score
generate-theme
fern-ok
从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含 DESIGN.md(Google…
SkillCFreshness: CClaude Code +9 - 0.471score
axure-prototype-workflow
fern-ok
使用 skills/ 中的 extract-axure-data 等技能提取 Axure 原型资产、生成主题/数据/文档、还原页面与生成业务文档的流程规范;当用户提供 Axure 原型链接或提出资产提取、原型还原、主题/数据模型/文档生成、交互引导需求时使用。
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 22, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/fern-ok/prototype-demo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.429score
pencil-sync-after-prototype-workflow
liuqiao666
在本项目新建或重构 `src/prototypes/*`、`src/components/*` 时,执行“先按既有流程完成原型,再 1:1 创建 Pencil 文件,并强制后续同步”的编排约束;当需要为已完成原型补齐 Pencil 设计稿或维护代码与设计双向同步时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.244score
pencil-sync-after-prototype-workflow
tracyping-pm
在本项目新建或重构 `src/prototypes/*`、`src/components/*` 时,执行“先按既有流程完成原型,再 1:1 创建 Pencil 文件,并强制后续同步”的编排约束;当需要为已完成原型补齐 Pencil 设计稿或维护代码与设计双向同步时使用。
SkillDFreshness: DClaude Code +9
More from fern-ok
- 0.479score
extract-axure-data
fern-ok
Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.
SkillCFreshness: CClaude Code +9 - 0.476score
generate-theme
fern-ok
从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含 DESIGN.md(Google…
SkillCFreshness: CClaude Code +9 - 0.471score
axure-prototype-workflow
fern-ok
使用 skills/ 中的 extract-axure-data 等技能提取 Axure 原型资产、生成主题/数据/文档、还原页面与生成业务文档的流程规范;当用户提供 Axure 原型链接或提出资产提取、原型还原、主题/数据模型/文档生成、交互引导需求时使用。
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get pencil-sync-after-prototype-workflow running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
pencil-sync-after-prototype-workflow skill. Agent Mart. https://agentmart.dev/skills/fern-ok-pencil-sync-after-prototype-workflow (last updated 2026-10-24)