PrizmKit Implement
Execute implementation by following the task breakdown in tasks.md. Respects task ordering, dependency constraints, and applies a TDD approach where applicable. Marks each task complete as it finishes.
Commands
prizmkit.implement
Implement the feature by executing tasks from tasks.md.
PRECONDITION: tasks.md exists in .prizmkit/specs/###-feature-name/ with unchecked tasks
STEPS:
- Read
tasks.md,plan.md,spec.mdfor full context - Read relevant
.prizm-docs/L1/L2 for affected modules (check TRAPS and DECISIONS sections) - Check if checkpoint tasks are complete before proceeding to next phase
- For each unchecked task in order:
a. If task has
[P]marker and previous parallel tasks are running, can proceed in parallel b. Read L2 doc for target file's module (if exists) c. Implement following TDD: write test first if applicable d. Mark task as[x]intasks.mde. If error occurs: for sequential tasks, stop and report; for parallel tasks, continue others - At each checkpoint: verify build passes and tests pass
- After all tasks: run full test suite
- Output: implementation summary with pass/fail status
KEY RULES:
- NEVER skip a checkpoint — build and tests MUST pass before proceeding to next phase
- Sequential tasks MUST execute in order — stop on failure
- Parallel tasks (
[P]marker) MAY continue if one fails, but report all failures - TDD approach: write test first, then implement, then verify test passes
- Read
.prizm-docs/TRAPS section before implementing to avoid known pitfalls - Mark each task
[x]intasks.mdimmediately upon completion (not batched)
HANDOFF: prizmkit.code-review
Output
- Code files created/modified as specified in tasks.md
tasks.mdupdated with completion markers[x]- Implementation summary output to conversation
微信扫一扫