@wbern/claude-instructions 2.4.1 → 2.5.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 +8 -2
- package/package.json +1 -1
- package/src/README.md +8 -2
package/README.md
CHANGED
|
@@ -28,7 +28,13 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
|
28
28
|
|
|
29
29
|
**TDD workflow commands for Claude Code CLI.**
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Claude Code supports [custom slash commands](https://docs.anthropic.com/en/docs/claude-code/slash-commands)—type `/foo` and Claude receives the contents of `foo.md` as instructions (from `.claude/commands/` in your repo or `~/.claude/commands/` in your home directory). This repo provides ready-made commands for Test-Driven Development workflows.
|
|
32
|
+
|
|
33
|
+
While custom commands themselves is really just a glorified method of copy-paste, the way they can be used to bring stability to software development is what's worth trying out.
|
|
34
|
+
|
|
35
|
+
Instead of explaining TDD principles each session, type `/red` to write a failing test, `/green` to make it pass, `/refactor` to clean up. The commands guide Claude through each step methodically—you focus on what to build, Claude handles the how.
|
|
36
|
+
|
|
37
|
+
Also included are commands for commits, PRs, code reviews, and other tasks that come up during day-to-day development.
|
|
32
38
|
|
|
33
39
|
## Installation
|
|
34
40
|
|
|
@@ -63,7 +69,7 @@ Then add a postinstall script to your `package.json`:
|
|
|
63
69
|
"postinstall": "npx @wbern/claude-instructions --scope=project --overwrite"
|
|
64
70
|
},
|
|
65
71
|
"devDependencies": {
|
|
66
|
-
"@wbern/claude-instructions": "^
|
|
72
|
+
"@wbern/claude-instructions": "^2.5.0"
|
|
67
73
|
}
|
|
68
74
|
}
|
|
69
75
|
```
|
package/package.json
CHANGED
package/src/README.md
CHANGED
|
@@ -29,7 +29,13 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
|
29
29
|
|
|
30
30
|
**TDD workflow commands for Claude Code CLI.**
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Claude Code supports [custom slash commands](https://docs.anthropic.com/en/docs/claude-code/slash-commands)—type `/foo` and Claude receives the contents of `foo.md` as instructions (from `.claude/commands/` in your repo or `~/.claude/commands/` in your home directory). This repo provides ready-made commands for Test-Driven Development workflows.
|
|
33
|
+
|
|
34
|
+
While custom commands themselves is really just a glorified method of copy-paste, the way they can be used to bring stability to software development is what's worth trying out.
|
|
35
|
+
|
|
36
|
+
Instead of explaining TDD principles each session, type `/red` to write a failing test, `/green` to make it pass, `/refactor` to clean up. The commands guide Claude through each step methodically—you focus on what to build, Claude handles the how.
|
|
37
|
+
|
|
38
|
+
Also included are commands for commits, PRs, code reviews, and other tasks that come up during day-to-day development.
|
|
33
39
|
|
|
34
40
|
## Installation
|
|
35
41
|
|
|
@@ -64,7 +70,7 @@ Then add a postinstall script to your `package.json`:
|
|
|
64
70
|
"postinstall": "npx @wbern/claude-instructions --scope=project --overwrite"
|
|
65
71
|
},
|
|
66
72
|
"devDependencies": {
|
|
67
|
-
"@wbern/claude-instructions": "
|
|
73
|
+
"@wbern/claude-instructions": "^<!-- docs VERSION --><!-- /docs -->"
|
|
68
74
|
}
|
|
69
75
|
}
|
|
70
76
|
```
|