tlc-claude-code 1.5.3 → 1.5.4
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/.claude/commands/tlc/audit.md +129 -0
- package/.claude/commands/tlc/autofix.md +217 -0
- package/.claude/commands/tlc/bug.md +255 -0
- package/.claude/commands/tlc/build.md +731 -0
- package/.claude/commands/tlc/checklist.md +212 -0
- package/.claude/commands/tlc/ci.md +414 -0
- package/.claude/commands/tlc/claim.md +189 -0
- package/.claude/commands/tlc/cleanup.md +187 -0
- package/.claude/commands/tlc/complete.md +160 -0
- package/.claude/commands/tlc/config.md +395 -0
- package/.claude/commands/tlc/coverage.md +222 -0
- package/.claude/commands/tlc/deploy.md +723 -0
- package/.claude/commands/tlc/discuss.md +185 -0
- package/.claude/commands/tlc/docs.md +194 -0
- package/.claude/commands/tlc/edge-cases.md +241 -0
- package/.claude/commands/tlc/export.md +456 -0
- package/.claude/commands/tlc/help.md +169 -0
- package/.claude/commands/tlc/import-project.md +246 -0
- package/.claude/commands/tlc/init.md +443 -0
- package/.claude/commands/tlc/issues.md +376 -0
- package/.claude/commands/tlc/llm.md +111 -0
- package/.claude/commands/tlc/new-milestone.md +172 -0
- package/.claude/commands/tlc/new-project.md +399 -0
- package/.claude/commands/tlc/next.md +129 -0
- package/.claude/commands/tlc/outdated.md +200 -0
- package/.claude/commands/tlc/plan.md +224 -0
- package/.claude/commands/tlc/progress.md +153 -0
- package/.claude/commands/tlc/quality.md +185 -0
- package/.claude/commands/tlc/quick.md +52 -0
- package/.claude/commands/tlc/refactor.md +190 -0
- package/.claude/commands/tlc/release.md +135 -0
- package/.claude/commands/tlc/review-pr.md +184 -0
- package/.claude/commands/tlc/review.md +200 -0
- package/.claude/commands/tlc/security.md +195 -0
- package/.claude/commands/tlc/server.md +19 -0
- package/.claude/commands/tlc/start.md +137 -0
- package/.claude/commands/tlc/status.md +65 -0
- package/.claude/commands/tlc/sync.md +652 -0
- package/.claude/commands/tlc/tlc.md +279 -0
- package/.claude/commands/tlc/verify.md +159 -0
- package/.claude/commands/tlc/who.md +151 -0
- package/bin/postinstall.js +54 -0
- package/package.json +3 -1
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
# /tlc:export - Multi-Tool Support
|
|
2
|
+
|
|
3
|
+
Export TLC rules and context for other AI coding tools.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/tlc:export [format]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Formats:
|
|
12
|
+
- `agents` - AGENTS.md universal format
|
|
13
|
+
- `cursor` - Cursor rules
|
|
14
|
+
- `copilot` - GitHub Copilot instructions
|
|
15
|
+
- `continue` - Continue.dev config
|
|
16
|
+
- `cody` - Sourcegraph Cody
|
|
17
|
+
- `aider` - Aider conventions
|
|
18
|
+
- `all` - All formats
|
|
19
|
+
|
|
20
|
+
## AGENTS.md Universal Format
|
|
21
|
+
|
|
22
|
+
The `AGENTS.md` file is a universal standard for AI agent instructions:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
> /tlc:export agents
|
|
26
|
+
|
|
27
|
+
Creating AGENTS.md...
|
|
28
|
+
|
|
29
|
+
This file tells AI tools how to work with your project.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
# AGENTS.md
|
|
33
|
+
|
|
34
|
+
## Project Overview
|
|
35
|
+
|
|
36
|
+
This is a Node.js/Express API with React frontend.
|
|
37
|
+
Test framework: mocha/chai/sinon
|
|
38
|
+
|
|
39
|
+
## Coding Standards
|
|
40
|
+
|
|
41
|
+
### Test-First Development
|
|
42
|
+
|
|
43
|
+
ALWAYS write tests before implementation:
|
|
44
|
+
|
|
45
|
+
1. Create test file first
|
|
46
|
+
2. Write failing tests
|
|
47
|
+
3. Implement until tests pass
|
|
48
|
+
4. Refactor if needed
|
|
49
|
+
|
|
50
|
+
### Test Location
|
|
51
|
+
|
|
52
|
+
Tests go next to source files:
|
|
53
|
+
```
|
|
54
|
+
src/
|
|
55
|
+
auth/
|
|
56
|
+
login.js
|
|
57
|
+
login.test.js
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Test Framework
|
|
61
|
+
|
|
62
|
+
Use mocha with chai assertions:
|
|
63
|
+
```javascript
|
|
64
|
+
const { expect } = require('chai');
|
|
65
|
+
const sinon = require('sinon');
|
|
66
|
+
|
|
67
|
+
describe('login', () => {
|
|
68
|
+
it('returns user on valid credentials', async () => {
|
|
69
|
+
// Test code
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Task Management
|
|
75
|
+
|
|
76
|
+
Tasks are tracked in `.planning/phases/{N}-PLAN.md`:
|
|
77
|
+
|
|
78
|
+
```markdown
|
|
79
|
+
### Task 1: Description [status]
|
|
80
|
+
|
|
81
|
+
status markers:
|
|
82
|
+
- [ ] = available
|
|
83
|
+
- [>@user] = claimed
|
|
84
|
+
- [x@user] = completed
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Before starting work:
|
|
88
|
+
1. Check PLAN.md for available tasks
|
|
89
|
+
2. Claim task by updating marker to [>@yourname]
|
|
90
|
+
3. Work on the task
|
|
91
|
+
4. Mark complete when done [x@yourname]
|
|
92
|
+
|
|
93
|
+
## File Conventions
|
|
94
|
+
|
|
95
|
+
| Pattern | Purpose |
|
|
96
|
+
|---------|---------|
|
|
97
|
+
| `*.test.js` | Test files |
|
|
98
|
+
| `*.spec.js` | Alternative test files |
|
|
99
|
+
| `.planning/` | TLC planning files |
|
|
100
|
+
| `PROJECT.md` | Project overview |
|
|
101
|
+
| `CLAUDE.md` | Claude-specific instructions |
|
|
102
|
+
|
|
103
|
+
## Commands
|
|
104
|
+
|
|
105
|
+
When working on this project:
|
|
106
|
+
|
|
107
|
+
- Run tests: `npm test`
|
|
108
|
+
- Run single test: `npm test -- --grep "test name"`
|
|
109
|
+
- Watch mode: `npm run test:watch`
|
|
110
|
+
|
|
111
|
+
## Current State
|
|
112
|
+
|
|
113
|
+
Check `.planning/ROADMAP.md` for project status.
|
|
114
|
+
Check current phase PLAN.md for active tasks.
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
Created AGENTS.md in project root.
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Cursor Rules
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
> /tlc:export cursor
|
|
124
|
+
|
|
125
|
+
Creating .cursorrules...
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
# Cursor Rules for TLC Project
|
|
129
|
+
|
|
130
|
+
## Test-First Development
|
|
131
|
+
|
|
132
|
+
When implementing new features:
|
|
133
|
+
1. First, create or update test file
|
|
134
|
+
2. Write tests that fail
|
|
135
|
+
3. Then implement the code
|
|
136
|
+
4. Verify tests pass
|
|
137
|
+
|
|
138
|
+
## File Patterns
|
|
139
|
+
|
|
140
|
+
Tests: `{name}.test.js` next to source
|
|
141
|
+
Planning: `.planning/phases/{N}-PLAN.md`
|
|
142
|
+
|
|
143
|
+
## Testing
|
|
144
|
+
|
|
145
|
+
Framework: mocha + chai + sinon
|
|
146
|
+
|
|
147
|
+
Example:
|
|
148
|
+
```javascript
|
|
149
|
+
const { expect } = require('chai');
|
|
150
|
+
describe('feature', () => {
|
|
151
|
+
it('does something', () => {
|
|
152
|
+
expect(result).to.equal(expected);
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Run: `npm test`
|
|
158
|
+
|
|
159
|
+
## Task Workflow
|
|
160
|
+
|
|
161
|
+
Before coding:
|
|
162
|
+
1. Read current task from PLAN.md
|
|
163
|
+
2. Understand requirements
|
|
164
|
+
3. Write tests first
|
|
165
|
+
4. Then implement
|
|
166
|
+
|
|
167
|
+
## Code Style
|
|
168
|
+
|
|
169
|
+
- Use async/await over callbacks
|
|
170
|
+
- Prefer named exports
|
|
171
|
+
- Keep functions small (<30 lines)
|
|
172
|
+
- Document public APIs
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
Created .cursorrules
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## GitHub Copilot
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
> /tlc:export copilot
|
|
182
|
+
|
|
183
|
+
Creating .github/copilot-instructions.md...
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
# Copilot Instructions
|
|
187
|
+
|
|
188
|
+
## Project Context
|
|
189
|
+
|
|
190
|
+
Node.js Express API with React frontend.
|
|
191
|
+
Testing: mocha, chai, sinon, proxyquire
|
|
192
|
+
|
|
193
|
+
## Test-First Approach
|
|
194
|
+
|
|
195
|
+
Always suggest tests before implementation.
|
|
196
|
+
|
|
197
|
+
When asked to implement a feature:
|
|
198
|
+
1. First suggest test cases
|
|
199
|
+
2. Then implement the code
|
|
200
|
+
|
|
201
|
+
## Preferred Patterns
|
|
202
|
+
|
|
203
|
+
### Tests
|
|
204
|
+
```javascript
|
|
205
|
+
const { expect } = require('chai');
|
|
206
|
+
const sinon = require('sinon');
|
|
207
|
+
|
|
208
|
+
describe('module', () => {
|
|
209
|
+
afterEach(() => sinon.restore());
|
|
210
|
+
|
|
211
|
+
it('should do something', async () => {
|
|
212
|
+
// Arrange
|
|
213
|
+
const stub = sinon.stub();
|
|
214
|
+
|
|
215
|
+
// Act
|
|
216
|
+
const result = await fn();
|
|
217
|
+
|
|
218
|
+
// Assert
|
|
219
|
+
expect(result).to.deep.equal(expected);
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
### Async Functions
|
|
225
|
+
```javascript
|
|
226
|
+
async function getData() {
|
|
227
|
+
try {
|
|
228
|
+
const result = await fetch(url);
|
|
229
|
+
return result.json();
|
|
230
|
+
} catch (error) {
|
|
231
|
+
throw new ApiError('Failed to fetch', { cause: error });
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
## Files to Reference
|
|
237
|
+
|
|
238
|
+
- PROJECT.md - Project overview
|
|
239
|
+
- .planning/ROADMAP.md - Current progress
|
|
240
|
+
- .planning/phases/*-PLAN.md - Current tasks
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
Created .github/copilot-instructions.md
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
## Continue.dev
|
|
247
|
+
|
|
248
|
+
```
|
|
249
|
+
> /tlc:export continue
|
|
250
|
+
|
|
251
|
+
Creating .continue/config.json and rules...
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
{
|
|
255
|
+
"models": [],
|
|
256
|
+
"customCommands": [
|
|
257
|
+
{
|
|
258
|
+
"name": "test",
|
|
259
|
+
"description": "Write tests for selected code",
|
|
260
|
+
"prompt": "Write mocha/chai tests for this code. Include edge cases."
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "tlc",
|
|
264
|
+
"description": "TLC workflow guidance",
|
|
265
|
+
"prompt": "Based on the TLC workflow, what should I do next? Check PLAN.md for current tasks."
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"contextProviders": [
|
|
269
|
+
{
|
|
270
|
+
"name": "planning",
|
|
271
|
+
"params": {
|
|
272
|
+
"files": [
|
|
273
|
+
"PROJECT.md",
|
|
274
|
+
".planning/ROADMAP.md",
|
|
275
|
+
".planning/phases/*-PLAN.md"
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
"docs": [
|
|
281
|
+
{
|
|
282
|
+
"title": "TLC Workflow",
|
|
283
|
+
"startUrl": "https://github.com/your/tlc-docs"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
Created .continue/config.json
|
|
290
|
+
Created .continue/rules/tlc.md
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
## Sourcegraph Cody
|
|
294
|
+
|
|
295
|
+
```
|
|
296
|
+
> /tlc:export cody
|
|
297
|
+
|
|
298
|
+
Creating .cody/config.json...
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
{
|
|
302
|
+
"contextFilters": {
|
|
303
|
+
"include": [
|
|
304
|
+
"**/*.js",
|
|
305
|
+
"**/*.ts",
|
|
306
|
+
"**/*.test.js",
|
|
307
|
+
"PROJECT.md",
|
|
308
|
+
".planning/**/*.md"
|
|
309
|
+
],
|
|
310
|
+
"exclude": [
|
|
311
|
+
"**/node_modules/**",
|
|
312
|
+
"**/dist/**"
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"codebase": {
|
|
316
|
+
"testFramework": "mocha",
|
|
317
|
+
"testPattern": "*.test.{js,ts}"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
Created .cody/config.json
|
|
323
|
+
Created .cody/instructions.md
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
## Aider
|
|
327
|
+
|
|
328
|
+
```
|
|
329
|
+
> /tlc:export aider
|
|
330
|
+
|
|
331
|
+
Creating .aider.conf.yml...
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
# Aider Configuration for TLC
|
|
335
|
+
|
|
336
|
+
# Always include these files for context
|
|
337
|
+
read:
|
|
338
|
+
- PROJECT.md
|
|
339
|
+
- .planning/ROADMAP.md
|
|
340
|
+
|
|
341
|
+
# Test-first conventions
|
|
342
|
+
conventions:
|
|
343
|
+
- "Write tests before implementation"
|
|
344
|
+
- "Tests go in {name}.test.js next to source"
|
|
345
|
+
- "Use mocha/chai for testing"
|
|
346
|
+
|
|
347
|
+
# Lint/format settings
|
|
348
|
+
auto-lint: true
|
|
349
|
+
lint-cmd: npm run lint
|
|
350
|
+
|
|
351
|
+
# Test command
|
|
352
|
+
test-cmd: npm test
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
Created .aider.conf.yml
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
## Export All
|
|
359
|
+
|
|
360
|
+
```
|
|
361
|
+
> /tlc:export all
|
|
362
|
+
|
|
363
|
+
Exporting to all formats...
|
|
364
|
+
|
|
365
|
+
Created:
|
|
366
|
+
✓ AGENTS.md (universal)
|
|
367
|
+
✓ .cursorrules (Cursor)
|
|
368
|
+
✓ .github/copilot-instructions.md (Copilot)
|
|
369
|
+
✓ .continue/config.json (Continue)
|
|
370
|
+
✓ .cody/config.json (Cody)
|
|
371
|
+
✓ .aider.conf.yml (Aider)
|
|
372
|
+
|
|
373
|
+
All AI tools can now understand your TLC workflow!
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
## Keeping in Sync
|
|
377
|
+
|
|
378
|
+
When project changes, re-export:
|
|
379
|
+
|
|
380
|
+
```
|
|
381
|
+
> /tlc:export --update
|
|
382
|
+
|
|
383
|
+
Updating AI tool configurations...
|
|
384
|
+
|
|
385
|
+
Changes detected:
|
|
386
|
+
- Test framework: jest → mocha
|
|
387
|
+
- New phase added to roadmap
|
|
388
|
+
|
|
389
|
+
Updated:
|
|
390
|
+
✓ AGENTS.md
|
|
391
|
+
✓ .cursorrules
|
|
392
|
+
✓ .github/copilot-instructions.md
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
## Configuration
|
|
396
|
+
|
|
397
|
+
In `.tlc.json`:
|
|
398
|
+
|
|
399
|
+
```json
|
|
400
|
+
{
|
|
401
|
+
"export": {
|
|
402
|
+
"autoUpdate": true,
|
|
403
|
+
"formats": ["agents", "cursor", "copilot"],
|
|
404
|
+
"customRules": [
|
|
405
|
+
"Always use TypeScript strict mode",
|
|
406
|
+
"Prefer functional components in React"
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
## IDE Integration
|
|
413
|
+
|
|
414
|
+
### VS Code
|
|
415
|
+
|
|
416
|
+
With exported files, VS Code extensions will:
|
|
417
|
+
- Copilot: Follow instructions in `.github/copilot-instructions.md`
|
|
418
|
+
- Continue: Use `.continue/config.json`
|
|
419
|
+
- Cody: Use `.cody/instructions.md`
|
|
420
|
+
|
|
421
|
+
### Cursor
|
|
422
|
+
|
|
423
|
+
Cursor automatically reads `.cursorrules` from project root.
|
|
424
|
+
|
|
425
|
+
### JetBrains
|
|
426
|
+
|
|
427
|
+
JetBrains IDEs with AI Assistant read `AGENTS.md`.
|
|
428
|
+
|
|
429
|
+
## MCP Integration
|
|
430
|
+
|
|
431
|
+
For tools supporting Model Context Protocol:
|
|
432
|
+
|
|
433
|
+
```json
|
|
434
|
+
{
|
|
435
|
+
"mcp": {
|
|
436
|
+
"servers": {
|
|
437
|
+
"tlc": {
|
|
438
|
+
"command": "tlc-mcp-server",
|
|
439
|
+
"args": ["--project", "."]
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
This provides:
|
|
447
|
+
- Task list from PLAN.md
|
|
448
|
+
- Bug list from BUGS.md
|
|
449
|
+
- Project context from PROJECT.md
|
|
450
|
+
|
|
451
|
+
## Notes
|
|
452
|
+
|
|
453
|
+
- AGENTS.md is the universal format (works with most tools)
|
|
454
|
+
- Tool-specific files add extra features
|
|
455
|
+
- Re-export after major changes
|
|
456
|
+
- Commit these files to share with team
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# /tlc:help - Test-Led Development Commands
|
|
2
|
+
|
|
3
|
+
## Quick Start
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
/tlc
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Launches the visual dashboard. Detects where you are, shows what's next.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## All Commands
|
|
14
|
+
|
|
15
|
+
### The Smart Ones
|
|
16
|
+
|
|
17
|
+
| Command | What It Does |
|
|
18
|
+
|---------|--------------|
|
|
19
|
+
| `/tlc` | **Visual dashboard. Context-aware. Shows full status.** |
|
|
20
|
+
| `/tlc:next` | **Action-oriented. Shows what's next, asks once, then executes.** |
|
|
21
|
+
|
|
22
|
+
### Setup
|
|
23
|
+
|
|
24
|
+
| Command | What It Does |
|
|
25
|
+
|---------|--------------|
|
|
26
|
+
| `/tlc:new-project` | Start new project (discusses stack, creates roadmap) |
|
|
27
|
+
| `/tlc:init` | Add TLC to existing code |
|
|
28
|
+
| `/tlc:import-project` | Import multi-repo microservices architecture |
|
|
29
|
+
| `/tlc:coverage` | Find untested code, write tests |
|
|
30
|
+
|
|
31
|
+
### Build (rarely needed directly)
|
|
32
|
+
|
|
33
|
+
| Command | What It Does |
|
|
34
|
+
|---------|--------------|
|
|
35
|
+
| `/tlc:discuss` | Shape implementation approach |
|
|
36
|
+
| `/tlc:plan` | Create task plan |
|
|
37
|
+
| `/tlc:build` | Write tests → implement → verify |
|
|
38
|
+
| `/tlc:verify` | Human acceptance testing |
|
|
39
|
+
|
|
40
|
+
### Utility
|
|
41
|
+
|
|
42
|
+
| Command | What It Does |
|
|
43
|
+
|---------|--------------|
|
|
44
|
+
| `/tlc:status` | Test pass/fail counts |
|
|
45
|
+
| `/tlc:quick` | One-off task with tests |
|
|
46
|
+
| `/tlc:complete` | Tag release |
|
|
47
|
+
| `/tlc:new-milestone` | Start next version |
|
|
48
|
+
| `/tlc:config` | Configure test frameworks |
|
|
49
|
+
| `/tlc:bug` | Log a bug or feedback |
|
|
50
|
+
| `/tlc:server` | Start dashboard server for QA |
|
|
51
|
+
|
|
52
|
+
### Multi-User Collaboration
|
|
53
|
+
|
|
54
|
+
| Command | What It Does |
|
|
55
|
+
|---------|--------------|
|
|
56
|
+
| `/tlc:claim` | Claim a task (reserve for yourself) |
|
|
57
|
+
| `/tlc:release` | Release a claimed task |
|
|
58
|
+
| `/tlc:who` | Show who's working on what |
|
|
59
|
+
|
|
60
|
+
### Enterprise (v1.4+)
|
|
61
|
+
|
|
62
|
+
| Command | What It Does |
|
|
63
|
+
|---------|--------------|
|
|
64
|
+
| `/tlc:workspace` | Multi-repo workspace management |
|
|
65
|
+
| `/tlc:audit` | Audit logging with SIEM export |
|
|
66
|
+
| `/tlc:retention` | Zero-data-retention mode (HIPAA/PCI-DSS) |
|
|
67
|
+
| `/tlc:sso` | SSO integration (OAuth/SAML) |
|
|
68
|
+
| `/tlc:compliance` | SOC 2 compliance tooling |
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Workflow
|
|
73
|
+
|
|
74
|
+
**Simplest version:**
|
|
75
|
+
```
|
|
76
|
+
/tlc:next <- shows what's next, proceed? [Y/n], then executes
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Dashboard version:**
|
|
80
|
+
```
|
|
81
|
+
/tlc <- visual status, pick from options
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Detailed version:**
|
|
85
|
+
```
|
|
86
|
+
/tlc:new-project New project
|
|
87
|
+
↓
|
|
88
|
+
/tlc:next Automatically progresses through:
|
|
89
|
+
→ discuss → plan → build → verify
|
|
90
|
+
↓
|
|
91
|
+
/tlc:complete Tag release
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## What `/tlc` Does
|
|
97
|
+
|
|
98
|
+
Launches a visual terminal dashboard showing:
|
|
99
|
+
- Project overview and current phase
|
|
100
|
+
- Test status (pass/fail counts)
|
|
101
|
+
- Available actions
|
|
102
|
+
|
|
103
|
+
Navigate with keyboard, select actions directly from the UI.
|
|
104
|
+
|
|
105
|
+
Falls back to text mode if dashboard unavailable.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Philosophy
|
|
110
|
+
|
|
111
|
+
**Tests define behavior. Code makes tests pass.**
|
|
112
|
+
|
|
113
|
+
- Tests written BEFORE code
|
|
114
|
+
- Tests are the spec, not afterthought
|
|
115
|
+
- Human verification still happens
|
|
116
|
+
- No phase numbers to remember
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Installation
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npx tlc-claude-code
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Lives in `.claude/commands/tlc/`
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Agents
|
|
131
|
+
|
|
132
|
+
TLC includes specialized AI agents that handle research, planning, execution, and verification. Most are invoked automatically by commands.
|
|
133
|
+
|
|
134
|
+
### Research Agents
|
|
135
|
+
|
|
136
|
+
| Agent | Invoked By | Purpose |
|
|
137
|
+
|-------|------------|---------|
|
|
138
|
+
| `tlc-competitor-analyst` | `/tlc:new-project` | Competitive analysis |
|
|
139
|
+
| `tlc-market-researcher` | `/tlc:new-project` | Market landscape, user needs |
|
|
140
|
+
| `tlc-tech-researcher` | `/tlc:new-project`, `/tlc:plan` | Evaluate tech choices |
|
|
141
|
+
| `tlc-oss-reviewer` | `/tlc:new-project` | Learn from open source |
|
|
142
|
+
| `tlc-ux-researcher` | `/tlc:new-project` | UX patterns, accessibility |
|
|
143
|
+
| `tlc-security-researcher` | `/tlc:plan` | Security best practices |
|
|
144
|
+
| `tlc-api-analyst` | `/tlc:plan` | API design, integrations |
|
|
145
|
+
| `tlc-architecture-analyst` | `/tlc:new-project` | System architecture |
|
|
146
|
+
|
|
147
|
+
### Build Agents
|
|
148
|
+
|
|
149
|
+
| Agent | Invoked By | Purpose |
|
|
150
|
+
|-------|------------|---------|
|
|
151
|
+
| `tlc-planner` | `/tlc:plan` | Create test-first plans |
|
|
152
|
+
| `tlc-executor` | `/tlc:build` | Red → Green → Refactor |
|
|
153
|
+
| `tlc-coverage-analyzer` | `/tlc:coverage` | Find untested code |
|
|
154
|
+
| `tlc-verifier` | `/tlc:verify` | Goal-backward verification |
|
|
155
|
+
| `tlc-integration-checker` | `/tlc:verify` | E2E flow verification |
|
|
156
|
+
| `tlc-debugger` | Manual | Systematic debugging |
|
|
157
|
+
|
|
158
|
+
### Manual Agent Invocation
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
Task(subagent_type="tlc-{agent}", prompt="...")
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Example:
|
|
165
|
+
```
|
|
166
|
+
Task(subagent_type="tlc-competitor-analyst", prompt="Analyze CRM market competitors")
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Agent definitions are in the `agents/` folder.
|