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.
Files changed (43) hide show
  1. package/.claude/commands/tlc/audit.md +129 -0
  2. package/.claude/commands/tlc/autofix.md +217 -0
  3. package/.claude/commands/tlc/bug.md +255 -0
  4. package/.claude/commands/tlc/build.md +731 -0
  5. package/.claude/commands/tlc/checklist.md +212 -0
  6. package/.claude/commands/tlc/ci.md +414 -0
  7. package/.claude/commands/tlc/claim.md +189 -0
  8. package/.claude/commands/tlc/cleanup.md +187 -0
  9. package/.claude/commands/tlc/complete.md +160 -0
  10. package/.claude/commands/tlc/config.md +395 -0
  11. package/.claude/commands/tlc/coverage.md +222 -0
  12. package/.claude/commands/tlc/deploy.md +723 -0
  13. package/.claude/commands/tlc/discuss.md +185 -0
  14. package/.claude/commands/tlc/docs.md +194 -0
  15. package/.claude/commands/tlc/edge-cases.md +241 -0
  16. package/.claude/commands/tlc/export.md +456 -0
  17. package/.claude/commands/tlc/help.md +169 -0
  18. package/.claude/commands/tlc/import-project.md +246 -0
  19. package/.claude/commands/tlc/init.md +443 -0
  20. package/.claude/commands/tlc/issues.md +376 -0
  21. package/.claude/commands/tlc/llm.md +111 -0
  22. package/.claude/commands/tlc/new-milestone.md +172 -0
  23. package/.claude/commands/tlc/new-project.md +399 -0
  24. package/.claude/commands/tlc/next.md +129 -0
  25. package/.claude/commands/tlc/outdated.md +200 -0
  26. package/.claude/commands/tlc/plan.md +224 -0
  27. package/.claude/commands/tlc/progress.md +153 -0
  28. package/.claude/commands/tlc/quality.md +185 -0
  29. package/.claude/commands/tlc/quick.md +52 -0
  30. package/.claude/commands/tlc/refactor.md +190 -0
  31. package/.claude/commands/tlc/release.md +135 -0
  32. package/.claude/commands/tlc/review-pr.md +184 -0
  33. package/.claude/commands/tlc/review.md +200 -0
  34. package/.claude/commands/tlc/security.md +195 -0
  35. package/.claude/commands/tlc/server.md +19 -0
  36. package/.claude/commands/tlc/start.md +137 -0
  37. package/.claude/commands/tlc/status.md +65 -0
  38. package/.claude/commands/tlc/sync.md +652 -0
  39. package/.claude/commands/tlc/tlc.md +279 -0
  40. package/.claude/commands/tlc/verify.md +159 -0
  41. package/.claude/commands/tlc/who.md +151 -0
  42. package/bin/postinstall.js +54 -0
  43. package/package.json +3 -1
@@ -0,0 +1,376 @@
1
+ # /tlc:issues - Issue Tracker Integration
2
+
3
+ Sync TLC tasks and bugs with external issue trackers.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /tlc:issues [command]
9
+ ```
10
+
11
+ Commands:
12
+ - `setup` - Configure issue tracker
13
+ - `sync` - Sync tasks/bugs with tracker
14
+ - `import` - Import issues as tasks
15
+ - `export` - Export tasks as issues
16
+ - `link` - Link task to existing issue
17
+
18
+ ## Supported Trackers
19
+
20
+ | Tracker | Tasks | Bugs | Two-Way Sync |
21
+ |---------|-------|------|--------------|
22
+ | GitHub Issues | ✓ | ✓ | ✓ |
23
+ | GitLab Issues | ✓ | ✓ | ✓ |
24
+ | Jira | ✓ | ✓ | ✓ |
25
+ | Linear | ✓ | ✓ | ✓ |
26
+ | Trello | ✓ | ✓ | One-way |
27
+ | Asana | ✓ | ✓ | One-way |
28
+
29
+ ## Setup
30
+
31
+ ### GitHub Issues
32
+
33
+ ```
34
+ > /tlc:issues setup
35
+
36
+ Detected: GitHub (github.com/acme/myproject)
37
+
38
+ GitHub Issues requires a Personal Access Token.
39
+ Create one at: https://github.com/settings/tokens
40
+
41
+ Token needs: repo scope
42
+
43
+ Enter token (or press Enter to skip): ghp_xxxx
44
+
45
+ Testing connection...
46
+ ✓ Connected to acme/myproject
47
+ ✓ Found 12 open issues
48
+
49
+ Configuration saved to .tlc.json
50
+
51
+ Labels to create for TLC:
52
+ - tlc:task (blue)
53
+ - tlc:bug (red)
54
+ - tlc:phase-N (gray)
55
+
56
+ Create labels? (Y/n)
57
+ ```
58
+
59
+ ### Jira
60
+
61
+ ```
62
+ > /tlc:issues setup --jira
63
+
64
+ Jira Configuration:
65
+
66
+ Instance URL: https://acme.atlassian.net
67
+ Project Key: PROJ
68
+ Email: alice@acme.com
69
+ API Token: (from https://id.atlassian.com/manage/api-tokens)
70
+
71
+ Testing connection...
72
+ ✓ Connected to PROJ
73
+ ✓ Found 45 issues
74
+
75
+ Issue type mapping:
76
+ TLC Task → Jira Task
77
+ TLC Bug → Jira Bug
78
+
79
+ Create TLC label in Jira? (Y/n)
80
+ ```
81
+
82
+ ### Linear
83
+
84
+ ```
85
+ > /tlc:issues setup --linear
86
+
87
+ Linear Configuration:
88
+
89
+ API Key: (from Settings > API)
90
+ Team: Engineering
91
+
92
+ Testing connection...
93
+ ✓ Connected to Engineering team
94
+ ✓ Found 23 issues
95
+
96
+ Label mapping:
97
+ TLC Task → Linear Issue
98
+ TLC Bug → Linear Bug (type)
99
+
100
+ Sync project labels? (Y/n)
101
+ ```
102
+
103
+ ## Configuration
104
+
105
+ In `.tlc.json`:
106
+
107
+ ```json
108
+ {
109
+ "issues": {
110
+ "provider": "github",
111
+ "autoSync": true,
112
+ "syncOnCommit": true,
113
+ "labelPrefix": "tlc:",
114
+ "mapping": {
115
+ "task": "Task",
116
+ "bug": "Bug"
117
+ },
118
+ "github": {
119
+ "owner": "acme",
120
+ "repo": "myproject",
121
+ "labels": {
122
+ "task": "tlc:task",
123
+ "bug": "tlc:bug"
124
+ }
125
+ }
126
+ }
127
+ }
128
+ ```
129
+
130
+ ## Sync Tasks
131
+
132
+ ### Export to Issue Tracker
133
+
134
+ ```
135
+ > /tlc:issues sync
136
+
137
+ Phase 2: User Authentication
138
+
139
+ Tasks:
140
+ 1. Create login form [ ] → Create issue? (Y/n)
141
+ 2. Add validation [>@alice] → Already linked: #45
142
+ 3. Password reset [ ] → Create issue? (Y/n)
143
+
144
+ Creating issues...
145
+ ✓ Task 1 → #78: Create login form
146
+ ✓ Task 3 → #79: Password reset
147
+
148
+ Updated PLAN.md with issue links.
149
+ ```
150
+
151
+ ### Import from Issue Tracker
152
+
153
+ ```
154
+ > /tlc:issues import
155
+
156
+ Fetching issues with label 'tlc:task'...
157
+
158
+ Found 5 unlinked issues:
159
+ #80: Add email validation
160
+ #81: Rate limiting
161
+ #82: Session management
162
+ #83: OAuth integration
163
+ #84: 2FA support
164
+
165
+ Import as tasks in current phase? (Y/n) y
166
+
167
+ Added to Phase 2:
168
+ Task 5: Add email validation [#80]
169
+ Task 6: Rate limiting [#81]
170
+ Task 7: Session management [#82]
171
+ Task 8: OAuth integration [#83]
172
+ Task 9: 2FA support [#84]
173
+ ```
174
+
175
+ ## Link Task to Issue
176
+
177
+ ```
178
+ > /tlc:issues link 3 #45
179
+
180
+ Linked Task 3 to GitHub Issue #45
181
+
182
+ PLAN.md updated:
183
+ ### Task 3: Password reset [ ] <!-- #45 -->
184
+ ```
185
+
186
+ ## Bug Sync
187
+
188
+ Bugs from `/tlc:bug` can auto-create issues:
189
+
190
+ ```
191
+ > /tlc:bug "Login button doesn't work on mobile"
192
+
193
+ Bug BUG-012 created.
194
+
195
+ Create GitHub issue? (Y/n) y
196
+
197
+ Created: #85 - [BUG] Login button doesn't work on mobile
198
+ Labels: tlc:bug, bug
199
+ Linked in BUGS.md
200
+ ```
201
+
202
+ ## Two-Way Sync
203
+
204
+ When enabled, changes sync both ways:
205
+
206
+ ### Issue → TLC
207
+
208
+ - Issue closed → Task marked complete
209
+ - Issue assigned → Task claimed
210
+ - Issue labeled → Status updated
211
+
212
+ ### TLC → Issue
213
+
214
+ - Task completed → Issue closed
215
+ - Task claimed → Issue assigned
216
+ - Bug created → Issue created
217
+
218
+ ## Sync on Commit
219
+
220
+ With `syncOnCommit: true`, issue references in commits update status:
221
+
222
+ ```bash
223
+ git commit -m "Add login form validation
224
+
225
+ Fixes #45
226
+ Closes #78"
227
+ ```
228
+
229
+ TLC automatically:
230
+ - Marks linked tasks as complete
231
+ - Updates PLAN.md status markers
232
+ - Syncs with issue tracker
233
+
234
+ ## Jira-Specific Features
235
+
236
+ ### Sprint Integration
237
+
238
+ ```
239
+ > /tlc:issues sync --sprint
240
+
241
+ Current Sprint: Sprint 23
242
+
243
+ Tasks not in sprint:
244
+ Task 1: Create login form
245
+ Task 3: Password reset
246
+
247
+ Add to sprint? (Y/n)
248
+ ```
249
+
250
+ ### Story Points
251
+
252
+ ```json
253
+ {
254
+ "issues": {
255
+ "jira": {
256
+ "storyPointsField": "customfield_10016",
257
+ "defaultPoints": 3
258
+ }
259
+ }
260
+ }
261
+ ```
262
+
263
+ ### Epic Linking
264
+
265
+ ```
266
+ > /tlc:issues link-epic PROJ-100
267
+
268
+ Linked Phase 2 to Epic PROJ-100
269
+
270
+ All Phase 2 tasks now belong to this epic.
271
+ ```
272
+
273
+ ## Linear-Specific Features
274
+
275
+ ### Cycle Integration
276
+
277
+ ```
278
+ > /tlc:issues sync --cycle
279
+
280
+ Current Cycle: Week 45
281
+
282
+ Unassigned tasks:
283
+ Task 1: Create login form
284
+
285
+ Add to cycle? (Y/n)
286
+ ```
287
+
288
+ ### Project Linking
289
+
290
+ ```
291
+ > /tlc:issues link-project "Authentication Overhaul"
292
+
293
+ Linked Phase 2 to Linear Project.
294
+ ```
295
+
296
+ ## Webhooks (Advanced)
297
+
298
+ For real-time sync, configure webhooks:
299
+
300
+ ### GitHub
301
+
302
+ ```
303
+ Webhook URL: https://your-server.com/tlc/webhook/github
304
+ Events: Issues, Issue comments
305
+ ```
306
+
307
+ ### Jira
308
+
309
+ ```
310
+ Webhook URL: https://your-server.com/tlc/webhook/jira
311
+ Events: Issue created, updated, deleted
312
+ ```
313
+
314
+ ## Example Workflow
315
+
316
+ ```
317
+ # 1. Setup integration
318
+ > /tlc:issues setup
319
+
320
+ # 2. Plan phase - creates issues
321
+ > /tlc:plan
322
+ Creating tasks...
323
+ Syncing to GitHub Issues...
324
+ ✓ Task 1 → #90
325
+ ✓ Task 2 → #91
326
+ ✓ Task 3 → #92
327
+
328
+ # 3. Work on task - claim syncs
329
+ > /tlc:claim 1
330
+ Claimed Task 1
331
+ GitHub #90 assigned to @alice
332
+
333
+ # 4. Complete task - closes issue
334
+ > /tlc:build
335
+ Task 1 complete
336
+ Closing GitHub #90...
337
+
338
+ # 5. Import new issues from tracker
339
+ > /tlc:issues import
340
+ Found 2 new issues
341
+ Added as Task 4, Task 5
342
+ ```
343
+
344
+ ## Troubleshooting
345
+
346
+ ### Token Issues
347
+
348
+ ```
349
+ Error: 401 Unauthorized
350
+
351
+ Check:
352
+ - Token has correct scopes (repo for GitHub)
353
+ - Token not expired
354
+ - URL correct for Jira/Linear
355
+ ```
356
+
357
+ ### Sync Conflicts
358
+
359
+ ```
360
+ Conflict: Task 3 modified in both TLC and GitHub
361
+
362
+ TLC: Task 3: Add validation [x@alice]
363
+ GitHub: #45: Add validation (Open, @bob)
364
+
365
+ Resolve:
366
+ 1) Keep TLC version (mark task complete)
367
+ 2) Keep GitHub version (reopen task)
368
+ 3) Manual merge
369
+ ```
370
+
371
+ ## Notes
372
+
373
+ - Tokens stored in `.tlc.json` (add to .gitignore if needed)
374
+ - Use environment variables for CI: `TLC_GITHUB_TOKEN`
375
+ - Sync is incremental (only changed items)
376
+ - Offline changes queue and sync when connected
@@ -0,0 +1,111 @@
1
+ # /tlc:llm - Multi-Model Configuration
2
+
3
+ Configure and manage multiple LLM providers (Claude, Codex, Gemini, etc.)
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /tlc:llm config # Interactive setup wizard
9
+ /tlc:llm status # Show detected providers and their status
10
+ /tlc:llm models # List available models
11
+ /tlc:llm test # Test all configured providers
12
+ ```
13
+
14
+ ## Process
15
+
16
+ ### /tlc:llm config
17
+
18
+ Interactive setup to configure providers in `.tlc.json`:
19
+
20
+ 1. **Detect installed CLIs** - Scan PATH for claude, codex, gemini
21
+ 2. **Configure capabilities** - Map tasks to providers:
22
+ - `review` → Claude, Codex (consensus)
23
+ - `code-gen` → Claude (primary)
24
+ - `vision` → Gemini
25
+ - `design` → Gemini
26
+ 3. **Set fallbacks** - What to use if primary fails
27
+ 4. **Save to .tlc.json**
28
+
29
+ ### /tlc:llm status
30
+
31
+ Show current configuration:
32
+
33
+ ```
34
+ Providers:
35
+ claude ✓ /usr/local/bin/claude [review, code-gen, refactor]
36
+ codex ✓ /usr/local/bin/codex [review, code-gen]
37
+ gemini ✗ not found [design, vision]
38
+
39
+ Capabilities:
40
+ review → claude, codex (fallback: claude)
41
+ code-gen → claude
42
+ vision → gemini (unavailable)
43
+ ```
44
+
45
+ ### /tlc:llm models
46
+
47
+ List models available from each provider.
48
+
49
+ ### /tlc:llm test
50
+
51
+ Test each provider with a simple prompt to verify connectivity.
52
+
53
+ ## Manual Configuration
54
+
55
+ Add to `.tlc.json`:
56
+
57
+ ```json
58
+ {
59
+ "router": {
60
+ "providers": {
61
+ "claude": {
62
+ "type": "cli",
63
+ "command": "claude",
64
+ "capabilities": ["review", "code-gen", "refactor"]
65
+ },
66
+ "codex": {
67
+ "type": "cli",
68
+ "command": "codex",
69
+ "capabilities": ["review", "code-gen"]
70
+ },
71
+ "gemini": {
72
+ "type": "cli",
73
+ "command": "gemini",
74
+ "capabilities": ["design", "vision"]
75
+ }
76
+ },
77
+ "capabilities": {
78
+ "review": { "providers": ["claude", "codex"], "fallback": "claude" },
79
+ "code-gen": { "providers": ["claude"] },
80
+ "design": { "providers": ["gemini"] },
81
+ "vision": { "providers": ["gemini"] }
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ ## Installing Providers
88
+
89
+ ### Claude CLI
90
+ ```bash
91
+ npm install -g @anthropic-ai/claude-code
92
+ ```
93
+
94
+ ### Codex CLI (OpenAI)
95
+ ```bash
96
+ npm install -g @openai/codex
97
+ ```
98
+
99
+ ### Gemini CLI (Google)
100
+ ```bash
101
+ # Check Google's official package name
102
+ npm install -g @google/gemini-cli
103
+ ```
104
+
105
+ ## Verify Installation
106
+
107
+ ```bash
108
+ which claude codex gemini
109
+ ```
110
+
111
+ All three should return paths. If not, add to your PATH.
@@ -0,0 +1,172 @@
1
+ # /tlc:new-milestone - Start Next Version
2
+
3
+ Begin the next milestone after completing the previous one.
4
+
5
+ ## What This Does
6
+
7
+ 1. Gathers requirements for next version
8
+ 2. Creates new roadmap with phases
9
+ 3. Prepares for development
10
+
11
+ ## Usage
12
+
13
+ ```
14
+ /tlc:new-milestone [name]
15
+ ```
16
+
17
+ Example:
18
+ ```
19
+ /tlc:new-milestone v2.0
20
+ ```
21
+
22
+ ## Process
23
+
24
+ ### Step 1: Check Previous Milestone
25
+
26
+ Verify previous milestone is complete:
27
+ - All phases verified
28
+ - Git tag exists
29
+ - Files archived
30
+
31
+ If not complete:
32
+ ```
33
+ Previous milestone not complete.
34
+
35
+ Run /tlc:complete first.
36
+ ```
37
+
38
+ ### Step 2: Name the Milestone
39
+
40
+ If not provided:
41
+ ```
42
+ What's the next version?
43
+
44
+ 1) v2.0 (major - breaking changes)
45
+ 2) v1.1 (minor - new features)
46
+ 3) v1.0.1 (patch - bug fixes)
47
+ 4) Custom name
48
+
49
+ >
50
+ ```
51
+
52
+ ### Step 3: Gather Requirements
53
+
54
+ ```
55
+ What's new in {version}?
56
+
57
+ Describe the main goals for this milestone:
58
+ >
59
+ ```
60
+
61
+ Follow-up questions:
62
+ ```
63
+ Any specific features planned?
64
+ -
65
+ -
66
+ -
67
+
68
+ Breaking changes from v1.0?
69
+
70
+ Target timeline?
71
+ ```
72
+
73
+ ### Step 4: Create Roadmap
74
+
75
+ Based on requirements, create phases:
76
+
77
+ ```
78
+ Milestone: v2.0
79
+
80
+ Proposed phases:
81
+
82
+ 1. API v2 - New endpoint structure
83
+ 2. Dashboard Redesign - Updated UI
84
+ 3. Team Features - Multi-user support
85
+ 4. Performance - Caching, optimization
86
+
87
+ Look good? (Y/n/adjust)
88
+ ```
89
+
90
+ ### Step 5: Save Roadmap
91
+
92
+ Create `.planning/ROADMAP.md`:
93
+
94
+ ```markdown
95
+ # Roadmap - v2.0
96
+
97
+ ## Overview
98
+
99
+ {Description of milestone goals}
100
+
101
+ ## Phases
102
+
103
+ ### Phase 1: API v2
104
+ Restructure API endpoints for v2 compatibility.
105
+
106
+ ### Phase 2: Dashboard Redesign
107
+ Update UI with new design system.
108
+
109
+ ### Phase 3: Team Features
110
+ Add multi-user support and permissions.
111
+
112
+ ### Phase 4: Performance
113
+ Implement caching and optimize queries.
114
+
115
+ ## Timeline
116
+
117
+ Target: {date}
118
+
119
+ ## Notes
120
+
121
+ {Any constraints or considerations}
122
+ ```
123
+
124
+ ### Step 6: Update PROJECT.md
125
+
126
+ Add new milestone section:
127
+ ```markdown
128
+ ## Current Milestone: v2.0
129
+
130
+ Goal: {description}
131
+
132
+ Phases: 4
133
+ Status: Not started
134
+ ```
135
+
136
+ ### Step 7: Ready to Build
137
+
138
+ ```
139
+ ✅ Milestone v2.0 created!
140
+
141
+ Roadmap: .planning/ROADMAP.md
142
+ Phases: 4
143
+
144
+ Start with /tlc to begin Phase 1.
145
+ ```
146
+
147
+ ## Example
148
+
149
+ ```
150
+ > /tlc:new-milestone
151
+
152
+ Previous milestone v1.0 complete ✓
153
+
154
+ Version name? > v2.0
155
+
156
+ What's new in v2.0?
157
+ > Adding team features and redesigning the dashboard
158
+
159
+ Breaking changes? > API endpoints will change
160
+
161
+ Proposed phases:
162
+ 1. API v2 - New structure
163
+ 2. Dashboard Redesign
164
+ 3. Team Features
165
+ 4. Migration Tools
166
+
167
+ Proceed? (Y/n) > y
168
+
169
+ ✅ v2.0 roadmap created!
170
+
171
+ Run /tlc to start Phase 1.
172
+ ```