@qazuor/claude-code-config 0.1.0
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/LICENSE +21 -0
- package/README.md +1248 -0
- package/dist/bin.cjs +11886 -0
- package/dist/bin.cjs.map +1 -0
- package/dist/bin.d.cts +1 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +11869 -0
- package/dist/bin.js.map +1 -0
- package/dist/index.cjs +3887 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1325 -0
- package/dist/index.d.ts +1325 -0
- package/dist/index.js +3835 -0
- package/dist/index.js.map +1 -0
- package/package.json +86 -0
- package/templates/.log/notifications.log +1775 -0
- package/templates/agents/README.md +164 -0
- package/templates/agents/_registry.json +443 -0
- package/templates/agents/design/content-writer.md +353 -0
- package/templates/agents/design/ux-ui-designer.md +382 -0
- package/templates/agents/engineering/astro-engineer.md +293 -0
- package/templates/agents/engineering/db-drizzle-engineer.md +360 -0
- package/templates/agents/engineering/express-engineer.md +316 -0
- package/templates/agents/engineering/fastify-engineer.md +399 -0
- package/templates/agents/engineering/hono-engineer.md +263 -0
- package/templates/agents/engineering/mongoose-engineer.md +473 -0
- package/templates/agents/engineering/nestjs-engineer.md +429 -0
- package/templates/agents/engineering/nextjs-engineer.md +451 -0
- package/templates/agents/engineering/node-typescript-engineer.md +347 -0
- package/templates/agents/engineering/prisma-engineer.md +432 -0
- package/templates/agents/engineering/react-senior-dev.md +394 -0
- package/templates/agents/engineering/tanstack-start-engineer.md +447 -0
- package/templates/agents/engineering/tech-lead.md +269 -0
- package/templates/agents/product/product-functional.md +329 -0
- package/templates/agents/product/product-technical.md +578 -0
- package/templates/agents/quality/debugger.md +514 -0
- package/templates/agents/quality/qa-engineer.md +390 -0
- package/templates/agents/specialized/enrichment-agent.md +277 -0
- package/templates/agents/specialized/i18n-specialist.md +322 -0
- package/templates/agents/specialized/seo-ai-specialist.md +387 -0
- package/templates/agents/specialized/tech-writer.md +300 -0
- package/templates/code-style/.editorconfig +27 -0
- package/templates/code-style/.prettierignore +25 -0
- package/templates/code-style/.prettierrc +12 -0
- package/templates/code-style/biome.json +78 -0
- package/templates/code-style/commitlint.config.js +44 -0
- package/templates/commands/README.md +175 -0
- package/templates/commands/_registry.json +420 -0
- package/templates/commands/add-new-entity.md +211 -0
- package/templates/commands/audit/accessibility-audit.md +360 -0
- package/templates/commands/audit/performance-audit.md +290 -0
- package/templates/commands/audit/security-audit.md +231 -0
- package/templates/commands/code-check.md +127 -0
- package/templates/commands/five-why.md +225 -0
- package/templates/commands/formatting/format-markdown.md +197 -0
- package/templates/commands/git/commit.md +247 -0
- package/templates/commands/meta/create-agent.md +257 -0
- package/templates/commands/meta/create-command.md +312 -0
- package/templates/commands/meta/create-skill.md +321 -0
- package/templates/commands/meta/help.md +318 -0
- package/templates/commands/planning/check-completed-tasks.md +224 -0
- package/templates/commands/planning/cleanup-issues.md +248 -0
- package/templates/commands/planning/planning-cleanup.md +251 -0
- package/templates/commands/planning/sync-planning-github.md +133 -0
- package/templates/commands/planning/sync-todos-github.md +203 -0
- package/templates/commands/quality-check.md +211 -0
- package/templates/commands/run-tests.md +159 -0
- package/templates/commands/start-feature-plan.md +232 -0
- package/templates/commands/start-refactor-plan.md +244 -0
- package/templates/commands/sync-planning.md +176 -0
- package/templates/commands/update-docs.md +242 -0
- package/templates/docs/CHECKPOINT-SYSTEM.md +504 -0
- package/templates/docs/INDEX.md +677 -0
- package/templates/docs/RECOMMENDED-HOOKS.md +415 -0
- package/templates/docs/_registry.json +329 -0
- package/templates/docs/diagrams/README.md +220 -0
- package/templates/docs/diagrams/agent-hierarchy.mmd +55 -0
- package/templates/docs/diagrams/documentation-map.mmd +61 -0
- package/templates/docs/diagrams/tools-relationship.mmd +55 -0
- package/templates/docs/diagrams/workflow-decision-tree.mmd +38 -0
- package/templates/docs/doc-sync.md +533 -0
- package/templates/docs/examples/end-to-end-workflow.md +1505 -0
- package/templates/docs/glossary.md +495 -0
- package/templates/docs/guides/mockup-prompt-engineering.md +644 -0
- package/templates/docs/guides/mockup-setup.md +737 -0
- package/templates/docs/learnings/README.md +250 -0
- package/templates/docs/learnings/common-architectural-patterns.md +123 -0
- package/templates/docs/learnings/common-mistakes-to-avoid.md +149 -0
- package/templates/docs/learnings/markdown-formatting-standards.md +104 -0
- package/templates/docs/learnings/monorepo-command-execution.md +64 -0
- package/templates/docs/learnings/optimization-tips.md +146 -0
- package/templates/docs/learnings/planning-linear-sync-workflow.md +70 -0
- package/templates/docs/learnings/shell-compatibility-fish.md +46 -0
- package/templates/docs/learnings/test-organization-structure.md +68 -0
- package/templates/docs/mcp-installation.md +613 -0
- package/templates/docs/mcp-servers.md +989 -0
- package/templates/docs/notification-installation.md +570 -0
- package/templates/docs/quick-start.md +354 -0
- package/templates/docs/standards/architecture-patterns.md +1064 -0
- package/templates/docs/standards/atomic-commits.md +513 -0
- package/templates/docs/standards/code-standards.md +993 -0
- package/templates/docs/standards/design-standards.md +656 -0
- package/templates/docs/standards/documentation-standards.md +1160 -0
- package/templates/docs/standards/testing-standards.md +969 -0
- package/templates/docs/system-maintenance.md +604 -0
- package/templates/docs/templates/PDR-template.md +561 -0
- package/templates/docs/templates/TODOs-template.md +534 -0
- package/templates/docs/templates/tech-analysis-template.md +800 -0
- package/templates/docs/workflows/README.md +519 -0
- package/templates/docs/workflows/atomic-task-protocol.md +955 -0
- package/templates/docs/workflows/decision-tree.md +482 -0
- package/templates/docs/workflows/edge-cases.md +856 -0
- package/templates/docs/workflows/phase-1-planning.md +957 -0
- package/templates/docs/workflows/phase-2-implementation.md +896 -0
- package/templates/docs/workflows/phase-3-validation.md +792 -0
- package/templates/docs/workflows/phase-4-finalization.md +927 -0
- package/templates/docs/workflows/quick-fix-protocol.md +505 -0
- package/templates/docs/workflows/task-atomization.md +537 -0
- package/templates/docs/workflows/task-completion-protocol.md +448 -0
- package/templates/hooks/on-notification.sh +28 -0
- package/templates/schemas/checkpoint.schema.json +97 -0
- package/templates/schemas/code-registry.schema.json +84 -0
- package/templates/schemas/pdr.schema.json +314 -0
- package/templates/schemas/problems.schema.json +55 -0
- package/templates/schemas/tech-analysis.schema.json +404 -0
- package/templates/schemas/telemetry.schema.json +298 -0
- package/templates/schemas/todos.schema.json +234 -0
- package/templates/schemas/workflows.schema.json +69 -0
- package/templates/scripts/add-changelogs.sh +105 -0
- package/templates/scripts/generate-code-registry.ts +270 -0
- package/templates/scripts/health-check.sh +343 -0
- package/templates/scripts/sync-registry.sh +40 -0
- package/templates/scripts/telemetry-report.ts +36 -0
- package/templates/scripts/validate-docs.sh +224 -0
- package/templates/scripts/validate-registry.sh +225 -0
- package/templates/scripts/validate-schemas.ts +283 -0
- package/templates/scripts/validate-structure.sh +165 -0
- package/templates/scripts/worktree-cleanup.sh +81 -0
- package/templates/scripts/worktree-create.sh +63 -0
- package/templates/sessions/planning/.gitkeep +0 -0
- package/templates/sessions/planning/archived/.gitkeep +0 -0
- package/templates/settings.json +202 -0
- package/templates/settings.local.json +138 -0
- package/templates/skills/README.md +197 -0
- package/templates/skills/_registry.json +473 -0
- package/templates/skills/audit/accessibility-audit.md +309 -0
- package/templates/skills/audit/performance-audit.md +257 -0
- package/templates/skills/audit/security-audit.md +217 -0
- package/templates/skills/auth/nextauth-patterns.md +308 -0
- package/templates/skills/brand-guidelines.md +240 -0
- package/templates/skills/documentation/markdown-formatter.md +302 -0
- package/templates/skills/git/git-commit-helper.md +321 -0
- package/templates/skills/i18n/i18n-patterns.md +251 -0
- package/templates/skills/patterns/error-handling-patterns.md +242 -0
- package/templates/skills/patterns/tdd-methodology.md +342 -0
- package/templates/skills/qa/qa-criteria-validator.md +383 -0
- package/templates/skills/qa/web-app-testing.md +398 -0
- package/templates/skills/react/react-hook-form-patterns.md +359 -0
- package/templates/skills/state/redux-toolkit-patterns.md +272 -0
- package/templates/skills/state/tanstack-query-patterns.md +299 -0
- package/templates/skills/state/zustand-patterns.md +301 -0
- package/templates/skills/tech/mermaid-diagram-specialist.md +195 -0
- package/templates/skills/tech/shadcn-specialist.md +252 -0
- package/templates/skills/tech/vercel-specialist.md +297 -0
- package/templates/skills/testing/api-app-testing.md +254 -0
- package/templates/skills/testing/performance-testing.md +275 -0
- package/templates/skills/testing/security-testing.md +348 -0
- package/templates/skills/utils/add-memory.md +295 -0
- package/templates/skills/utils/json-data-auditor.md +283 -0
- package/templates/skills/utils/pdf-creator-editor.md +342 -0
- package/templates/tools/format-markdown.sh +185 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: help
|
|
3
|
+
type: meta
|
|
4
|
+
category: system
|
|
5
|
+
description: Interactive help system for commands, agents, skills, and workflows
|
|
6
|
+
config_required:
|
|
7
|
+
- help_topics: "Define available help topics"
|
|
8
|
+
- doc_locations: "Configure documentation paths"
|
|
9
|
+
- display_limits: "Set display limits for lists"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Help Command
|
|
13
|
+
|
|
14
|
+
## Purpose
|
|
15
|
+
|
|
16
|
+
Comprehensive, context-aware help system providing guidance on commands, agents, skills, workflow, and project structure.
|
|
17
|
+
|
|
18
|
+
## ⚙️ Configuration
|
|
19
|
+
|
|
20
|
+
| Setting | Description | Example |
|
|
21
|
+
|---------|-------------|---------|
|
|
22
|
+
| `help_topics` | Available topics | `commands, agents, skills, workflow, quick-start` |
|
|
23
|
+
| `doc_locations.base` | Documentation root | `.claude/docs/` |
|
|
24
|
+
| `doc_locations.agents` | Agents directory | `.claude/agents/` |
|
|
25
|
+
| `doc_locations.commands` | Commands directory | `.claude/commands/` |
|
|
26
|
+
| `display_limits.list` | Max items in list | `20` |
|
|
27
|
+
| `search_enabled` | Enable search | `true` |
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
/help [topic] [options]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Topics
|
|
36
|
+
|
|
37
|
+
- `commands` - List and search commands
|
|
38
|
+
- `agents` - Browse agents by category
|
|
39
|
+
- `skills` - View available skills
|
|
40
|
+
- `workflow` - Understand workflow phases
|
|
41
|
+
- `quick-start` - Get started quickly
|
|
42
|
+
- `architecture` - Project structure overview
|
|
43
|
+
- `glossary` - Terminology and concepts
|
|
44
|
+
|
|
45
|
+
### Options
|
|
46
|
+
|
|
47
|
+
- `--search <query>`: Search across documentation
|
|
48
|
+
- `--category <cat>`: Filter by category
|
|
49
|
+
- `--details`: Show detailed information
|
|
50
|
+
- `--examples`: Show usage examples
|
|
51
|
+
|
|
52
|
+
## When to Use
|
|
53
|
+
|
|
54
|
+
- Getting started
|
|
55
|
+
- Command discovery
|
|
56
|
+
- Agent information
|
|
57
|
+
- Workflow guidance
|
|
58
|
+
- Troubleshooting
|
|
59
|
+
|
|
60
|
+
## Help System Structure
|
|
61
|
+
|
|
62
|
+
### Main Menu
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
🎯 Help System
|
|
66
|
+
|
|
67
|
+
📚 Available Topics:
|
|
68
|
+
1. commands - Available slash commands
|
|
69
|
+
2. agents - Specialized AI agents
|
|
70
|
+
3. skills - Reusable workflows
|
|
71
|
+
4. workflow - Development workflow
|
|
72
|
+
5. quick-start - Getting started guide
|
|
73
|
+
6. architecture - Project structure
|
|
74
|
+
7. glossary - Terminology
|
|
75
|
+
|
|
76
|
+
🔍 Search: /help --search <query>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Commands Help
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
📜 Available Commands
|
|
83
|
+
|
|
84
|
+
🔧 Development & Workflow ({count})
|
|
85
|
+
{command_list}
|
|
86
|
+
|
|
87
|
+
📋 Planning ({count})
|
|
88
|
+
{command_list}
|
|
89
|
+
|
|
90
|
+
✅ Quality ({count})
|
|
91
|
+
{command_list}
|
|
92
|
+
|
|
93
|
+
[Additional categories...]
|
|
94
|
+
|
|
95
|
+
Use /help commands <name> for details
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Agents Help
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
🤖 Available Agents
|
|
102
|
+
|
|
103
|
+
📦 Product & Planning ({count})
|
|
104
|
+
{agent_list}
|
|
105
|
+
|
|
106
|
+
🛠️ Backend Development ({count})
|
|
107
|
+
{agent_list}
|
|
108
|
+
|
|
109
|
+
[Additional categories...]
|
|
110
|
+
|
|
111
|
+
Use /help agents <name> for details
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Skills Help
|
|
115
|
+
|
|
116
|
+
```text
|
|
117
|
+
🎯 Available Skills
|
|
118
|
+
|
|
119
|
+
🧪 Testing ({count})
|
|
120
|
+
{skill_list}
|
|
121
|
+
|
|
122
|
+
🔧 Development ({count})
|
|
123
|
+
{skill_list}
|
|
124
|
+
|
|
125
|
+
[Additional categories...]
|
|
126
|
+
|
|
127
|
+
Use /help skills <name> for details
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Workflow Help
|
|
131
|
+
|
|
132
|
+
```text
|
|
133
|
+
🔄 Development Workflow
|
|
134
|
+
|
|
135
|
+
📋 Phase 1: Planning
|
|
136
|
+
Goal: {goal}
|
|
137
|
+
Steps: {steps}
|
|
138
|
+
Time: {estimate}
|
|
139
|
+
Deliverables: {deliverables}
|
|
140
|
+
|
|
141
|
+
🛠️ Phase 2: Implementation
|
|
142
|
+
[Similar structure...]
|
|
143
|
+
|
|
144
|
+
✅ Phase 3: Validation
|
|
145
|
+
[Similar structure...]
|
|
146
|
+
|
|
147
|
+
📝 Phase 4: Finalization
|
|
148
|
+
[Similar structure...]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Detailed Help Output
|
|
152
|
+
|
|
153
|
+
### Command Details
|
|
154
|
+
|
|
155
|
+
```text
|
|
156
|
+
Command: /{command-name}
|
|
157
|
+
|
|
158
|
+
Type: {type}
|
|
159
|
+
Category: {category}
|
|
160
|
+
|
|
161
|
+
Description: {description}
|
|
162
|
+
|
|
163
|
+
When to Use:
|
|
164
|
+
{scenarios}
|
|
165
|
+
|
|
166
|
+
Usage: {syntax}
|
|
167
|
+
|
|
168
|
+
Options: {options}
|
|
169
|
+
|
|
170
|
+
Examples: {examples}
|
|
171
|
+
|
|
172
|
+
Related Commands: {related}
|
|
173
|
+
|
|
174
|
+
Documentation: {file_path}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Agent Details
|
|
178
|
+
|
|
179
|
+
```text
|
|
180
|
+
Agent: {agent-name}
|
|
181
|
+
|
|
182
|
+
Category: {category}
|
|
183
|
+
Model: {model}
|
|
184
|
+
|
|
185
|
+
Description: {description}
|
|
186
|
+
|
|
187
|
+
Responsibilities: {responsibilities}
|
|
188
|
+
|
|
189
|
+
Tools: {tools}
|
|
190
|
+
|
|
191
|
+
Phases: {phases}
|
|
192
|
+
|
|
193
|
+
Invocation Examples: {examples}
|
|
194
|
+
|
|
195
|
+
Works With: {agents}
|
|
196
|
+
|
|
197
|
+
Documentation: {file_path}
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## Search Functionality
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
/help --search "testing"
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
**Output**:
|
|
207
|
+
|
|
208
|
+
```text
|
|
209
|
+
🔍 Search Results for "testing"
|
|
210
|
+
|
|
211
|
+
📜 Commands ({count})
|
|
212
|
+
{matching_commands}
|
|
213
|
+
|
|
214
|
+
🤖 Agents ({count})
|
|
215
|
+
{matching_agents}
|
|
216
|
+
|
|
217
|
+
🎯 Skills ({count})
|
|
218
|
+
{matching_skills}
|
|
219
|
+
|
|
220
|
+
📚 Documentation ({count})
|
|
221
|
+
{matching_docs}
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## Quick Start
|
|
225
|
+
|
|
226
|
+
```text
|
|
227
|
+
🚀 Quick Start Guide
|
|
228
|
+
|
|
229
|
+
Step 1: Understand Structure
|
|
230
|
+
{overview}
|
|
231
|
+
|
|
232
|
+
Step 2: Basic Commands
|
|
233
|
+
{essential_commands}
|
|
234
|
+
|
|
235
|
+
Step 3: Understand Workflow
|
|
236
|
+
{workflow_overview}
|
|
237
|
+
|
|
238
|
+
Next Steps:
|
|
239
|
+
{recommended_actions}
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
## Architecture Overview
|
|
243
|
+
|
|
244
|
+
```text
|
|
245
|
+
🏗️ Project Architecture
|
|
246
|
+
|
|
247
|
+
Monorepo Structure:
|
|
248
|
+
{directory_structure}
|
|
249
|
+
|
|
250
|
+
Tech Stack:
|
|
251
|
+
{technology_overview}
|
|
252
|
+
|
|
253
|
+
Architecture Patterns:
|
|
254
|
+
{patterns}
|
|
255
|
+
|
|
256
|
+
Documentation: {paths}
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
## Glossary
|
|
260
|
+
|
|
261
|
+
```text
|
|
262
|
+
📖 Glossary
|
|
263
|
+
|
|
264
|
+
Agent: {definition}
|
|
265
|
+
Command: {definition}
|
|
266
|
+
Skill: {definition}
|
|
267
|
+
[Additional terms...]
|
|
268
|
+
|
|
269
|
+
[View full glossary]: {path}
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
## Error Handling
|
|
273
|
+
|
|
274
|
+
### Topic Not Found
|
|
275
|
+
|
|
276
|
+
```text
|
|
277
|
+
❌ Help Topic Not Found
|
|
278
|
+
|
|
279
|
+
Topic "{topic}" not found.
|
|
280
|
+
|
|
281
|
+
Available topics: {list}
|
|
282
|
+
|
|
283
|
+
Try:
|
|
284
|
+
/help - Main menu
|
|
285
|
+
/help --search {topic}
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
## Integration
|
|
289
|
+
|
|
290
|
+
Available at all times for:
|
|
291
|
+
|
|
292
|
+
- Onboarding
|
|
293
|
+
- Discovery
|
|
294
|
+
- Troubleshooting
|
|
295
|
+
- Learning
|
|
296
|
+
|
|
297
|
+
## Best Practices
|
|
298
|
+
|
|
299
|
+
1. Start with quick-start
|
|
300
|
+
2. Use search feature
|
|
301
|
+
3. Explore by category
|
|
302
|
+
4. Read detailed help
|
|
303
|
+
5. Reference documentation
|
|
304
|
+
|
|
305
|
+
## Related Commands
|
|
306
|
+
|
|
307
|
+
- `/create-agent` - Create new agent
|
|
308
|
+
- `/create-command` - Create new command
|
|
309
|
+
- `/create-skill` - Create new skill
|
|
310
|
+
|
|
311
|
+
## Notes
|
|
312
|
+
|
|
313
|
+
- Context-aware output
|
|
314
|
+
- Full-text search capability
|
|
315
|
+
- Examples included
|
|
316
|
+
- Direct documentation links
|
|
317
|
+
- Interactive navigation
|
|
318
|
+
- Auto-generated from files
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: check-completed-tasks
|
|
3
|
+
description: Auto-detect completed tasks from commits and close issues
|
|
4
|
+
type: planning
|
|
5
|
+
category: planning
|
|
6
|
+
config_required:
|
|
7
|
+
issue_tracker: "Issue tracking system name"
|
|
8
|
+
issue_tracker_token_env: "Auth token environment variable"
|
|
9
|
+
issue_tracker_owner_env: "Owner/org environment variable"
|
|
10
|
+
issue_tracker_repo_env: "Repository environment variable"
|
|
11
|
+
tracking_file: "Issue tracking data file"
|
|
12
|
+
task_code_pattern: "Pattern for task codes in commits (e.g., T-XXX-XXX)"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Check Completed Tasks
|
|
16
|
+
|
|
17
|
+
Auto-detect completed tasks from git commits and close corresponding issues.
|
|
18
|
+
|
|
19
|
+
## ⚙️ Configuration
|
|
20
|
+
|
|
21
|
+
| Setting | Description | Example |
|
|
22
|
+
|---------|-------------|---------|
|
|
23
|
+
| `issue_tracker` | Issue tracking system | `{{ISSUE_TRACKER}}` |
|
|
24
|
+
| `issue_tracker_token_env` | Auth token variable | `{{ISSUE_TRACKER_TOKEN}}` |
|
|
25
|
+
| `issue_tracker_owner_env` | Owner variable | `{{ISSUE_TRACKER_OWNER}}` |
|
|
26
|
+
| `issue_tracker_repo_env` | Repository variable | `{{ISSUE_TRACKER_REPO}}` |
|
|
27
|
+
| `tracking_file` | Tracking data file | `{{TRACKING_FILE}}` |
|
|
28
|
+
| `task_code_pattern` | Task code pattern | `{{TASK_CODE_PATTERN}}` |
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
/check-completed [commit_range]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## When to Use
|
|
37
|
+
|
|
38
|
+
- After committing code that completes tasks
|
|
39
|
+
- As part of post-commit hook (automated)
|
|
40
|
+
- To bulk-check recent commits
|
|
41
|
+
- Before status meetings
|
|
42
|
+
- When reviewing project progress
|
|
43
|
+
|
|
44
|
+
## Process
|
|
45
|
+
|
|
46
|
+
### Step 1: Determine Range
|
|
47
|
+
|
|
48
|
+
Scan options:
|
|
49
|
+
|
|
50
|
+
- **Last commit:** Most recent only
|
|
51
|
+
- **Last N commits:** Recent N commits
|
|
52
|
+
- **Since date:** All since specific date
|
|
53
|
+
- **Commit range:** Specific range (e.g., HEAD~5..HEAD)
|
|
54
|
+
|
|
55
|
+
### Step 2: Get Configuration
|
|
56
|
+
|
|
57
|
+
Required:
|
|
58
|
+
|
|
59
|
+
- `{{ISSUE_TRACKER_TOKEN}}`
|
|
60
|
+
- `{{ISSUE_TRACKER_OWNER}}`
|
|
61
|
+
- `{{ISSUE_TRACKER_REPO}}`
|
|
62
|
+
|
|
63
|
+
### Step 3: Parse Commits
|
|
64
|
+
|
|
65
|
+
Match task codes in commit messages:
|
|
66
|
+
|
|
67
|
+
**Supported formats:**
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
feat(api): implement auth [T-003-012]
|
|
71
|
+
fix(db): resolve timeout T-005-003
|
|
72
|
+
refactor: optimize query (T-002-007)
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Patterns:
|
|
76
|
+
|
|
77
|
+
- `[T-XXX-XXX]` - Bracketed
|
|
78
|
+
- `T-XXX-XXX` - Bare
|
|
79
|
+
- `(T-XXX-XXX)` - Parenthesized
|
|
80
|
+
|
|
81
|
+
### Step 4: Execute Detection
|
|
82
|
+
|
|
83
|
+
- Parse commit messages
|
|
84
|
+
- Identify completed tasks
|
|
85
|
+
- Update TODOs.md status
|
|
86
|
+
- Close corresponding issues
|
|
87
|
+
|
|
88
|
+
### Step 5: Report Results
|
|
89
|
+
|
|
90
|
+
```text
|
|
91
|
+
✅ Completed tasks detected!
|
|
92
|
+
|
|
93
|
+
Statistics:
|
|
94
|
+
• {n} tasks detected
|
|
95
|
+
• {n} tasks completed
|
|
96
|
+
• {n} issues closed
|
|
97
|
+
• {n} failed
|
|
98
|
+
|
|
99
|
+
Completed Tasks:
|
|
100
|
+
• T-003-012: Task name
|
|
101
|
+
Commit: {hash} - {message}
|
|
102
|
+
Issue: #{n} (closed)
|
|
103
|
+
|
|
104
|
+
Updated Files:
|
|
105
|
+
• TODOs.md
|
|
106
|
+
• {{TRACKING_FILE}}
|
|
107
|
+
|
|
108
|
+
Next Steps:
|
|
109
|
+
1. Review closed issues
|
|
110
|
+
2. Commit updated TODOs.md
|
|
111
|
+
3. Continue with next tasks
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Step 6: Update TODOs.md
|
|
115
|
+
|
|
116
|
+
**Before:**
|
|
117
|
+
|
|
118
|
+
```markdown
|
|
119
|
+
### T-003-012: Task name
|
|
120
|
+
|
|
121
|
+
**Status:** [ ] Pending
|
|
122
|
+
**Issue:** [#{n}]({url})
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**After:**
|
|
126
|
+
|
|
127
|
+
```markdown
|
|
128
|
+
### T-003-012: Task name
|
|
129
|
+
|
|
130
|
+
**Status:** [x] Completed
|
|
131
|
+
**Completed:** {date}
|
|
132
|
+
**Issue:** [#{n}]({url}) ✓ Closed
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Step 7: Close Issues
|
|
136
|
+
|
|
137
|
+
Issues automatically closed with completion comment:
|
|
138
|
+
|
|
139
|
+
```text
|
|
140
|
+
Task completed!
|
|
141
|
+
|
|
142
|
+
Commit: {hash}
|
|
143
|
+
Message: {message}
|
|
144
|
+
|
|
145
|
+
Automatically detected and closed.
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
## Error Handling
|
|
149
|
+
|
|
150
|
+
| Error | Solution |
|
|
151
|
+
|-------|----------|
|
|
152
|
+
| Missing config | Set environment variables |
|
|
153
|
+
| No tasks detected | Include task codes in commits |
|
|
154
|
+
| API errors | Check token and permissions |
|
|
155
|
+
| File not found | Verify planning session exists |
|
|
156
|
+
|
|
157
|
+
## Advanced Options
|
|
158
|
+
|
|
159
|
+
### Scan Specific Session
|
|
160
|
+
|
|
161
|
+
```typescript
|
|
162
|
+
{ sessionPath: '{{PLANNING_PATH}}/{session}' }
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Dry Run
|
|
166
|
+
|
|
167
|
+
```typescript
|
|
168
|
+
{ dryRun: true }
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Skip TODOs Update
|
|
172
|
+
|
|
173
|
+
```typescript
|
|
174
|
+
{ updateTodos: false }
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Skip Issue Closure
|
|
178
|
+
|
|
179
|
+
```typescript
|
|
180
|
+
{ closeIssues: false }
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
## Commit Best Practices
|
|
184
|
+
|
|
185
|
+
### Include Task Code
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
git commit -m "feat(api): implement auth [T-003-012]"
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Conventional Commits
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
git commit -m "feat(api): add endpoints [T-005-001]"
|
|
195
|
+
git commit -m "fix(db): resolve issue [T-005-002]"
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Multiple Tasks
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
git commit -m "feat(api): complete flow [T-003-012][T-003-013]"
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Partial Progress
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
git commit -m "wip(api): partial auth (T-003-012)"
|
|
208
|
+
# Using 'wip' or '(code)' won't trigger auto-completion
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## Important Notes
|
|
212
|
+
|
|
213
|
+
- **Automatic:** Runs via post-commit hook if configured
|
|
214
|
+
- **Idempotent:** Safe to run multiple times
|
|
215
|
+
- **Validation:** Verifies files exist before marking complete
|
|
216
|
+
- **Tracking:** Updates {{TRACKING_FILE}} with completion data
|
|
217
|
+
- **Reversible:** Can manually reopen issues
|
|
218
|
+
- **Linking:** Issues link to completion commits
|
|
219
|
+
|
|
220
|
+
## Related Commands
|
|
221
|
+
|
|
222
|
+
- `/sync-planning` - Sync planning to tracker
|
|
223
|
+
- `/sync-todos` - Sync code TODOs
|
|
224
|
+
- `/cleanup-issues` - Clean stale issues
|