/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, rule definitions → [RULES]
- •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] – Recommended rule definitions (RRAILS namespace)
- •[DOCS] – README, general documentation
- •[META] – CLAUDE.md, backbone.yml, repo structure
Example
markdown
### Added - [RULES]: RRAILS:G:0001 rule for governance practices ### Changed - [DOCS]: Updated README with new rule list
Do not ask for confirmation. Just do it.