From 9809b1a4abb4252ffca964f324dc276cbdf298cf Mon Sep 17 00:00:00 2001 From: Hari Krishnan Date: Wed, 22 Oct 2025 07:42:37 +0530 Subject: [PATCH 1/2] docs: add steps for testing template and command changes locally --- CONTRIBUTING.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3e6e24aa..58447f75 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,6 +62,28 @@ When working on spec-kit: 3. Test script functionality in the `scripts/` directory 4. Ensure memory files (`memory/constitution.md`) are updated if major process changes are made +### Testing template and command changes locally + +Running `uv run specify init` pulls released packages, which won’t include your local changes. +To test your templates, commands, and other changes locally, follow these steps: + +1. **Create release packages** + + Run the following command to generate the local packages: + ``` + ./.github/workflows/scripts/create-release-packages.sh v1.0.0 + ``` + +2. **Copy the relevant package to your test project** + + ``` + cp -r .genreleases/sdd-copilot-package-sh/. /PATH_TO/test-project/ + ``` + +3. **Open and test the agent** + + Navigate to your test project folder and open the agent to verify your implementation. + ## AI contributions in Spec Kit > [!IMPORTANT] From 89f5f9c0b97805534a89b95666b4f383b2f01749 Mon Sep 17 00:00:00 2001 From: Den Delimarsky <53200638+localden@users.noreply.github.com> Date: Tue, 21 Oct 2025 19:27:38 -0700 Subject: [PATCH 2/2] Update CONTRIBUTING.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 58447f75..e5897b38 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,7 +77,7 @@ To test your templates, commands, and other changes locally, follow these steps: 2. **Copy the relevant package to your test project** ``` - cp -r .genreleases/sdd-copilot-package-sh/. /PATH_TO/test-project/ + cp -r .genreleases/sdd-copilot-package-sh/. / ``` 3. **Open and test the agent**