claude-code-orchestrator-kit 1.0.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/.claude/agents/database/workers/api-builder.md +155 -0
- package/.claude/agents/database/workers/database-architect.md +193 -0
- package/.claude/agents/database/workers/supabase-auditor.md +1070 -0
- package/.claude/agents/development/workers/code-reviewer.md +968 -0
- package/.claude/agents/development/workers/cost-calculator-specialist.md +683 -0
- package/.claude/agents/development/workers/llm-service-specialist.md +999 -0
- package/.claude/agents/development/workers/skill-builder-v2.md +480 -0
- package/.claude/agents/development/workers/typescript-types-specialist.md +649 -0
- package/.claude/agents/development/workers/utility-builder.md +582 -0
- package/.claude/agents/documentation/workers/technical-writer.md +152 -0
- package/.claude/agents/frontend/workers/fullstack-nextjs-specialist.md +206 -0
- package/.claude/agents/frontend/workers/visual-effects-creator.md +159 -0
- package/.claude/agents/health/orchestrators/bug-orchestrator.md +1045 -0
- package/.claude/agents/health/orchestrators/dead-code-orchestrator.md +1045 -0
- package/.claude/agents/health/orchestrators/dependency-orchestrator.md +1045 -0
- package/.claude/agents/health/orchestrators/security-orchestrator.md +1045 -0
- package/.claude/agents/health/workers/bug-fixer.md +525 -0
- package/.claude/agents/health/workers/bug-hunter.md +649 -0
- package/.claude/agents/health/workers/dead-code-hunter.md +446 -0
- package/.claude/agents/health/workers/dead-code-remover.md +437 -0
- package/.claude/agents/health/workers/dependency-auditor.md +379 -0
- package/.claude/agents/health/workers/dependency-updater.md +436 -0
- package/.claude/agents/health/workers/security-scanner.md +700 -0
- package/.claude/agents/health/workers/vulnerability-fixer.md +524 -0
- package/.claude/agents/infrastructure/workers/infrastructure-specialist.md +156 -0
- package/.claude/agents/infrastructure/workers/orchestration-logic-specialist.md +1260 -0
- package/.claude/agents/infrastructure/workers/qdrant-specialist.md +503 -0
- package/.claude/agents/infrastructure/workers/quality-validator-specialist.md +984 -0
- package/.claude/agents/meta/workers/meta-agent-v3.md +503 -0
- package/.claude/agents/research/workers/problem-investigator.md +507 -0
- package/.claude/agents/research/workers/research-specialist.md +423 -0
- package/.claude/agents/testing/workers/accessibility-tester.md +813 -0
- package/.claude/agents/testing/workers/integration-tester.md +188 -0
- package/.claude/agents/testing/workers/mobile-fixes-implementer.md +252 -0
- package/.claude/agents/testing/workers/mobile-responsiveness-tester.md +180 -0
- package/.claude/agents/testing/workers/performance-optimizer.md +262 -0
- package/.claude/agents/testing/workers/test-writer.md +800 -0
- package/.claude/commands/health-bugs.md +297 -0
- package/.claude/commands/health-cleanup.md +297 -0
- package/.claude/commands/health-deps.md +297 -0
- package/.claude/commands/health-metrics.md +747 -0
- package/.claude/commands/health-security.md +297 -0
- package/.claude/commands/push.md +21 -0
- package/.claude/commands/speckit.analyze.md +184 -0
- package/.claude/commands/speckit.checklist.md +294 -0
- package/.claude/commands/speckit.clarify.md +178 -0
- package/.claude/commands/speckit.constitution.md +78 -0
- package/.claude/commands/speckit.implement.md +182 -0
- package/.claude/commands/speckit.plan.md +87 -0
- package/.claude/commands/speckit.specify.md +250 -0
- package/.claude/commands/speckit.tasks.md +137 -0
- package/.claude/commands/translate-doc.md +95 -0
- package/.claude/commands/worktree-cleanup.md +382 -0
- package/.claude/commands/worktree-create.md +287 -0
- package/.claude/commands/worktree-list.md +239 -0
- package/.claude/commands/worktree-remove.md +339 -0
- package/.claude/schemas/base-plan.schema.json +82 -0
- package/.claude/schemas/bug-plan.schema.json +71 -0
- package/.claude/schemas/dead-code-plan.schema.json +71 -0
- package/.claude/schemas/dependency-plan.schema.json +74 -0
- package/.claude/schemas/security-plan.schema.json +71 -0
- package/.claude/scripts/gates/check-bundle-size.sh +47 -0
- package/.claude/scripts/gates/check-coverage.sh +67 -0
- package/.claude/scripts/gates/check-security.sh +46 -0
- package/.claude/scripts/release.sh +740 -0
- package/.claude/settings.local.json +21 -0
- package/.claude/settings.local.json.example +20 -0
- package/.claude/skills/calculate-priority-score/SKILL.md +229 -0
- package/.claude/skills/calculate-priority-score/scoring-matrix.json +83 -0
- package/.claude/skills/extract-version/SKILL.md +228 -0
- package/.claude/skills/format-commit-message/SKILL.md +189 -0
- package/.claude/skills/format-commit-message/template.md +64 -0
- package/.claude/skills/format-markdown-table/SKILL.md +202 -0
- package/.claude/skills/format-markdown-table/examples.md +84 -0
- package/.claude/skills/format-todo-list/SKILL.md +222 -0
- package/.claude/skills/format-todo-list/template.json +30 -0
- package/.claude/skills/generate-changelog/SKILL.md +258 -0
- package/.claude/skills/generate-changelog/commit-mapping.json +47 -0
- package/.claude/skills/generate-report-header/SKILL.md +228 -0
- package/.claude/skills/generate-report-header/template.md +66 -0
- package/.claude/skills/parse-error-logs/SKILL.md +286 -0
- package/.claude/skills/parse-error-logs/patterns.json +26 -0
- package/.claude/skills/parse-git-status/SKILL.md +164 -0
- package/.claude/skills/parse-package-json/SKILL.md +151 -0
- package/.claude/skills/parse-package-json/schema.json +43 -0
- package/.claude/skills/render-template/SKILL.md +245 -0
- package/.claude/skills/rollback-changes/SKILL.md +582 -0
- package/.claude/skills/rollback-changes/changes-log-schema.json +101 -0
- package/.claude/skills/run-quality-gate/SKILL.md +404 -0
- package/.claude/skills/run-quality-gate/gate-mappings.json +97 -0
- package/.claude/skills/validate-plan-file/SKILL.md +327 -0
- package/.claude/skills/validate-plan-file/schema.json +35 -0
- package/.claude/skills/validate-report-file/SKILL.md +256 -0
- package/.claude/skills/validate-report-file/schema.json +67 -0
- package/.env.example +49 -0
- package/.github/BRANCH_PROTECTION.md +137 -0
- package/.github/workflows/build.yml +70 -0
- package/.github/workflows/claude-code-review.yml +255 -0
- package/.github/workflows/claude.yml +79 -0
- package/.github/workflows/deploy-staging.yml +90 -0
- package/.github/workflows/test.yml +104 -0
- package/.gitignore +116 -0
- package/CLAUDE.md +137 -0
- package/LICENSE +72 -0
- package/README.md +1098 -0
- package/docs/ARCHITECTURE.md +746 -0
- package/docs/Agents Ecosystem/AGENT-ORCHESTRATION.md +568 -0
- package/docs/Agents Ecosystem/AI-AGENT-ECOSYSTEM-README.md +658 -0
- package/docs/Agents Ecosystem/ARCHITECTURE.md +606 -0
- package/docs/Agents Ecosystem/QUALITY-GATES-SPECIFICATION.md +1315 -0
- package/docs/Agents Ecosystem/REPORT-TEMPLATE-STANDARD.md +1324 -0
- package/docs/Agents Ecosystem/spec-kit-comprehensive-updates.md +478 -0
- package/docs/FAQ.md +572 -0
- package/docs/MIGRATION-GUIDE.md +542 -0
- package/docs/PERFORMANCE-OPTIMIZATION.md +494 -0
- package/docs/ROADMAP.md +439 -0
- package/docs/TUTORIAL-CUSTOM-AGENTS.md +2041 -0
- package/docs/USE-CASES.md +706 -0
- package/index.js +96 -0
- package/mcp/.mcp.base.json +21 -0
- package/mcp/.mcp.frontend.json +29 -0
- package/mcp/.mcp.full.json +67 -0
- package/mcp/.mcp.local.example.json +7 -0
- package/mcp/.mcp.local.json +7 -0
- package/mcp/.mcp.n8n.json +45 -0
- package/mcp/.mcp.supabase-full.json +35 -0
- package/mcp/.mcp.supabase-only.json +28 -0
- package/package.json +78 -0
- package/postinstall.js +71 -0
- package/switch-mcp.sh +101 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: format-todo-list
|
|
3
|
+
description: Generate properly formatted TodoWrite lists for orchestrator progress tracking. Use when creating phase checklists, updating task status, or ensuring consistent todo formatting.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Format Todo List
|
|
7
|
+
|
|
8
|
+
Create properly structured todo lists for TodoWrite tool with correct status and activeForm fields.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Creating initial phase checklists in orchestrators
|
|
13
|
+
- Updating todo list status
|
|
14
|
+
- Ensuring consistent todo formatting
|
|
15
|
+
- Generating progress tracking lists
|
|
16
|
+
|
|
17
|
+
## Instructions
|
|
18
|
+
|
|
19
|
+
### Step 1: Receive Todo Items
|
|
20
|
+
|
|
21
|
+
Accept array of todo items with status.
|
|
22
|
+
|
|
23
|
+
**Expected Input**:
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"todos": [
|
|
27
|
+
{
|
|
28
|
+
"content": "Phase 1: Discovery",
|
|
29
|
+
"status": "completed"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"content": "Phase 2: Implementation",
|
|
33
|
+
"status": "in_progress"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"content": "Phase 3: Validation",
|
|
37
|
+
"status": "pending"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Step 2: Generate Active Forms
|
|
44
|
+
|
|
45
|
+
Create activeForm for each todo based on content.
|
|
46
|
+
|
|
47
|
+
**Rules**:
|
|
48
|
+
- Convert imperative to present continuous
|
|
49
|
+
- "Run X" → "Running X"
|
|
50
|
+
- "Create X" → "Creating X"
|
|
51
|
+
- "Fix X" → "Fixing X"
|
|
52
|
+
- "Validate X" → "Validating X"
|
|
53
|
+
|
|
54
|
+
### Step 3: Validate Status
|
|
55
|
+
|
|
56
|
+
Ensure status is valid TodoWrite value.
|
|
57
|
+
|
|
58
|
+
**Valid Statuses**:
|
|
59
|
+
- `pending`: Not started
|
|
60
|
+
- `in_progress`: Currently active
|
|
61
|
+
- `completed`: Finished
|
|
62
|
+
|
|
63
|
+
### Step 4: Format for TodoWrite
|
|
64
|
+
|
|
65
|
+
Structure data for TodoWrite tool.
|
|
66
|
+
|
|
67
|
+
**Expected Output**:
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"todos": [
|
|
71
|
+
{
|
|
72
|
+
"content": "Phase 1: Discovery",
|
|
73
|
+
"status": "completed",
|
|
74
|
+
"activeForm": "Discovering and analyzing"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"content": "Phase 2: Implementation",
|
|
78
|
+
"status": "in_progress",
|
|
79
|
+
"activeForm": "Implementing changes"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"content": "Phase 3: Validation",
|
|
83
|
+
"status": "pending",
|
|
84
|
+
"activeForm": "Validating results"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Error Handling
|
|
91
|
+
|
|
92
|
+
- **Invalid Status**: Return error listing valid statuses
|
|
93
|
+
- **Missing Content**: Return error for empty content
|
|
94
|
+
- **Empty Array**: Return error requesting at least one todo
|
|
95
|
+
|
|
96
|
+
## Examples
|
|
97
|
+
|
|
98
|
+
### Example 1: Phase Checklist
|
|
99
|
+
|
|
100
|
+
**Input**:
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"todos": [
|
|
104
|
+
{"content": "Phase 0: Pre-flight validation", "status": "completed"},
|
|
105
|
+
{"content": "Phase 1: Bug detection", "status": "in_progress"},
|
|
106
|
+
{"content": "Phase 2: Bug fixes", "status": "pending"},
|
|
107
|
+
{"content": "Phase 3: Verification", "status": "pending"}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**Output**:
|
|
113
|
+
```json
|
|
114
|
+
{
|
|
115
|
+
"todos": [
|
|
116
|
+
{
|
|
117
|
+
"content": "Phase 0: Pre-flight validation",
|
|
118
|
+
"status": "completed",
|
|
119
|
+
"activeForm": "Validating pre-flight checks"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"content": "Phase 1: Bug detection",
|
|
123
|
+
"status": "in_progress",
|
|
124
|
+
"activeForm": "Detecting bugs"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"content": "Phase 2: Bug fixes",
|
|
128
|
+
"status": "pending",
|
|
129
|
+
"activeForm": "Fixing bugs"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"content": "Phase 3: Verification",
|
|
133
|
+
"status": "pending",
|
|
134
|
+
"activeForm": "Verifying fixes"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Example 2: Simple Task List
|
|
141
|
+
|
|
142
|
+
**Input**:
|
|
143
|
+
```json
|
|
144
|
+
{
|
|
145
|
+
"todos": [
|
|
146
|
+
{"content": "Run type check", "status": "completed"},
|
|
147
|
+
{"content": "Run build", "status": "completed"},
|
|
148
|
+
{"content": "Run tests", "status": "in_progress"}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Output**:
|
|
154
|
+
```json
|
|
155
|
+
{
|
|
156
|
+
"todos": [
|
|
157
|
+
{
|
|
158
|
+
"content": "Run type check",
|
|
159
|
+
"status": "completed",
|
|
160
|
+
"activeForm": "Running type check"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"content": "Run build",
|
|
164
|
+
"status": "completed",
|
|
165
|
+
"activeForm": "Running build"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"content": "Run tests",
|
|
169
|
+
"status": "in_progress",
|
|
170
|
+
"activeForm": "Running tests"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Example 3: Priority-Based List
|
|
177
|
+
|
|
178
|
+
**Input**:
|
|
179
|
+
```json
|
|
180
|
+
{
|
|
181
|
+
"todos": [
|
|
182
|
+
{"content": "Fix critical bugs", "status": "completed"},
|
|
183
|
+
{"content": "Fix high-priority bugs", "status": "in_progress"},
|
|
184
|
+
{"content": "Fix medium-priority bugs", "status": "pending"}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
**Output**:
|
|
190
|
+
```json
|
|
191
|
+
{
|
|
192
|
+
"todos": [
|
|
193
|
+
{
|
|
194
|
+
"content": "Fix critical bugs",
|
|
195
|
+
"status": "completed",
|
|
196
|
+
"activeForm": "Fixing critical bugs"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"content": "Fix high-priority bugs",
|
|
200
|
+
"status": "in_progress",
|
|
201
|
+
"activeForm": "Fixing high-priority bugs"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"content": "Fix medium-priority bugs",
|
|
205
|
+
"status": "pending",
|
|
206
|
+
"activeForm": "Fixing medium-priority bugs"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Validation
|
|
213
|
+
|
|
214
|
+
- [ ] Generates activeForm for all items
|
|
215
|
+
- [ ] Validates status values
|
|
216
|
+
- [ ] Handles various content formats
|
|
217
|
+
- [ ] Preserves original content
|
|
218
|
+
- [ ] Returns proper TodoWrite structure
|
|
219
|
+
|
|
220
|
+
## Supporting Files
|
|
221
|
+
|
|
222
|
+
- `template.json`: TodoWrite format template (see Supporting Files section)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "TodoWrite Format",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["todos"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"todos": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["content", "status", "activeForm"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"content": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Imperative form: 'Run tests', 'Create plan', 'Fix bugs'"
|
|
16
|
+
},
|
|
17
|
+
"status": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["pending", "in_progress", "completed"],
|
|
20
|
+
"description": "Current status of the todo item"
|
|
21
|
+
},
|
|
22
|
+
"activeForm": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Present continuous form: 'Running tests', 'Creating plan', 'Fixing bugs'"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: generate-changelog
|
|
3
|
+
description: Generate changelog entries from git commits, plan files, or structured data. Use for version releases, creating CHANGELOG.md sections, or documenting changes between versions.
|
|
4
|
+
allowed-tools: Read, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Generate Changelog
|
|
8
|
+
|
|
9
|
+
Automatically generate changelog entries following Keep a Changelog format.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- Version release workflows
|
|
14
|
+
- Creating CHANGELOG.md sections
|
|
15
|
+
- Documenting changes between versions
|
|
16
|
+
- Generating release notes
|
|
17
|
+
- Summarizing work completed
|
|
18
|
+
|
|
19
|
+
## Instructions
|
|
20
|
+
|
|
21
|
+
### Step 1: Gather Change Data
|
|
22
|
+
|
|
23
|
+
Accept change information from various sources.
|
|
24
|
+
|
|
25
|
+
**Expected Input**:
|
|
26
|
+
- `version`: String (e.g., "0.8.0")
|
|
27
|
+
- `date`: String (ISO-8601 or YYYY-MM-DD)
|
|
28
|
+
- `source`: String (git|plan-file|manual)
|
|
29
|
+
- `sourceData`: Object (git range, plan file path, or manual entries)
|
|
30
|
+
|
|
31
|
+
**Source Types**:
|
|
32
|
+
- **git**: Parse git log between two refs
|
|
33
|
+
- **plan-file**: Extract from plan file metadata
|
|
34
|
+
- **manual**: User-provided entries
|
|
35
|
+
|
|
36
|
+
### Step 2: Parse Changes
|
|
37
|
+
|
|
38
|
+
Extract and categorize changes.
|
|
39
|
+
|
|
40
|
+
**Categories** (Keep a Changelog standard):
|
|
41
|
+
- **Added**: New features
|
|
42
|
+
- **Changed**: Changes to existing functionality
|
|
43
|
+
- **Deprecated**: Soon-to-be removed features
|
|
44
|
+
- **Removed**: Removed features
|
|
45
|
+
- **Fixed**: Bug fixes
|
|
46
|
+
- **Security**: Security vulnerability fixes
|
|
47
|
+
|
|
48
|
+
**Git Commit Parsing**:
|
|
49
|
+
- Parse conventional commit format (feat:, fix:, etc.)
|
|
50
|
+
- Extract scope and description
|
|
51
|
+
- Map commit type to changelog category
|
|
52
|
+
|
|
53
|
+
### Step 3: Group and Deduplicate
|
|
54
|
+
|
|
55
|
+
Group changes by category and remove duplicates.
|
|
56
|
+
|
|
57
|
+
**Grouping Rules**:
|
|
58
|
+
- feat → Added
|
|
59
|
+
- fix → Fixed
|
|
60
|
+
- security → Security
|
|
61
|
+
- refactor, perf → Changed
|
|
62
|
+
- docs → Changed (if significant)
|
|
63
|
+
- chore → Omit (unless breaking change)
|
|
64
|
+
|
|
65
|
+
### Step 4: Format Changelog Section
|
|
66
|
+
|
|
67
|
+
Create formatted changelog section.
|
|
68
|
+
|
|
69
|
+
**Format**:
|
|
70
|
+
```markdown
|
|
71
|
+
## [Version] - Date
|
|
72
|
+
|
|
73
|
+
### Added
|
|
74
|
+
- New feature 1
|
|
75
|
+
- New feature 2
|
|
76
|
+
|
|
77
|
+
### Fixed
|
|
78
|
+
- Bug fix 1
|
|
79
|
+
- Bug fix 2
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
- Change 1
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Step 5: Return Formatted Changelog
|
|
86
|
+
|
|
87
|
+
Return complete changelog section ready for insertion.
|
|
88
|
+
|
|
89
|
+
**Expected Output**:
|
|
90
|
+
```markdown
|
|
91
|
+
## [0.8.0] - 2025-10-17
|
|
92
|
+
|
|
93
|
+
### Added
|
|
94
|
+
- Dark mode toggle for user preferences
|
|
95
|
+
- OAuth2 authentication support
|
|
96
|
+
|
|
97
|
+
### Fixed
|
|
98
|
+
- Memory leak in connection pool
|
|
99
|
+
- CORS configuration error
|
|
100
|
+
|
|
101
|
+
### Changed
|
|
102
|
+
- Migrated to v2 authentication API
|
|
103
|
+
- Optimized query performance
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Error Handling
|
|
107
|
+
|
|
108
|
+
- **No Changes Found**: Return empty changelog with note
|
|
109
|
+
- **Invalid Git Range**: Return error with git command output
|
|
110
|
+
- **Invalid Plan File**: Return error describing issue
|
|
111
|
+
- **Unparseable Commits**: Include as "Changed" with raw message
|
|
112
|
+
|
|
113
|
+
## Examples
|
|
114
|
+
|
|
115
|
+
### Example 1: Generate from Git Range
|
|
116
|
+
|
|
117
|
+
**Input**:
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"version": "0.8.0",
|
|
121
|
+
"date": "2025-10-17",
|
|
122
|
+
"source": "git",
|
|
123
|
+
"sourceData": {
|
|
124
|
+
"fromRef": "v0.7.0",
|
|
125
|
+
"toRef": "HEAD"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Git Commits**:
|
|
131
|
+
```
|
|
132
|
+
feat(auth): add OAuth2 support
|
|
133
|
+
fix(api): resolve memory leak
|
|
134
|
+
docs: update API documentation
|
|
135
|
+
chore(deps): bump dependencies
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**Output**:
|
|
139
|
+
```markdown
|
|
140
|
+
## [0.8.0] - 2025-10-17
|
|
141
|
+
|
|
142
|
+
### Added
|
|
143
|
+
- Add OAuth2 support (auth)
|
|
144
|
+
|
|
145
|
+
### Fixed
|
|
146
|
+
- Resolve memory leak (api)
|
|
147
|
+
|
|
148
|
+
### Changed
|
|
149
|
+
- Update API documentation
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Example 2: Generate from Plan File
|
|
153
|
+
|
|
154
|
+
**Input**:
|
|
155
|
+
```json
|
|
156
|
+
{
|
|
157
|
+
"version": "0.8.0",
|
|
158
|
+
"date": "2025-10-17",
|
|
159
|
+
"source": "plan-file",
|
|
160
|
+
"sourceData": {
|
|
161
|
+
"planFile": ".version-update-plan.json"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
**Plan File Content**:
|
|
167
|
+
```json
|
|
168
|
+
{
|
|
169
|
+
"changes": {
|
|
170
|
+
"added": ["Dark mode toggle", "User profiles"],
|
|
171
|
+
"fixed": ["Login redirect bug", "Dashboard crash"],
|
|
172
|
+
"changed": ["Improved performance"]
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**Output**:
|
|
178
|
+
```markdown
|
|
179
|
+
## [0.8.0] - 2025-10-17
|
|
180
|
+
|
|
181
|
+
### Added
|
|
182
|
+
- Dark mode toggle
|
|
183
|
+
- User profiles
|
|
184
|
+
|
|
185
|
+
### Fixed
|
|
186
|
+
- Login redirect bug
|
|
187
|
+
- Dashboard crash
|
|
188
|
+
|
|
189
|
+
### Changed
|
|
190
|
+
- Improved performance
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Example 3: Manual Entries
|
|
194
|
+
|
|
195
|
+
**Input**:
|
|
196
|
+
```json
|
|
197
|
+
{
|
|
198
|
+
"version": "0.8.0",
|
|
199
|
+
"date": "2025-10-17",
|
|
200
|
+
"source": "manual",
|
|
201
|
+
"sourceData": {
|
|
202
|
+
"added": ["New payment gateway integration"],
|
|
203
|
+
"fixed": ["Cart calculation error"],
|
|
204
|
+
"security": ["Fixed XSS vulnerability in search"]
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**Output**:
|
|
210
|
+
```markdown
|
|
211
|
+
## [0.8.0] - 2025-10-17
|
|
212
|
+
|
|
213
|
+
### Added
|
|
214
|
+
- New payment gateway integration
|
|
215
|
+
|
|
216
|
+
### Fixed
|
|
217
|
+
- Cart calculation error
|
|
218
|
+
|
|
219
|
+
### Security
|
|
220
|
+
- Fixed XSS vulnerability in search
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### Example 4: Empty Changelog
|
|
224
|
+
|
|
225
|
+
**Input**:
|
|
226
|
+
```json
|
|
227
|
+
{
|
|
228
|
+
"version": "0.8.0",
|
|
229
|
+
"date": "2025-10-17",
|
|
230
|
+
"source": "git",
|
|
231
|
+
"sourceData": {
|
|
232
|
+
"fromRef": "v0.7.0",
|
|
233
|
+
"toRef": "v0.7.0"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
**Output**:
|
|
239
|
+
```markdown
|
|
240
|
+
## [0.8.0] - 2025-10-17
|
|
241
|
+
|
|
242
|
+
No changes in this release.
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
## Validation
|
|
246
|
+
|
|
247
|
+
- [ ] Parses conventional commits correctly
|
|
248
|
+
- [ ] Maps commit types to changelog categories
|
|
249
|
+
- [ ] Groups changes by category
|
|
250
|
+
- [ ] Formats according to Keep a Changelog
|
|
251
|
+
- [ ] Handles empty changelogs
|
|
252
|
+
- [ ] Deduplicates entries
|
|
253
|
+
- [ ] Includes scope in entries when present
|
|
254
|
+
- [ ] Handles manual entries
|
|
255
|
+
|
|
256
|
+
## Supporting Files
|
|
257
|
+
|
|
258
|
+
- `commit-mapping.json`: Conventional commit to changelog category mapping
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"feat": {
|
|
3
|
+
"category": "Added",
|
|
4
|
+
"description": "New features"
|
|
5
|
+
},
|
|
6
|
+
"fix": {
|
|
7
|
+
"category": "Fixed",
|
|
8
|
+
"description": "Bug fixes"
|
|
9
|
+
},
|
|
10
|
+
"security": {
|
|
11
|
+
"category": "Security",
|
|
12
|
+
"description": "Security fixes"
|
|
13
|
+
},
|
|
14
|
+
"perf": {
|
|
15
|
+
"category": "Changed",
|
|
16
|
+
"description": "Performance improvements"
|
|
17
|
+
},
|
|
18
|
+
"refactor": {
|
|
19
|
+
"category": "Changed",
|
|
20
|
+
"description": "Code refactoring"
|
|
21
|
+
},
|
|
22
|
+
"docs": {
|
|
23
|
+
"category": "Changed",
|
|
24
|
+
"description": "Documentation updates",
|
|
25
|
+
"skipIfMinor": true
|
|
26
|
+
},
|
|
27
|
+
"style": {
|
|
28
|
+
"category": null,
|
|
29
|
+
"description": "Code style changes",
|
|
30
|
+
"skip": true
|
|
31
|
+
},
|
|
32
|
+
"test": {
|
|
33
|
+
"category": null,
|
|
34
|
+
"description": "Test changes",
|
|
35
|
+
"skip": true
|
|
36
|
+
},
|
|
37
|
+
"chore": {
|
|
38
|
+
"category": null,
|
|
39
|
+
"description": "Maintenance",
|
|
40
|
+
"skip": true,
|
|
41
|
+
"includeIfBreaking": true
|
|
42
|
+
},
|
|
43
|
+
"revert": {
|
|
44
|
+
"category": "Fixed",
|
|
45
|
+
"description": "Reverted changes"
|
|
46
|
+
}
|
|
47
|
+
}
|