tlc-claude-code 2.4.7 → 2.4.8
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# /tlc:build - Build a Phase (Test-First)
|
|
2
2
|
|
|
3
|
-
Write failing tests, then implement to make them pass.
|
|
3
|
+
Write failing tests, then implement to make them pass. **Includes auto-review with fix loop** — after implementation, build automatically reviews code (security, coverage, standards), fixes any issues found, and re-reviews until clean (max 5 iterations). You do NOT need to run `/tlc:review` separately after build.
|
|
4
4
|
|
|
5
5
|
## Routing
|
|
6
6
|
|
|
@@ -267,7 +267,7 @@ This project uses **TLC (Test-Led Coding)** for all planning and development.
|
|
|
267
267
|
|--------|---------|
|
|
268
268
|
| See status | `/tlc` or `/tlc:progress` |
|
|
269
269
|
| Plan a phase | `/tlc:plan` |
|
|
270
|
-
| Build (test-first) | `/tlc:build` |
|
|
270
|
+
| Build (test-first + auto-review) | `/tlc:build` |
|
|
271
271
|
| Verify with human | `/tlc:verify` |
|
|
272
272
|
| Log a bug | `/tlc:bug` |
|
|
273
273
|
| Remember/log/note | `/tlc:remember` |
|
|
@@ -275,10 +275,11 @@ This project uses **TLC (Test-Led Coding)** for all planning and development.
|
|
|
275
275
|
|
|
276
276
|
## Test-First Development
|
|
277
277
|
|
|
278
|
-
All implementation follows **Red → Green → Refactor**:
|
|
278
|
+
All implementation follows **Red → Green → Refactor → Review**:
|
|
279
279
|
1. **Red**: Write failing tests that define expected behavior
|
|
280
280
|
2. **Green**: Write minimum code to make tests pass
|
|
281
281
|
3. **Refactor**: Clean up while keeping tests green
|
|
282
|
+
4. **Review**: Auto-review checks security, coverage, standards — fixes issues and re-reviews until clean (up to 5 iterations). Built into `/tlc:build`, not a separate step.
|
|
282
283
|
```
|
|
283
284
|
|
|
284
285
|
### 9b. Create Claude Settings with Permissions AND Hooks (Automatic)
|