Skip to content

Commit 0f088a8

Browse files
authored
fix(claude): commit .claude/settings.json to auto-enable reqstool plugins (#69)
* 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. 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> * fix(claude): track opsx commands and openspec skills The .gitignore carve-out only kept .claude/settings.json, so the opsx slash commands (.claude/commands/opsx/*) and OpenSpec skills (.claude/skills/openspec-*) were never tracked here, unlike reqstool-client (reqstool/reqstool-client#415). Mirrors that fix so fresh clones/worktrees of this repo have them too. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> * Revert "fix(claude): track opsx commands and openspec skills" This reverts commit f1d9725. 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 no longer committed (reverted in the prior commit, same mistake as reqstool-client#415/#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 f6a370b commit 0f088a8

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
@@ -39,4 +39,5 @@ bin/
3939
.DS_Store
4040

4141
### Claude Code ###
42-
.claude/
42+
.claude/*
43+
!.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
- Java 21+
1010
- Gradle 9.3+ (use the wrapper)
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

@@ -16,6 +18,18 @@ git clone https://github.com/reqstool/reqstool-java-gradle-plugin.git
1618
cd reqstool-java-gradle-plugin
1719
```
1820

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

2135
```bash

0 commit comments

Comments
 (0)