@wbern/claude-instructions 1.6.0 → 1.8.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 +1 -0
- package/downloads/with-beads/add-command.md +31 -2
- package/downloads/with-beads/ask.md +5 -1
- package/downloads/with-beads/beepboop.md +2 -8
- package/downloads/with-beads/busycommit.md +9 -2
- package/downloads/with-beads/commit.md +9 -2
- package/downloads/with-beads/cycle.md +4 -0
- package/downloads/with-beads/gap.md +17 -5
- package/downloads/with-beads/green.md +4 -0
- package/downloads/with-beads/issue.md +12 -3
- package/downloads/with-beads/plan.md +22 -1
- package/downloads/with-beads/red.md +9 -2
- package/downloads/with-beads/refactor.md +6 -0
- package/downloads/with-beads/ship.md +5 -1
- package/downloads/with-beads/show.md +5 -1
- package/downloads/with-beads/spike.md +4 -0
- package/downloads/with-beads/summarize.md +15 -0
- package/downloads/with-beads/tdd.md +3 -0
- package/downloads/with-beads/worktree-add.md +17 -13
- package/downloads/with-beads/worktree-cleanup.md +18 -14
- package/downloads/without-beads/add-command.md +29 -2
- package/downloads/without-beads/ask.md +1 -1
- package/downloads/without-beads/beepboop.md +1 -1
- package/downloads/without-beads/busycommit.md +7 -2
- package/downloads/without-beads/commit.md +7 -2
- package/downloads/without-beads/cycle.md +2 -0
- package/downloads/without-beads/gap.md +11 -1
- package/downloads/without-beads/green.md +2 -0
- package/downloads/without-beads/issue.md +8 -3
- package/downloads/without-beads/plan.md +12 -2
- package/downloads/without-beads/red.md +7 -2
- package/downloads/without-beads/refactor.md +4 -0
- package/downloads/without-beads/ship.md +1 -1
- package/downloads/without-beads/show.md +1 -1
- package/downloads/without-beads/spike.md +2 -0
- package/downloads/without-beads/summarize.md +12 -1
- package/downloads/without-beads/tdd.md +1 -0
- package/downloads/without-beads/worktree-add.md +15 -13
- package/downloads/without-beads/worktree-cleanup.md +16 -14
- package/package.json +2 -1
|
@@ -9,6 +9,7 @@ argument-hint: [optional-response-to-last-message]
|
|
|
9
9
|
## General Guidelines
|
|
10
10
|
|
|
11
11
|
### Output Style
|
|
12
|
+
|
|
12
13
|
- **Never explicitly mention TDD** in code, comments, commits, PRs, or issues
|
|
13
14
|
- Write natural, descriptive code without meta-commentary about the development process
|
|
14
15
|
- The code should speak for itself - TDD is the process, not the product
|
|
@@ -9,6 +9,7 @@ argument-hint: <branch-name-or-github-issue-url> [optional-base-branch]
|
|
|
9
9
|
## General Guidelines
|
|
10
10
|
|
|
11
11
|
### Output Style
|
|
12
|
+
|
|
12
13
|
- **Never explicitly mention TDD** in code, comments, commits, PRs, or issues
|
|
13
14
|
- Write natural, descriptive code without meta-commentary about the development process
|
|
14
15
|
- The code should speak for itself - TDD is the process, not the product
|
|
@@ -72,7 +73,7 @@ Uncommitted changes: !git status --short`
|
|
|
72
73
|
<input>The user-provided arguments</input>
|
|
73
74
|
<expected_format>branch-name-or-github-url [optional-base-branch]</expected_format>
|
|
74
75
|
<example>fix/issue-123-main-content-area-visually-clipped main</example>
|
|
75
|
-
<example_github_url
|
|
76
|
+
<example_github_url><https://github.com/owner/project/issues/123> main</example_github_url>
|
|
76
77
|
<default_base_branch>main (if not specified)</default_base_branch>
|
|
77
78
|
</step_1>
|
|
78
79
|
|
|
@@ -182,7 +183,7 @@ Uncommitted changes: !git status --short`
|
|
|
182
183
|
- packages/*/.env.local
|
|
183
184
|
- (any other .env.local files found)
|
|
184
185
|
</common_locations>
|
|
185
|
-
<copy_command>find . -name ".env.local" -type f -exec sh -c 'mkdir -p "$(dirname "${parent_path}/${branch_name}/$1")" && cp "$1" "${parent_path}/${branch_name}/$1"' _
|
|
186
|
+
<copy_command>find . -name ".env.local" -type f -exec sh -c 'mkdir -p "$(dirname "${parent_path}/${branch_name}/$1")" && cp "$1" "${parent_path}/${branch_name}/$1"' _{} \;</copy_command>
|
|
186
187
|
<purpose>Preserve local environment configurations for development</purpose>
|
|
187
188
|
<note>Only copies files that exist; ignores missing ones</note>
|
|
188
189
|
</step_9>
|
|
@@ -249,14 +250,15 @@ EOF</create_file_command>
|
|
|
249
250
|
</execution_steps>
|
|
250
251
|
|
|
251
252
|
<important_notes>
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
253
|
+
|
|
254
|
+
- Automatically detects and uses your current IDE (VS Code, VS Code Insiders, Cursor, Zed, etc.)
|
|
255
|
+
- Creates VS Code-specific tasks.json only for VS Code variants (auto-starts Claude on folder open)
|
|
256
|
+
- Branch names with slashes (feat/, fix/, etc.) are fully supported
|
|
257
|
+
- The worktree directory path will match the full branch name including slashes
|
|
258
|
+
- Settings are copied to maintain the same permissions across worktrees
|
|
259
|
+
- Environment files (.env.local) are copied to preserve local configurations
|
|
260
|
+
- Each worktree has its own node_modules installation
|
|
261
|
+
- Uncommitted changes are automatically stashed and moved to the new worktree
|
|
262
|
+
- Your work-in-progress seamlessly transfers to the new branch
|
|
263
|
+
- IDE detection fallback: checks available editors and uses priority order
|
|
264
|
+
</important_notes>
|
|
@@ -9,6 +9,7 @@ argument-hint: (no arguments)
|
|
|
9
9
|
## General Guidelines
|
|
10
10
|
|
|
11
11
|
### Output Style
|
|
12
|
+
|
|
12
13
|
- **Never explicitly mention TDD** in code, comments, commits, PRs, or issues
|
|
13
14
|
- Write natural, descriptive code without meta-commentary about the development process
|
|
14
15
|
- The code should speak for itself - TDD is the process, not the product
|
|
@@ -212,17 +213,18 @@ Current worktrees: !git worktree list`
|
|
|
212
213
|
</execution_steps>
|
|
213
214
|
|
|
214
215
|
<important_notes>
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
216
|
+
|
|
217
|
+
- Uses GitHub PR merge status as the ONLY reliable way to verify if a branch was merged
|
|
218
|
+
- DOES NOT use "git branch --merged" command as it's unreliable for merge verification
|
|
219
|
+
- Only processes branches with PRs that were definitively merged to main
|
|
220
|
+
- Skips worktrees without merged PRs and continues to next oldest candidate
|
|
221
|
+
- Checks and optionally closes related GitHub issues
|
|
222
|
+
- Prioritizes oldest worktrees by directory age first for systematic cleanup
|
|
223
|
+
- Warns about very recent worktrees (created within 24 hours) to avoid cleaning active work
|
|
224
|
+
- Preserves useful development settings before deletion
|
|
225
|
+
- Requires explicit confirmation before any destructive actions
|
|
226
|
+
- Handles locked worktrees automatically
|
|
227
|
+
- Processes one worktree at a time to maintain control
|
|
228
|
+
- Must be run from main branch for safety
|
|
229
|
+
- Works with standard GitHub repository URLs (owner/repo format)
|
|
230
|
+
</important_notes>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wbern/claude-instructions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "TDD workflow commands for Claude Code CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./bin/cli.js",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"knip": "^5.70.2",
|
|
51
51
|
"lint-staged": "^16.2.7",
|
|
52
52
|
"markdown-magic": "^4.0.4",
|
|
53
|
+
"markdownlint-cli": "^0.46.0",
|
|
53
54
|
"prettier": "^3.7.2",
|
|
54
55
|
"tsup": "^8.5.1",
|
|
55
56
|
"tsx": "^4.20.6",
|