Commit 0b6bdd2
authored
Add specify! (#195)
## Description
This pull request makes significant improvements to the documentation
and prompt instructions for project workflows, especially around
constitution management and implementation processes. The changes
clarify modes of operation, add detailed step-by-step instructions, and
ensure consistency and traceability across related files and workflows.
**Key changes:**
### Constitution Management Enhancements
* Expanded and clarified the instructions in
`.github/prompts/constitution.prompt.md` to support both initial
creation and iterative updating of the constitution, with detailed
operating modes, placeholder handling, and replacement analysis for
overlapping principles or rules. Added a Replacement Analysis Table,
heuristics for overlap detection, and clear handling for ambiguous or
destructive changes.
[[1]](diffhunk://#diff-317e4feb1f303dde8c033746a25f6abd240d78d6fdb1ae80df86cfdf3c9cd8c5L2-R2)
[[2]](diffhunk://#diff-317e4feb1f303dde8c033746a25f6abd240d78d6fdb1ae80df86cfdf3c9cd8c5L13-R55)
* Improved the propagation and validation checklist for syncing changes
across related templates and prompt files, using relative links and
clarifying which files to update. Added explicit instructions for
updating deprecated or pending sections and handling deferred actions.
* Updated the description in `.github/prompts/constitution.prompt.md` to
clarify the iterative nature of constitution updates.
### Implementation Workflow Improvements
* Enhanced `.github/prompts/implement.prompt.md` with explicit support
for both local and forked repository workflows, including detection of
`.fork-info.json`, validation of fork configuration, and branch/PR
management logic.
[[1]](diffhunk://#diff-c7d6853d6175b556ba7b64b7764e390cbbb6e49f9b76e9102e979225f4910d4dL13-R19)
[[2]](diffhunk://#diff-c7d6853d6175b556ba7b64b7764e390cbbb6e49f9b76e9102e979225f4910d4dR70-R151)
* Added detailed instructions for iterative implementation: tracking
task completion state in `tasks.md`, skipping completed tasks, resuming
from the last incomplete task, and supporting multiple runs for
refinement.
* Added comprehensive steps for automated Pull Request
creation/updating, including PR title/description formatting, label
management, linking to issues, and fallback GitHub CLI commands for both
local and fork workflows.
* Included steps for updating issue labels and ensuring the constitution
is updated to reflect implemented changes, with clear guidance on how to
keep documentation in sync with codebase state.
### Documentation Consistency
* Added a new `.github/instructions/md.instructions.md` file defining
markdown style guidelines for consistent documentation across the
repository, covering headings, lists, code blocks, links, tables,
emphasis, whitespace, and more.
These changes together provide clearer, more robust, and more
maintainable workflows for both constitution management and
implementation, ensuring consistency and traceability across
documentation and project artifacts.
- Constitution Management Enhancements:
[[1]](diffhunk://#diff-317e4feb1f303dde8c033746a25f6abd240d78d6fdb1ae80df86cfdf3c9cd8c5L2-R2)
[[2]](diffhunk://#diff-317e4feb1f303dde8c033746a25f6abd240d78d6fdb1ae80df86cfdf3c9cd8c5L13-R55)
[[3]](diffhunk://#diff-317e4feb1f303dde8c033746a25f6abd240d78d6fdb1ae80df86cfdf3c9cd8c5L31-R97)
- Implementation Workflow Improvements:
[[1]](diffhunk://#diff-c7d6853d6175b556ba7b64b7764e390cbbb6e49f9b76e9102e979225f4910d4dL13-R19)
[[2]](diffhunk://#diff-c7d6853d6175b556ba7b64b7764e390cbbb6e49f9b76e9102e979225f4910d4dR30-R41)
[[3]](diffhunk://#diff-c7d6853d6175b556ba7b64b7764e390cbbb6e49f9b76e9102e979225f4910d4dR70-R151)
- Documentation Consistency:
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] 1 parent de4f7a9 commit 0b6bdd2
File tree
11 files changed
+1751
-90
lines changed- .github
- instructions
- prompts
- .specify
- scripts/powershell
- templates
11 files changed
+1751
-90
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
0 commit comments