From 895bcbef0015e1abfabc2063d837e38fbb461c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Den=20Delimarsky=20=F0=9F=8C=BA?= <53200638+localden@users.noreply.github.com> Date: Sun, 21 Sep 2025 00:02:33 -0700 Subject: [PATCH] Update prompts --- templates/commands/constitution.md | 6 ++++++ templates/commands/implement.md | 6 +++++- templates/commands/plan.md | 6 ++++++ templates/commands/specify.md | 6 ++++++ templates/commands/tasks.md | 6 +++++- 5 files changed, 28 insertions(+), 2 deletions(-) diff --git a/templates/commands/constitution.md b/templates/commands/constitution.md index 583ff24..671d2c9 100644 --- a/templates/commands/constitution.md +++ b/templates/commands/constitution.md @@ -2,6 +2,12 @@ description: Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync. --- +The user input to you can be provided directly by the agent or in `$ARGUMENTS` - you **MUST** consider it before proceeding with the prompt (if not empty). + +User input: + +$ARGUMENTS + You are updating the project constitution at `/memory/constitution.md`. This file is a TEMPLATE containing placeholder tokens in square brackets (e.g. `[PROJECT_NAME]`, `[PRINCIPLE_1_NAME]`). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts. Follow this execution flow: diff --git a/templates/commands/implement.md b/templates/commands/implement.md index e017d8e..19e45f7 100644 --- a/templates/commands/implement.md +++ b/templates/commands/implement.md @@ -5,7 +5,11 @@ scripts: ps: scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks --- -Given the current feature context, do this: +The user input to you can be provided directly by the agent or in `$ARGUMENTS` - you **MUST** consider it before proceeding with the prompt (if not empty). + +User input: + +$ARGUMENTS 1. Run `{SCRIPT}` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. diff --git a/templates/commands/plan.md b/templates/commands/plan.md index 18a0b5c..afb9c90 100644 --- a/templates/commands/plan.md +++ b/templates/commands/plan.md @@ -5,6 +5,12 @@ scripts: ps: scripts/powershell/setup-plan.ps1 -Json --- +The user input to you can be provided directly by the agent or in `$ARGUMENTS` - you **MUST** consider it before proceeding with the prompt (if not empty). + +User input: + +$ARGUMENTS + Given the implementation details provided as an argument, do this: 1. Run `{SCRIPT}` from the repo root and parse JSON for FEATURE_SPEC, IMPL_PLAN, SPECS_DIR, BRANCH. All future file paths must be absolute. diff --git a/templates/commands/specify.md b/templates/commands/specify.md index 9a6a3b3..474f7b0 100644 --- a/templates/commands/specify.md +++ b/templates/commands/specify.md @@ -5,6 +5,12 @@ scripts: ps: scripts/powershell/create-new-feature.ps1 -Json "{ARGS}" --- +The user input to you can be provided directly by the agent or in `$ARGUMENTS` - you **MUST** consider it before proceeding with the prompt (if not empty). + +User input: + +$ARGUMENTS + The text the user typed after `/specify` in the triggering message **is** the feature description. Assume you always have it available in this conversation even if `{ARGS}` appears literally below. Do not ask the user to repeat it unless they provided an empty command. Given that feature description, do this: diff --git a/templates/commands/tasks.md b/templates/commands/tasks.md index 3e2b226..792dd23 100644 --- a/templates/commands/tasks.md +++ b/templates/commands/tasks.md @@ -5,7 +5,11 @@ scripts: ps: scripts/powershell/check-prerequisites.ps1 -Json --- -Given the context provided as an argument, do this: +The user input to you can be provided directly by the agent or in `$ARGUMENTS` - you **MUST** consider it before proceeding with the prompt (if not empty). + +User input: + +$ARGUMENTS 1. Run `{SCRIPT}` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. 2. Load and analyze available design documents: