Commit 1733f3ce247b

Vincent Demeester <vincent@sbr.pm>
2026-10-23 11:02:01
feat: added atomic task prompt
Enabled a one-confirmation task-brief workflow to reduce implementation turns and linked prompt templates into Pi setup. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3619e53
Changed files (2)
dots
pi
agent
prompts
dots/pi/agent/prompts/task.md
@@ -0,0 +1,21 @@
+---
+description: Turn a rough goal into an atomic task brief, confirm once, then execute
+argument-hint: "<goal>"
+---
+Goal: $@
+
+Before making changes, inspect the repository as needed and write a brief of at
+most 15 lines:
+- Outcome (user story)
+- Sources to read and decisions already fixed
+- Done-when requirements
+- Task-specific guardrails
+- Deliverable
+- Gaps or assumptions marked `?`
+
+Infer what you can from the repository and goal. Ask me exactly once using
+AskUserQuestion to approve the brief or provide edits. If I provide edits,
+apply them to the brief and treat the edited brief as approved; do not ask for
+confirmation again. If I cancel, stop. After approval, execute without routine
+check-ins. Ask again only for a required safety confirmation or a material
+blocker not identified in the brief.
dots/Makefile
@@ -54,7 +54,7 @@ claude-compat : ~/.claude
 # Sessions are special: redirected to ai-sync for syncthing sharing.
 
 all += pi-agent pi-agent-settings pi-agent-auth nono-profiles
-pi-agent : ~/.pi/agent/extensions ~/.pi/agent/agents ~/.pi/agent/README.md ~/.pi/agent/keybindings.json ~/.pi/agent/modes.json ~/.pi/agent/models.json ~/.pi/agent/sessions
+pi-agent : ~/.pi/agent/extensions ~/.pi/agent/agents ~/.pi/agent/prompts ~/.pi/agent/README.md ~/.pi/agent/keybindings.json ~/.pi/agent/modes.json ~/.pi/agent/models.json ~/.pi/agent/sessions
 nono-profiles : ~/.config/nono/profiles/pi-nono-local.json ~/.config/nono/profiles/pi-nono-github-ro.json
 pi-agent-settings : pi-agent
 	@$(dotfiles)/pi/agent/ensure-settings.sh