You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -357,23 +356,17 @@ The output of this step will include a number of implementation detail documents
357
356
358
357
```text
359
358
.
360
-
├── .specify
361
-
│ ├── memory
362
-
│ │ ├── constitution.md
363
-
│ │ └── constitution_update_checklist.md
364
-
│ ├── scripts
365
-
│ │ ├── check-task-prerequisites.sh
366
-
│ │ ├── common.sh
367
-
│ │ ├── create-new-feature.sh
368
-
│ │ ├── get-feature-paths.sh
369
-
│ │ ├── setup-plan.sh
370
-
│ │ └── update-claude-md.sh
371
-
│ └── templates
372
-
│ ├── CLAUDE-template.md
373
-
│ ├── plan-template.md
374
-
│ ├── spec-template.md
375
-
│ └── tasks-template.md
376
359
├── CLAUDE.md
360
+
├── memory
361
+
│ ├── constitution.md
362
+
│ └── constitution_update_checklist.md
363
+
├── scripts
364
+
│ ├── check-task-prerequisites.sh
365
+
│ ├── common.sh
366
+
│ ├── create-new-feature.sh
367
+
│ ├── get-feature-paths.sh
368
+
│ ├── setup-plan.sh
369
+
│ └── update-claude-md.sh
377
370
├── docs
378
371
│ └── specs
379
372
│ └── 001-create-taskify
@@ -385,6 +378,11 @@ The output of this step will include a number of implementation detail documents
385
378
│ ├── quickstart.md
386
379
│ ├── research.md
387
380
│ └── spec.md
381
+
└── templates
382
+
├── CLAUDE-template.md
383
+
├── plan-template.md
384
+
├── spec-template.md
385
+
└── tasks-template.md
388
386
```
389
387
390
388
Check the `research.md` document to ensure that the right tech stack is used, based on your instructions. You can ask Claude Code to refine it if any of the components stand out, or even have it check the locally-installed version of the platform/framework you want to use (e.g., .NET).
@@ -431,7 +429,7 @@ This helps refine the implementation plan and helps you avoid potential blind sp
431
429
You can also ask Claude Code (if you have the [GitHub CLI](https://docs.github.com/en/github-cli/github-cli) installed) to go ahead and create a pull request from your current branch to `main` with a detailed description, to make sure that the effort is properly tracked.
432
430
433
431
>[!NOTE]
434
-
>Before you have the agent implement it, it's also worth prompting Claude Code to cross-check the details to see if there are any over-engineered pieces (remember - it can be over-eager). If over-engineered components or decisions exist, you can ask Claude Code to resolve them. Ensure that Claude Code follows the [constitution](.specify/memory/constitution.md) as the foundational piece that it must adhere to when establishing the plan.
432
+
>Before you have the agent implement it, it's also worth prompting Claude Code to cross-check the details to see if there are any over-engineered pieces (remember - it can be over-eager). If over-engineered components or decisions exist, you can ask Claude Code to resolve them. Ensure that Claude Code follows the [constitution](base/memory/constitution.md) as the foundational piece that it must adhere to when establishing the plan.
echo"Creating new $agent_name context file...";if [ -f"$REPO_ROOT/.specify/templates/agent-file-template.md" ];then cp "$REPO_ROOT/.specify/templates/agent-file-template.md""$temp_file";elseecho"ERROR: Template not found";return 1;fi;
16
+
echo"Creating new $agent_name context file...";if [ -f"$REPO_ROOT/templates/agent-file-template.md" ];then cp "$REPO_ROOT/templates/agent-file-template.md""$temp_file";elseecho"ERROR: Template not found";return 1;fi;
17
17
sed -i.bak "s/\[PROJECT NAME\]/$(basename $REPO_ROOT)/""$temp_file"; sed -i.bak "s/\[DATE\]/$(date +%Y-%m-%d)/""$temp_file"; sed -i.bak "s/\[EXTRACTED FROM ALL PLAN.MD FILES\]/- $NEW_LANG + $NEW_FRAMEWORK ($CURRENT_BRANCH)/""$temp_file";
18
18
if [[ "$NEW_PROJECT_TYPE"==*"web"* ]];then sed -i.bak "s|\[ACTUAL STRUCTURE FROM PLANS\]|backend/\nfrontend/\ntests/|""$temp_file";else sed -i.bak "s|\[ACTUAL STRUCTURE FROM PLANS\]|src/\ntests/|""$temp_file";fi;
19
19
if [[ "$NEW_LANG"==*"Python"* ]];then COMMANDS="cd src && pytest && ruff check .";elif [[ "$NEW_LANG"==*"Rust"* ]];then COMMANDS="cargo test && cargo clippy";elif [[ "$NEW_LANG"==*"JavaScript"* ]] || [[ "$NEW_LANG"==*"TypeScript"* ]];then COMMANDS="npm test && npm run lint";else COMMANDS="# Add commands for $NEW_LANG";fi; sed -i.bak "s|\[ONLY COMMANDS FOR ACTIVE TECHNOLOGIES\]|$COMMANDS|""$temp_file";
Copy file name to clipboardExpand all lines: spec-driven.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@ The templates transform the LLM from a creative writer into a disciplined specif
268
268
269
269
## The Constitutional Foundation: Enforcing Architectural Discipline
270
270
271
-
At the heart of SDD lies a constitution—a set of immutable principles that govern how specifications become code. The constitution (`.specify/memory/constitution.md`) acts as the architectural DNA of the system, ensuring that every generated implementation maintains consistency, simplicity, and quality.
271
+
At the heart of SDD lies a constitution—a set of immutable principles that govern how specifications become code. The constitution (`memory/constitution.md`) acts as the architectural DNA of the system, ensuring that every generated implementation maintains consistency, simplicity, and quality.
Given the feature description provided as an argument, do this:
9
9
10
10
1. Run the script `{SCRIPT}` from repo root and parse its JSON output for BRANCH_NAME and SPEC_FILE. All file paths must be absolute.
11
11
**IMPORTANT** You must only ever run this script once. The JSON is provided in the terminal as output - always refer to it to get the actual content you're looking for.
12
-
2. Load `.specify/templates/spec-template.md` to understand required sections.
12
+
2. Load `templates/spec-template.md` to understand required sections.
13
13
3. Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings.
14
14
4. Report completion with branch name, spec file path, and readiness for the next phase.
0 commit comments