π« Toolkit to help you get started with SDD or any other process!
docs: fix script name in directory tree examples (#2555)
darion-yaphet6322a4d429f7
diff --git a/README.md b/README.mdindex 6128ff8f2..e954a195f 100644--- a/README.md+++ b/README.md@@ -404,11 +404,12 @@ At this stage, your project folder contents should resemble the following:βββ memoryβ βββ constitution.mdβββ scripts- β βββ check-prerequisites.sh- β βββ common.sh- β βββ create-new-feature.sh- β βββ setup-plan.sh- β βββ update-claude-md.sh+ β βββ bash+ β βββ check-prerequisites.sh+ β βββ common.sh+ β βββ create-new-feature.sh+ β βββ setup-plan.sh+ β βββ setup-tasks.shβββ specsβ βββ 001-create-taskifyβ βββ spec.md@@ -465,11 +466,12 @@ The output of this step will include a number of implementation detail documentsβββ memoryβ βββ constitution.mdβββ scripts-β βββ check-prerequisites.sh-β βββ common.sh-β βββ create-new-feature.sh-β βββ setup-plan.sh-β βββ update-claude-md.sh+β βββ bash+β βββ check-prerequisites.sh+β βββ common.sh+β βββ create-new-feature.sh+β βββ setup-plan.sh+β βββ setup-tasks.shβββ specsβ βββ 001-create-taskifyβ βββ contractsdiff --git a/docs/installation.md b/docs/installation.mdindex 06f5de471..b3c25ce46 100644--- a/docs/installation.md+++ b/docs/installation.md@@ -94,7 +94,10 @@ After initialization, you should see the following commands available in your co- `/speckit.plan` - Generate implementation plans- `/speckit.tasks` - Break down into actionable tasks-The `.specify/scripts` directory will contain both `.sh` and `.ps1` scripts.+Scripts are installed into a variant subdirectory matching the chosen script type:++- `.specify/scripts/bash/` β contains `.sh` scripts (default on Linux/macOS)+- `.specify/scripts/powershell/` β contains `.ps1` scripts (default on Windows)## Troubleshootingdiff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.pyindex 373930bc6..f97dbde09 100644--- a/src/specify_cli/__init__.py+++ b/src/specify_cli/__init__.py@@ -229,9 +229,10 @@ def _install_shared_infra() -> bool:"""Install shared infrastructure files into *project_path*.- Copies ``.specify/scripts/`` and ``.specify/templates/`` from the- bundled core_pack or source checkout. Tracks all installed files- in ``speckit.manifest.json``.+ Copies ``.specify/scripts/<variant>/`` and ``.specify/templates/`` from+ the bundled core_pack or source checkout, where ``<variant>`` is+ ``bash`` when *script_type* is ``"sh"`` and ``powershell`` when it is+ ``"ps"``. Tracks all installed files in ``speckit.manifest.json``.Page templates are processed to resolve ``__SPECKIT_COMMAND_<NAME>__``placeholders using *invoke_separator* (``"."`` for markdown agents,