chore(demo): move simplify prompt to prompts/ alongside graphs

Rename `files-internal/prompts/simplify.md` to `prompts/simplify.md`
adjacent to the .fabro files that reference it, and update the
plan-implement and simplify demos plus the plan-implement test fixture
to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-30 08:35:48 -04:00
parent d23e4d5082
commit d92ee47fe3
No known key found for this signature in database
5 changed files with 6 additions and 3 deletions

View file

@ -5,7 +5,7 @@ digraph Simplify {
start [shape=Mdiamond, label="Start"]
exit [shape=Msquare, label="Exit"]
simplify [label="Simplify", prompt="@files-internal/prompts/simplify.md"]
simplify [label="Simplify", prompt="@prompts/simplify.md"]
start -> simplify -> exit
}

View file

@ -8,7 +8,7 @@ digraph PlanImplement {
plan [label="Plan", prompt="Analyze the goal and codebase. Write a clear, step-by-step implementation plan to a Markdown file called plan.md. Include what files will change and why.", reasoning_effort="high"]
approve [shape=hexagon, label="Approve Plan"]
implement [label="Implement", prompt="Read plan.md and implement every step. Make all the code changes described in the plan."]
simplify [label="Simplify", prompt="@files-internal/prompts/simplify.md"]
simplify [label="Simplify", prompt="@prompts/simplify.md"]
start -> plan -> approve
approve -> implement [label="[A] Approve"]

View file

@ -0,0 +1,3 @@
Review the recent code changes and simplify the implementation without changing behavior.
Prefer removing unnecessary abstraction, duplication, and indirection. Keep the code clear, idiomatic, and focused on the requested behavior.

View file

@ -8,7 +8,7 @@ digraph PlanImplement {
plan [label="Plan", prompt="Analyze the goal and codebase. Write a clear, step-by-step implementation plan to a Markdown file called plan.md. Include what files will change and why.", reasoning_effort="high"]
approve [shape=hexagon, label="Approve Plan"]
implement [label="Implement", prompt="Read plan.md and implement every step. Make all the code changes described in the plan."]
simplify [label="Simplify", prompt="@files-internal/prompts/simplify.md"]
simplify [label="Simplify", prompt="@prompts/simplify.md"]
start -> plan -> approve
approve -> implement [label="[A] Approve"]