用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/saffron-health/libretto --skill implement-spec命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | implement-spec |
| description | Implement a single phase of a spec. Use when given a spec file and a phase number to implement. |
Implement the specified phase of the given spec file.
Ultrathink. Follow these steps:
Read the entire spec file. Understand the problem overview, solution overview, goals, and non-goals. Pay close attention to the phase you've been asked to implement.
Read every file listed in the "Important files/docs/websites for implementation" section of the spec. Also read any external documentation links. Do not start writing code until you thoroughly understand the existing codebase and how your changes fit in.
Work through every task item in the phase, including all success criteria (tests, typechecks, lint checks). A phase is not complete until every task item is done, including running any verification steps.
Run pnpm run typecheck, pnpm test, and pnpm run lint after implementation to catch issues.
Check the spec's Goals section. If the phase you just implemented should complete any of those goals, explicitly verify them through integration tests or manual testing of the Electron app using Playwright (see AGENTS.md for Playwright instructions). Do not consider the phase done until achieved goals are verified end-to-end.
Mark all completed task items in the spec as done (- [x]) before presenting to the user.
When you're done, do not stage or commit your changes. Present the completed work to the user for manual review. The user may request changes.
If the user asks for changes, implement them. Iterate until the user is satisfied.
Once the user approves and asks you to commit:
If during implementation you identify work that is not blocking but would be valuable later (big features, refactors, cleanup), propose adding it to a "Future work" section in the spec, placed above the "Important files" section. Confirm with the user before adding.
If the work is blocking (the app is broken without it), it should be done as part of the current spec — either in this phase or added to a subsequent phase.
When the user asks you to hand off to the next phase, include in the handoff summary a note to load the implement-spec skill.
基于 SOC 职业分类