一键导入
implement-spec
Implement a spec from the plans directory
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement a spec from the plans directory
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | implement-spec |
| description | Implement a spec from the plans directory |
You are implementing a specification from the .agents/plans/ directory. Work autonomously until the feature is complete and tests pass.
.agents/plans/ to implement. Ask the user if multiple specs exist or if unclear.Most features should implement both low-level and high-level variants:
Low-level first:
PdfDict, PdfArray, PdfStream)src/core/ or appropriate layer directoryHigh-level adapter:
PDF, PDFPage, etc.)Example structure:
src/
├── core/
│ └── shading.ts # Low-level: PdfStream creation
└── api/
└── page.ts # High-level: page.drawGradient()
#src/* import alias for internal imports*.test.ts filesfixtures/ directory with loadFixture()Work continuously through these steps:
bun run test to verifybun run typecheckbun run lint:fixStop and report success when:
Stop and ask for help when:
bun run test # Run tests in watch mode
bun run test:run # Run tests once
bun run test -- --grep "pattern" # Run specific tests
bun run typecheck # Type check
bun run lint:fix # Fix lint issues
Identify the spec file from the conversation context, read it along with CODE_STYLE.md, then start implementing. Use TodoWrite to track your progress throughout.
Brutally honest code review assessing security, reliability, performance, and taste
Continue implementing a spec from a previous session
Add and commit changes using conventional commits
Generate markdown documentation for a module or feature
Create a new plan file in .agents/plans/
Create a new scratch file in .agents/scratches/