diff --git a/docs/internal/demo/09-simplify.fabro b/docs/internal/demo/09-simplify.fabro index ee355c522..c8be79ddf 100644 --- a/docs/internal/demo/09-simplify.fabro +++ b/docs/internal/demo/09-simplify.fabro @@ -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 } diff --git a/docs/internal/demo/10-plan-implement.fabro b/docs/internal/demo/10-plan-implement.fabro index 3a396bd47..d36cf2998 100644 --- a/docs/internal/demo/10-plan-implement.fabro +++ b/docs/internal/demo/10-plan-implement.fabro @@ -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"] diff --git a/docs/internal/demo/prompts/simplify.md b/docs/internal/demo/prompts/simplify.md new file mode 100644 index 000000000..aedf41bff --- /dev/null +++ b/docs/internal/demo/prompts/simplify.md @@ -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. diff --git a/test/docs/tutorials/plan-implement/plan-implement.fabro b/test/docs/tutorials/plan-implement/plan-implement.fabro index 3a396bd47..d36cf2998 100644 --- a/test/docs/tutorials/plan-implement/plan-implement.fabro +++ b/test/docs/tutorials/plan-implement/plan-implement.fabro @@ -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"] diff --git a/test/docs/tutorials/plan-implement/docs-internal/prompts/simplify.md b/test/docs/tutorials/plan-implement/prompts/simplify.md similarity index 100% rename from test/docs/tutorials/plan-implement/docs-internal/prompts/simplify.md rename to test/docs/tutorials/plan-implement/prompts/simplify.md