- Move pkg/prompts/lib → pkg/lib (prompt, task, flow, persona, workspace) - New lib.go: unified package with ExtractWorkspace() using text/template - Workspace templates: default, security, review — .tmpl files with data injection - prep.go: uses lib.ExtractWorkspace() + detect helpers for language/build/test - prompts.go: thin re-export wrapper for backwards compat 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