/add-changelog-entry
Automatically add a changelog entry to PROJECT_ROOT/UNRELEASED.md.
Instructions
- •Check git diff or recent file modifications
- •Determine the area from the file path:
- •rules/*.md → [RULES]
- •capability-levels.md with L1-L6 changes → [L1]-[L6]
- •README.md → [DOCS]
- •CLAUDE.md, backbone.yml, .claude/, .reporails/ → [META]
- •Determine the category:
- •New files/content → Added
- •Modified existing → Changed
- •Marked as deprecated/obsolete → Deprecated
- •Removed content → Removed
- •Bug fixes → Fixed
- •Security-related changes → Security
- •Write a concise description (3-7 words)
- •Append to UNRELEASED.md under the correct category section
- •Create the category section if it doesn't exist
Format
markdown
### [Category] - [Area]: [Description]
Categories
Added, Changed, Deprecated, Removed, Fixed, Security
Areas
- •[RULES] – Rule definitions (S, C, M, G, E)
- •[L1]-[L6] – Level-specific changes
- •[DOCS] – README, general documentation
- •[META] – CLAUDE.md, backbone.yml, repo structure
Example
markdown
### Added - [RULES]: S5 rule for import depth validation - [L4]: Added hooks requirement to level definition ### Changed - [DOCS]: Updated README with CLI link
Do not ask for confirmation. Just do it.