Pattern: task name maps to file + bundle directory
task/code/review.md ← the task definition
task/code/review/ ← additional context files
conventions.md ← checklist
severity.md ← rating guide
plan.yaml ← structured phases
TaskBundle("code/review") returns (main, bundle, err)
where bundle is map[filename]content of everything in review/.
Agent name maps to lib path:
core:agent-task-code-review → lib/task/code/review + review/
Converted code/ tasks from YAML plans to markdown task prompts
with optional bundles. Simplifier gets patterns.md bundle.
Co-Authored-By: Virgil <virgil@lethean.io>
430 B
430 B
Code Simplifier Task
Simplify recently modified code without changing behaviour.
Process
- Run
git diff --name-only origin/main..HEADto find changed files - Read each file, identify simplification opportunities
- Apply changes one file at a time
go build ./...after each change to verify- If build breaks, revert
Rules
- NEVER change public API
- NEVER change behaviour
- NEVER add features or comments