DevelopmentAIPrompts
AI Prompt Templates
Copy-paste templates for maintainers. Direct Implementation Mode is the
Copy-paste templates for maintainers. Direct Implementation Mode is the default. Use these templates only when you explicitly want opt-in governance, verification, or docs sync behavior.
Triage
Please follow AGENTS.md and enter Opt-in Slicing Mode triage first.
Do not modify files yet.
Classify this task as S/M/L/XL, estimate scope and risk, and recommend whether it needs RFC, task splitting, or direct patch.
Task:
{describe task}RFC only
Please follow AGENTS.md and enter Opt-in Slicing Mode.
Write an RFC only.
Do not implement code.
Create docs/development/rfcs/NNNN-short-topic.md from docs/development/rfcs/0000-template.md.
Include goals, non-goals, current architecture, proposal, alternatives, risks, task breakdown, and acceptance criteria.
Topic:
{describe topic}Plan only
Please follow AGENTS.md and enter Opt-in Slicing Mode Plan Mode.
Do not modify code.
Based on the accepted RFC or task below, split the work into small PR-sized slices.
Each slice must include goal, allowed files, forbidden changes, validation command, rollback plan, and next slice.
Task/RFC:
{describe or link to docs/development/rfcs/NNNN-....md}Patch (single slice)
Please follow AGENTS.md and enter Opt-in Slicing Mode Patch Mode.
Only implement Slice {N}.
Do not expand scope.
Max changed files: 8. Max packages: 2.
If more files are required, stop and report scope expansion.
Slice:
{paste slice definition}Verify
Please follow AGENTS.md and enter Verify Mode.
Do not add new features.
Run relevant checks (pnpm typecheck, pnpm lint, pnpm arch:check, pnpm check:cjk as applicable).
Fix blocking errors only. Report acceptance criteria status.
Feature/Slice:
{describe}Docs sync
Please follow AGENTS.md and enter Docs Sync Mode.
Only update documentation directly related to the implemented change.
Do not rewrite unrelated docs.
If an RFC exists, add Implementation Notes.
Run pnpm docs:sync when the docs site should update.
Implemented change:
{describe}Emergency cost brake
Stop current expansion.
Do not modify more files.
Summarize what has been changed, what remains, why the scope expanded, and propose the smallest safe next step.