@wbern/claude-instructions 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -145,10 +145,10 @@ flowchart TB
145
145
  Start --> Step1[<b>1. PLAN</b>]
146
146
 
147
147
  Step1 --> Issue[📋 /issue<br/>Have GitHub issue<br/><i>Requires: GitHub MCP</i>]
148
- Step1 --> Plan[📝 /plan<br/>No issue yet<br/><i>Optional: Beads MCP</i>]
148
+ Step1 --> CreateIssues[📝 /create-issues<br/>No issue yet<br/><i>Optional: Beads MCP</i>]
149
149
 
150
150
  Issue --> Step2[<b>2. CODE with TDD</b>]
151
- Plan --> Step2
151
+ CreateIssues --> Step2
152
152
 
153
153
  Step2 -->|Manual| Red[🔴 /red<br/>Write failing test]
154
154
  Red --> Green[🟢 /green<br/>Make it pass]
@@ -186,7 +186,7 @@ flowchart TB
186
186
  ### Planning
187
187
 
188
188
  - `/issue` - Analyze GitHub issue and create TDD implementation plan
189
- - `/plan` - Create implementation plan from feature/requirement with PRD-style discovery and TDD acceptance criteria
189
+ - `/create-issues` - Create implementation plan from feature/requirement with PRD-style discovery and TDD acceptance criteria
190
190
 
191
191
  ### Test-Driven Development
192
192
 
package/bin/cli.js CHANGED
@@ -1336,9 +1336,15 @@ async function main(args) {
1336
1336
 
1337
1337
  If Claude Code is already running, restart it to pick up the new commands.
1338
1338
 
1339
- Try it out: /red clicking submit with empty email shows validation error
1339
+ Try it out:
1340
1340
 
1341
- Happy TDD'ing!`
1341
+ /kata \u2192 Pick a practice challenge
1342
+ /red 1 returns "1" \u2192 Write first failing test for your kata
1343
+ /green \u2192 Make it pass
1344
+
1345
+ See a full example: https://github.com/wbern/claude-instructions#example-conversations
1346
+
1347
+ Happy coding!`
1342
1348
  );
1343
1349
  }
1344
1350
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wbern/claude-instructions",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "TDD workflow commands for Claude Code CLI",
5
5
  "type": "module",
6
6
  "bin": "./bin/cli.js",
@@ -29,7 +29,7 @@
29
29
  "scripts": {
30
30
  "build": "pnpm build:readme && pnpm build:commands && pnpm exec markdownlint --fix .claude/commands/*.md",
31
31
  "build:readme": "tsx scripts/build.ts",
32
- "build:commands": "pnpm build:cli && node bin/cli.js --scope=project --flags=beads,no-plan-files --include-contrib-commands --overwrite",
32
+ "build:commands": "pnpm build:cli && rm -f .claude/commands/*.md && node bin/cli.js --scope=project --flags=beads,no-plan-files --include-contrib-commands --overwrite",
33
33
  "build:cli": "tsup",
34
34
  "test:manual": "pnpm build:cli && TMPDIR=$(mktemp -d) && pnpm pack --pack-destination $TMPDIR && cd $TMPDIR && tar -xzf *.tgz && cd package && pnpm i && node bin/cli.js",
35
35
  "test:quick-manual": "pnpm build:cli && node bin/cli.js",
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/js": "^9.39.1",
48
+ "@semantic-release/git": "^10.0.1",
48
49
  "@types/fs-extra": "^11.0.4",
49
50
  "@types/node": "^24.10.1",
50
51
  "@vitest/coverage-v8": "^4.0.15",
@@ -57,6 +58,7 @@
57
58
  "markdownlint-cli": "^0.46.0",
58
59
  "picocolors": "^1.1.1",
59
60
  "prettier": "^3.7.2",
61
+ "semantic-release": "^25.0.2",
60
62
  "tsup": "^8.5.1",
61
63
  "tsx": "^4.20.6",
62
64
  "typescript": "^5.9.3",
@@ -77,7 +79,16 @@
77
79
  "@semantic-release/commit-analyzer",
78
80
  "@semantic-release/release-notes-generator",
79
81
  "@semantic-release/npm",
80
- "@semantic-release/github"
82
+ "@semantic-release/github",
83
+ [
84
+ "@semantic-release/git",
85
+ {
86
+ "assets": [
87
+ "package.json"
88
+ ],
89
+ "message": "chore(release): ${nextRelease.version}"
90
+ }
91
+ ]
81
92
  ]
82
93
  }
83
94
  }
package/src/README.md CHANGED
@@ -135,10 +135,10 @@ flowchart TB
135
135
  Start --> Step1[<b>1. PLAN</b>]
136
136
 
137
137
  Step1 --> Issue[📋 /issue<br/>Have GitHub issue<br/><i>Requires: GitHub MCP</i>]
138
- Step1 --> Plan[📝 /plan<br/>No issue yet<br/><i>Optional: Beads MCP</i>]
138
+ Step1 --> CreateIssues[📝 /create-issues<br/>No issue yet<br/><i>Optional: Beads MCP</i>]
139
139
 
140
140
  Issue --> Step2[<b>2. CODE with TDD</b>]
141
- Plan --> Step2
141
+ CreateIssues --> Step2
142
142
 
143
143
  Step2 -->|Manual| Red[🔴 /red<br/>Write failing test]
144
144
  Red --> Green[🟢 /green<br/>Make it pass]
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  description: Create implementation plan from feature/requirement with PRD-style discovery and TDD acceptance criteria
3
3
  argument-hint: <feature/requirement description or GitHub issue URL/number>
4
- _hint: Plan feature
4
+ _hint: Create issues
5
5
  _category: Planning
6
6
  _order: 2
7
7
  ---
8
8
 
9
- # Plan: PRD-Informed Task Planning for TDD
9
+ # Create Issues: PRD-Informed Task Planning for TDD
10
10
 
11
11
  Create structured implementation plan that bridges product thinking (PRD) with test-driven development.
12
12
 
@@ -23,7 +23,7 @@ Create structured implementation plan that bridges product thinking (PRD) with t
23
23
 
24
24
  $ARGUMENTS
25
25
 
26
- (If no input provided, check conversation context<!-- docs INCLUDE path='src/fragments/plan-beads-context-hint.md' featureFlag='beads' -->
26
+ (If no input provided, check conversation context<!-- docs INCLUDE path='src/fragments/create-issues-beads-context-hint.md' featureFlag='beads' -->
27
27
  <!-- /docs -->)
28
28
 
29
29
  ## Input Processing
@@ -72,7 +72,7 @@ Extract from GitHub issue:
72
72
  <!-- docs INCLUDE path='src/fragments/discovery-phase.md' -->
73
73
  <!-- /docs -->
74
74
 
75
- <!-- docs INCLUDE path='src/fragments/plan-beads-details.md' featureFlag='beads' -->
75
+ <!-- docs INCLUDE path='src/fragments/create-issues-beads-details.md' featureFlag='beads' -->
76
76
  <!-- /docs -->
77
77
 
78
78
  ## Key Principles
@@ -92,7 +92,7 @@ Extract from GitHub issue:
92
92
 
93
93
  ## Integration with Other Commands
94
94
 
95
- - **Before /plan**: Use `/spike` if you need technical exploration first
96
- - **After /plan**: Use `/red` to start TDD on first task
97
- <!-- docs INCLUDE path='src/fragments/plan-beads-integration.md' featureFlag='beads' -->
95
+ - **Before /create-issues**: Use `/spike` if you need technical exploration first
96
+ - **After /create-issues**: Use `/red` to start TDD on first task
97
+ <!-- docs INCLUDE path='src/fragments/create-issues-beads-integration.md' featureFlag='beads' -->
98
98
  <!-- /docs -->