Skip to content

Commit af88930

Browse files
authored
Merge pull request #1002 from harikrishnan83/local_testing_documentation
docs: add steps for testing template and command changes locally
2 parents 9f123e0 + 89f5f9c commit af88930

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,28 @@ When working on spec-kit:
6262
3. Test script functionality in the `scripts/` directory
6363
4. Ensure memory files (`memory/constitution.md`) are updated if major process changes are made
6464

65+
### Testing template and command changes locally
66+
67+
Running `uv run specify init` pulls released packages, which won’t include your local changes.
68+
To test your templates, commands, and other changes locally, follow these steps:
69+
70+
1. **Create release packages**
71+
72+
Run the following command to generate the local packages:
73+
```
74+
./.github/workflows/scripts/create-release-packages.sh v1.0.0
75+
```
76+
77+
2. **Copy the relevant package to your test project**
78+
79+
```
80+
cp -r .genreleases/sdd-copilot-package-sh/. <path-to-test-project>/
81+
```
82+
83+
3. **Open and test the agent**
84+
85+
Navigate to your test project folder and open the agent to verify your implementation.
86+
6587
## AI contributions in Spec Kit
6688

6789
> [!IMPORTANT]

0 commit comments

Comments
 (0)