From 6dd1f7bce0eac01333f9c1f08911ecd61d313bce Mon Sep 17 00:00:00 2001 From: Pierluigi Lenoci Date: Wed, 11 Mar 2026 20:08:35 +0100 Subject: [PATCH 1/2] fix: clean up command templates (specify, analyze) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - specify.md: fix self-referential step number (step 6c → proceed to step 7) - specify.md: remove empty "General Guidelines" heading before "Quick Guidelines" - analyze.md: deduplicate {ARGS} — already present in "User Input" section at top --- templates/commands/analyze.md | 4 +--- templates/commands/specify.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/commands/analyze.md b/templates/commands/analyze.md index 827d4e4ca..918678a40 100644 --- a/templates/commands/analyze.md +++ b/templates/commands/analyze.md @@ -182,6 +182,4 @@ Ask the user: "Would you like me to suggest concrete remediation edits for the t - **Use examples over exhaustive rules** (cite specific instances, not generic patterns) - **Report zero issues gracefully** (emit success report with coverage statistics) -## Context - -{ARGS} +Context for analysis: {ARGS} diff --git a/templates/commands/specify.md b/templates/commands/specify.md index d66f3fcca..0713b68e4 100644 --- a/templates/commands/specify.md +++ b/templates/commands/specify.md @@ -129,7 +129,7 @@ Given that feature description, do this: c. **Handle Validation Results**: - - **If all items pass**: Mark checklist complete and proceed to step 6 + - **If all items pass**: Mark checklist complete and proceed to step 7 - **If items fail (excluding [NEEDS CLARIFICATION])**: 1. List the failing items and specific issues @@ -178,8 +178,6 @@ Given that feature description, do this: **NOTE:** The script creates and checks out the new branch and initializes the spec file before writing. -## General Guidelines - ## Quick Guidelines - Focus on **WHAT** users need and **WHY**. From 1f16e273f433486107577061391cf84a2ec9f565 Mon Sep 17 00:00:00 2001 From: Pierluigi Lenoci Date: Fri, 13 Mar 2026 10:36:53 +0100 Subject: [PATCH 2/2] fix: restore ## Context heading in analyze template Address PR review feedback from @dhilipkumars: keep the ## Context markdown heading to preserve structural hierarchy for LLM parsing. --- templates/commands/analyze.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/commands/analyze.md b/templates/commands/analyze.md index 918678a40..827d4e4ca 100644 --- a/templates/commands/analyze.md +++ b/templates/commands/analyze.md @@ -182,4 +182,6 @@ Ask the user: "Would you like me to suggest concrete remediation edits for the t - **Use examples over exhaustive rules** (cite specific instances, not generic patterns) - **Report zero issues gracefully** (emit success report with coverage statistics) -Context for analysis: {ARGS} +## Context + +{ARGS}