Skip to content

Commit 6322a4d

Browse files
docs: fix script name in directory tree examples (#2555)
* docs: fix script name in directory tree examples Replace update-claude-md.sh with the actual filename setup-tasks.sh in two directory tree examples (Steps 2 and 4 of the detailed walkthrough). * docs: fix .specify/scripts layout to show bash/ and powershell/ subdirs install_shared_infra() installs scripts under .specify/scripts/bash/ (script_type="sh") or .specify/scripts/powershell/ (script_type="ps"), not directly under .specify/scripts/. Update docs/installation.md and the _install_shared_infra docstring to reflect the actual on-disk layout. * docs: update README tree examples to show scripts/bash/ subdirectory Scripts are installed under .specify/scripts/bash/ (or powershell/) not directly under .specify/scripts/. Fix both tree diagrams in the Detailed Process walkthrough to match the actual on-disk layout.
1 parent be38280 commit 6322a4d

3 files changed

Lines changed: 20 additions & 14 deletions

File tree

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,12 @@ At this stage, your project folder contents should resemble the following:
404404
├── memory
405405
│ └── constitution.md
406406
├── scripts
407-
│ ├── check-prerequisites.sh
408-
│ ├── common.sh
409-
│ ├── create-new-feature.sh
410-
│ ├── setup-plan.sh
411-
│ └── update-claude-md.sh
407+
│ └── bash
408+
│ ├── check-prerequisites.sh
409+
│ ├── common.sh
410+
│ ├── create-new-feature.sh
411+
│ ├── setup-plan.sh
412+
│ └── setup-tasks.sh
412413
├── specs
413414
│ └── 001-create-taskify
414415
│ └── spec.md
@@ -465,11 +466,12 @@ The output of this step will include a number of implementation detail documents
465466
├── memory
466467
│ └── constitution.md
467468
├── scripts
468-
│ ├── check-prerequisites.sh
469-
│ ├── common.sh
470-
│ ├── create-new-feature.sh
471-
│ ├── setup-plan.sh
472-
│ └── update-claude-md.sh
469+
│ └── bash
470+
│ ├── check-prerequisites.sh
471+
│ ├── common.sh
472+
│ ├── create-new-feature.sh
473+
│ ├── setup-plan.sh
474+
│ └── setup-tasks.sh
473475
├── specs
474476
│ └── 001-create-taskify
475477
│ ├── contracts

docs/installation.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ After initialization, you should see the following commands available in your co
9494
- `/speckit.plan` - Generate implementation plans
9595
- `/speckit.tasks` - Break down into actionable tasks
9696

97-
The `.specify/scripts` directory will contain both `.sh` and `.ps1` scripts.
97+
Scripts are installed into a variant subdirectory matching the chosen script type:
98+
99+
- `.specify/scripts/bash/` — contains `.sh` scripts (default on Linux/macOS)
100+
- `.specify/scripts/powershell/` — contains `.ps1` scripts (default on Windows)
98101

99102
## Troubleshooting
100103

src/specify_cli/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,10 @@ def _install_shared_infra(
229229
) -> bool:
230230
"""Install shared infrastructure files into *project_path*.
231231
232-
Copies ``.specify/scripts/`` and ``.specify/templates/`` from the
233-
bundled core_pack or source checkout. Tracks all installed files
234-
in ``speckit.manifest.json``.
232+
Copies ``.specify/scripts/<variant>/`` and ``.specify/templates/`` from
233+
the bundled core_pack or source checkout, where ``<variant>`` is
234+
``bash`` when *script_type* is ``"sh"`` and ``powershell`` when it is
235+
``"ps"``. Tracks all installed files in ``speckit.manifest.json``.
235236
236237
Page templates are processed to resolve ``__SPECKIT_COMMAND_<NAME>__``
237238
placeholders using *invoke_separator* (``"."`` for markdown agents,

0 commit comments

Comments
 (0)