agent/pkg/prompts/lib/tasks
Snider 433deb1c30 refactor: split templates/ into prompts/, tasks/, flows/
Three distinct concepts in lib/:
  prompts/  — System prompts (PROMPT.md, HOW to work)
  tasks/    — Structured task plans (PLAN.md, WHAT to do)
  flows/    — Multi-phase workflows (orchestration)
  personas/ — Domain/role system prompts (WHO you are)

API updated:
  prompts.Prompt("coding")     — system prompt
  prompts.Task("bug-fix")      — task plan
  prompts.Flow("prod-push-polish") — workflow
  prompts.Template()           — backwards compat (searches both)

templates/ dir reserved for future output templates
(CodeRabbit report formatting, CLI output parsing, etc.)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 22:26:46 +00:00
..
api-consistency.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
bug-fix.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
code-review.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
dead-code.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
dependency-audit.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
doc-sync.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
feature-port.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
new-feature.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
refactor.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00
test-gaps.yaml refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00