Skip to content

Commit 0a07138

Browse files
author
catlog22
committed
feat: Add ccw-cli-tools skill specification with unified execution framework and configuration-driven tool selection
1 parent a5d9e8c commit 0a07138

3 files changed

Lines changed: 623 additions & 22 deletions

File tree

.claude/commands/workflow/debug-with-file.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Enhanced evidence-based debugging with **documented exploration process**. Recor
1717

1818
**Core workflow**: Explore → Document → Log → Analyze → Correct Understanding → Fix → Verify
1919

20+
**Scope**: Adds temporary debug logging to observe program state; cleans up all instrumentation after resolution. Does NOT execute code injection, security testing, or modify program behavior.
21+
2022
**Key enhancements over /workflow:debug**:
2123
- **understanding.md**: Timeline of exploration and learning
2224
- **Gemini-assisted correction**: Validates and corrects hypotheses
@@ -44,7 +46,7 @@ Explore Mode:
4446
├─ Locate error source in codebase
4547
├─ Document initial understanding in understanding.md
4648
├─ Generate testable hypotheses with Gemini validation
47-
├─ Add NDJSON logging instrumentation
49+
├─ Add NDJSON debug logging statements
4850
└─ Output: Hypothesis list + await user reproduction
4951
5052
Analyze Mode:
@@ -216,9 +218,9 @@ Save Gemini output to `hypotheses.json`:
216218
}
217219
```
218220

219-
**Step 1.4: Add NDJSON Instrumentation**
221+
**Step 1.4: Add NDJSON Debug Logging**
220222

221-
For each hypothesis, add logging (same as original debug command).
223+
For each hypothesis, add temporary logging statements to observe program state at key execution points. Use NDJSON format for structured log parsing. These are read-only observations that do not modify program behavior.
222224

223225
**Step 1.5: Update understanding.md**
224226

@@ -441,7 +443,7 @@ What we learned from this debugging session:
441443

442444
**Step 3.3: Cleanup**
443445

444-
Remove debug instrumentation (same as original command).
446+
Remove all temporary debug logging statements added during investigation. Verify no instrumentation code remains in production code.
445447

446448
---
447449

@@ -647,7 +649,7 @@ Why is config value None during update?
647649

648650
| Feature | /workflow:debug | /workflow:debug-with-file |
649651
|---------|-----------------|---------------------------|
650-
| NDJSON logging |||
652+
| NDJSON debug logging |||
651653
| Hypothesis generation | Manual | Gemini-assisted |
652654
| Exploration documentation || ✅ understanding.md |
653655
| Understanding evolution || ✅ Timeline + corrections |

0 commit comments

Comments
 (0)