mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
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:
parent
d23e4d5082
commit
d92ee47fe3
5 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
3
docs/internal/demo/prompts/simplify.md
Normal file
3
docs/internal/demo/prompts/simplify.md
Normal 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.
|
||||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue