Skip to content

Commit 1e69666

Browse files
authored
fix(claude): commit .claude/settings.json to auto-enable reqstool plugins (#132)
* fix(claude): commit .claude/settings.json to auto-enable reqstool plugins The reqstool@reqstool-ai and reqstool-openspec@reqstool-ai plugins were never installed for this repo's checkout path, since .claude/ was blanket-gitignored and the marketplace/enabledPlugins config that reqstool-client commits was never added here (a local .claude/settings.json existed but was missing the extraKnownMarketplaces entry). Mirrors reqstool-client's .gitignore/.claude/settings.json pattern so a fresh clone gets both plugins auto-enabled. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> * docs(contributing): note openspec update for opsx commands/skills Generated tool scaffolding (.claude/commands/opsx/, .claude/skills/ openspec-*) is intentionally not committed (same convention as reqstool-client#416) -- contributors using Claude Code need to regenerate it locally after cloning. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> * docs(contributing): document reqstool/openspec CLI prerequisites Neither CLI was documented as a prerequisite anywhere. Also notes the Claude Code marketplace/plugin prompt contributors will see on first open, now that .claude/settings.json enables it by default. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> --------- Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
1 parent 043dfda commit 1e69666

3 files changed

Lines changed: 31 additions & 1 deletion

File tree

.claude/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extraKnownMarketplaces": {
3+
"reqstool-ai": {
4+
"source": {
5+
"source": "github",
6+
"repo": "reqstool/reqstool-ai"
7+
},
8+
"autoUpdate": true
9+
}
10+
},
11+
"enabledPlugins": {
12+
"reqstool@reqstool-ai": true,
13+
"reqstool-openspec@reqstool-ai": true
14+
}
15+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,5 @@ pyrightconfig.json
283283
# End of https://www.toptal.com/developers/gitignore/api/python,intellij+all,visualstudiocode
284284

285285
# Claude Code
286-
.claude/
286+
.claude/*
287+
!.claude/settings.json

CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ For DCO sign-off, commit conventions, and code review process, see the organizat
88

99
- Python 3.13+
1010
- [Poetry](https://python-poetry.org/)
11+
- [reqstool](https://github.com/reqstool/reqstool-client) (`pipx install reqstool`)
12+
- [OpenSpec](https://github.com/Fission-AI/OpenSpec) (`npm install -g @fission-ai/openspec`)
1113

1214
## Setup
1315

@@ -17,6 +19,18 @@ cd reqstool-python-poetry-plugin
1719
poetry install
1820
```
1921

22+
If using Claude Code, opening this repo will prompt you to confirm adding the `reqstool-ai`
23+
marketplace and enabling the `reqstool`/`reqstool-openspec` plugins (configured in
24+
`.claude/settings.json`) — accept the prompt.
25+
26+
Then regenerate the `opsx` slash commands and OpenSpec skills
27+
(`.claude/commands/opsx/`, `.claude/skills/openspec-*`) — they're CLI-generated tool scaffolding,
28+
not committed to the repo:
29+
30+
```bash
31+
openspec update # or: openspec init --tools claude --force
32+
```
33+
2034
## Build & Test
2135

2236
```bash

0 commit comments

Comments
 (0)