Refactored commands to extract reusable skills following the Commands → Skills separation pattern. Each command is now <50 lines and references skill files for detailed knowledge. Plugins refactored: - claude-config-maintainer: 5 commands → 7 skills - code-sentinel: 3 commands → 2 skills - contract-validator: 5 commands → 6 skills - data-platform: 10 commands → 6 skills - doc-guardian: 5 commands → 6 skills (replaced nested dir) - git-flow: 8 commands → 7 skills Skills contain: workflows, validation rules, conventions, reference data, tool documentation Commands now contain: YAML frontmatter, agent assignment, skills list, brief workflow steps, parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.4 KiB
Markdown
55 lines
1.4 KiB
Markdown
---
|
|
description: Generate changelog from conventional commits in Keep-a-Changelog format
|
|
---
|
|
|
|
# Changelog Generation
|
|
|
|
Generate a changelog entry from conventional commits.
|
|
|
|
## Skills to Load
|
|
|
|
- skills/changelog-format.md
|
|
|
|
## Visual Output
|
|
|
|
```
|
|
+------------------------------------------------------------------+
|
|
| DOC-GUARDIAN - Changelog Generation |
|
|
+------------------------------------------------------------------+
|
|
```
|
|
|
|
## Process
|
|
|
|
1. **Identify Commit Range**
|
|
Execute `skills/changelog-format.md` - detect range from tags
|
|
|
|
2. **Parse Conventional Commits**
|
|
Use pattern from skill: `<type>(<scope>): <description>`
|
|
|
|
3. **Group by Type**
|
|
Map to Keep-a-Changelog sections per skill
|
|
|
|
4. **Format Entries**
|
|
- Extract scope as bold prefix
|
|
- Use description as entry text
|
|
- Link commit hashes if repo URL available
|
|
|
|
5. **Output**
|
|
Use format from `skills/changelog-format.md`
|
|
|
|
## Options
|
|
|
|
| Flag | Description | Default |
|
|
|------|-------------|---------|
|
|
| `--from <tag>` | Start from tag | Latest tag |
|
|
| `--to <ref>` | End at ref | HEAD |
|
|
| `--version <ver>` | Version header | [Unreleased] |
|
|
| `--include-merge` | Include merges | false |
|
|
| `--group-by-scope` | Group by scope | false |
|
|
|
|
## Integration
|
|
|
|
Output designed for direct copy to CHANGELOG.md:
|
|
- Follows [Keep a Changelog](https://keepachangelog.com) format
|
|
- Compatible with semantic versioning
|