@@ -29,27 +29,28 @@ Given that feature description, do this:
2929 - "Fix payment processing timeout bug" → "fix-payment-timeout"
3030
31312 . ** Check for existing branches before creating new one** :
32-
32+
3333 a. First, fetch all remote branches to ensure we have the latest information:
34+
3435 ``` bash
3536 git fetch --all --prune
3637 ```
37-
38+
3839 b. Find the highest feature number across all sources for the short-name:
3940 - Remote branches: ` git ls-remote --heads origin | grep -E ' refs/heads/[0-9]+-<short-name>$' `
4041 - Local branches: ` git branch | grep -E ' ^[* ]*[0-9]+-<short-name>$' `
4142 - Specs directories: Check for directories matching ` specs/[0-9]+-< short-name> `
42-
43+
4344 c. Determine the next available number:
4445 - Extract all numbers from all three sources
4546 - Find the highest number N
4647 - Use N+1 for the new branch number
47-
48+
4849 d. Run the script ` .specify/scripts/bash/create-new-feature.sh --json " $ARGUMENTS " ` with the calculated number and short-name:
4950 - Pass ` --number N+1` and ` --short-name " your-short-name" ` along with the feature description
5051 - Bash example: ` .specify/scripts/bash/create-new-feature.sh --json " $ARGUMENTS " --json --number 5 --short-name " user-auth" " Add user authentication" `
5152 - PowerShell example: ` .specify/scripts/bash/create-new-feature.sh --json " $ARGUMENTS " -Json -Number 5 -ShortName " user-auth" " Add user authentication" `
52-
53+
5354 ** IMPORTANT** :
5455 - Check all three sources (remote branches, local branches, specs directories) to find the highest number
5556 - Only match branches/directories with the exact short-name pattern
@@ -95,20 +96,20 @@ Given that feature description, do this:
9596
9697 ```markdown
9798 # Specification Quality Checklist: [FEATURE NAME]
98-
99+
99100 **Purpose**: Validate specification completeness and quality before proceeding to planning
100101 **Created**: [DATE]
101102 **Feature**: [Link to spec.md]
102-
103+
103104 ## Content Quality
104-
105+
105106 - [ ] No implementation details (languages, frameworks, APIs)
106107 - [ ] Focused on user value and business needs
107108 - [ ] Written for non-technical stakeholders
108109 - [ ] All mandatory sections completed
109-
110+
110111 ## Requirement Completeness
111-
112+
112113 - [ ] No [NEEDS CLARIFICATION] markers remain
113114 - [ ] Requirements are testable and unambiguous
114115 - [ ] Success criteria are measurable
@@ -117,16 +118,16 @@ Given that feature description, do this:
117118 - [ ] Edge cases are identified
118119 - [ ] Scope is clearly bounded
119120 - [ ] Dependencies and assumptions identified
120-
121+
121122 ## Feature Readiness
122-
123+
123124 - [ ] All functional requirements have clear acceptance criteria
124125 - [ ] User scenarios cover primary flows
125126 - [ ] Feature meets measurable outcomes defined in Success Criteria
126127 - [ ] No implementation details leak into specification
127-
128+
128129 ## Notes
129-
130+
130131 - Items marked incomplete require spec updates before `/speckit.clarify` or `/speckit.plan`
131132 ```
132133
@@ -151,20 +152,20 @@ Given that feature description, do this:
151152
152153 ```markdown
153154 ## Question [N]: [Topic]
154-
155+
155156 **Context**: [Quote relevant spec section]
156-
157+
157158 **What we need to know**: [Specific question from NEEDS CLARIFICATION marker]
158-
159+
159160 **Suggested Answers**:
160-
161+
161162 | Option | Answer | Implications |
162163 |--------|--------|--------------|
163164 | A | [First suggested answer] | [What this means for the feature] |
164165 | B | [Second suggested answer] | [What this means for the feature] |
165166 | C | [Third suggested answer] | [What this means for the feature] |
166167 | Custom | Provide your own answer | [Explain how to provide custom input] |
167-
168+
168169 **Your choice**: _[Wait for user response]_
169170 ```
170171
0 commit comments