tdd-claude-code 0.4.1 → 0.4.2

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
@@ -30,14 +30,12 @@ You use `/tdd:*` commands for everything. Never touch `/gsd:*` directly.
30
30
  /tdd:new-project New project from scratch
31
31
  OR
32
32
  /tdd:init Add TDD to existing codebase
33
- /tdd:coverage Analyze gaps, write retro tests (optional)
33
+ /tdd:coverage Write tests for existing code (optional)
34
34
 
35
- /tdd:discuss 1 Shape how phase 1 gets built
36
- /tdd:plan 1 Create task plans
37
- /tdd:build 1 Write tests → implement → tests pass ← TDD happens here
38
- /tdd:verify 1 Human acceptance testing
39
-
40
- ...repeat for each phase...
35
+ /tdd:discuss Shape how it gets built
36
+ /tdd:plan Create task plans
37
+ /tdd:build Write tests → implement → tests pass ← TDD happens here
38
+ /tdd:verify Human acceptance testing
41
39
 
42
40
  /tdd:complete Tag release
43
41
  ```
@@ -60,11 +58,11 @@ You run one command. Tests get written before code. Automatically.
60
58
  | `/tdd:new-project` | Start project with test infrastructure |
61
59
  | `/tdd:init` | Add TDD to existing codebase |
62
60
  | `/tdd:coverage` | Analyze gaps, write tests for existing code |
63
- | `/tdd:discuss [N]` | Capture implementation preferences |
64
- | `/tdd:plan [N]` | Create task plans |
65
- | `/tdd:build <N>` | **Write tests → implement → verify** |
66
- | `/tdd:verify [N]` | Human acceptance testing |
67
- | `/tdd:status [N]` | Check test pass/fail |
61
+ | `/tdd:discuss` | Capture implementation preferences |
62
+ | `/tdd:plan` | Create task plans |
63
+ | `/tdd:build` | **Write tests → implement → verify** |
64
+ | `/tdd:verify` | Human acceptance testing |
65
+ | `/tdd:status` | Check test pass/fail |
68
66
  | `/tdd:progress` | Where am I? |
69
67
  | `/tdd:quick` | Ad-hoc task with tests |
70
68
  | `/tdd:complete` | Tag release |
package/bin/install.js CHANGED
@@ -26,7 +26,7 @@ ${c.cyan} ████████╗██████╗ ██████
26
26
  ╚═╝ ╚═════╝ ╚═════╝${c.reset}
27
27
  `;
28
28
 
29
- const VERSION = '0.4.1';
29
+ const VERSION = '0.4.2';
30
30
 
31
31
  const COMMANDS = [
32
32
  'new-project.md',
package/build.md CHANGED
@@ -14,9 +14,11 @@ This is the core TDD command. Tests before code, automatically.
14
14
  ## Usage
15
15
 
16
16
  ```
17
- /tdd:build <phase_number>
17
+ /tdd:build [phase_number]
18
18
  ```
19
19
 
20
+ Phase number is optional. Defaults to 1.
21
+
20
22
  ## Process
21
23
 
22
24
  ### Step 1: Load Plans
package/help.md CHANGED
@@ -16,10 +16,12 @@ TDD-first workflow powered by GSD. You use `/tdd:*` for everything — tests hap
16
16
 
17
17
  | Command | What It Does |
18
18
  |---------|--------------|
19
- | `/tdd:discuss [N]` | Capture implementation preferences for phase N |
20
- | `/tdd:plan [N]` | Research and create task plans for phase N |
21
- | `/tdd:build <N>` | **Write tests → implement → verify tests pass** |
22
- | `/tdd:verify [N]` | Human acceptance testing |
19
+ | `/tdd:discuss` | Capture implementation preferences |
20
+ | `/tdd:plan` | Research and create task plans |
21
+ | `/tdd:build` | **Write tests → implement → verify tests pass** |
22
+ | `/tdd:verify` | Human acceptance testing |
23
+
24
+ Phase number optional. Defaults to 1.
23
25
 
24
26
  ### Navigation
25
27
 
@@ -48,20 +50,14 @@ TDD-first workflow powered by GSD. You use `/tdd:*` for everything — tests hap
48
50
  /tdd:new-project New project from scratch
49
51
  OR
50
52
  /tdd:init Existing codebase
51
- /tdd:coverage Analyze gaps, write retro tests (optional)
52
-
53
- /tdd:discuss 1 Shape how phase 1 gets built
54
- /tdd:plan 1 Create task plans
55
- /tdd:build 1 Write tests → implement → tests pass
56
- /tdd:verify 1 Human acceptance testing
53
+ /tdd:coverage Write tests for existing code (optional)
57
54
 
58
- /tdd:discuss 2 Repeat for each phase...
59
- /tdd:plan 2
60
- /tdd:build 2
61
- /tdd:verify 2
55
+ /tdd:discuss Shape how it gets built
56
+ /tdd:plan Create task plans
57
+ /tdd:build Write tests → implement → tests pass
58
+ /tdd:verify Human acceptance testing
62
59
 
63
60
  /tdd:complete Tag release
64
- /tdd:new-milestone Start v2
65
61
  ```
66
62
 
67
63
  ## What Happens in `/tdd:build`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tdd-claude-code",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "TDD workflow for Claude Code - wraps GSD",
5
5
  "bin": {
6
6
  "tdd-claude-code": "./bin/install.js"