changelog-demo-command — Claude Code command: features and install
Explore changelog generation and format checks using Git history. The command is useful for reviewing release-note workflows and their tests.
npx claude-code-templates@latest --command deployment/changelog-demo-commandWhat changelog-demo-command does
The command reads the project’s CHANGELOG.md and version details from package.json, pyproject.toml, or Cargo.toml when present. It also fetches recent commits with git log and recent tags with git tag.
Its demos cover generating entries from commits, Keep a Changelog and conventional-changelog formats, change categories, and semantic versioning. You can inspect format checks, suggested fixes, tests with different commit-message patterns, and error handling. Another section measures speed and memory use against large commit histories.
Use --generate, --validate, or --demo, or pass a format as an argument. This is a demo command; its integration-testing section exercises the workflow without affecting the main process.
What it helps with
- Create sample changelog entries from Git commits
- Compare Keep a Changelog with conventional-changelog
- Check an existing changelog for format compliance
- Test handling of different commit-message patterns
- Measure speed and memory use on a large commit history
Example prompts for the agent
- Show the changelog generation demo:
/changelog-demo-command --generate - Check the current changelog format:
/changelog-demo-command --validate - Run the full changelog automation demo:
/changelog-demo-command --demo
How to install changelog-demo-command
1claude-code-templates
npx claude-code-templates@latest --command deployment/changelog-demo-command2Manually: put the files in place
.claude/commands/changelog-demo-command.mdCall it with /changelog-demo-command. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/changelog-demo-command.mdCall it with /prompts:changelog-demo-command. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/changelog-demo-command.prompt.mdManually: put the files in place
.gemini/commands/changelog-demo-command.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about changelog-demo-command
How do I install changelog-demo-command in Claude Code?
Run npx claude-code-templates@latest --command deployment/changelog-demo-command. The command file is at .claude/commands/changelog-demo-command.md.
What does changelog-demo-command do?
It demonstrates changelog entry generation from commits and format checks. It also covers workflow tests, error handling, and speed and memory measurements.
Which project data does the command inspect?
It reads CHANGELOG.md and version information from package.json, pyproject.toml, or Cargo.toml when present. It gets commit history and tags using git log and git tag.
Source text
changelog-demo-command.md · MIT
--- allowed-tools: Read, Write, Edit, Bash argument-hint: "[format] | --generate | --validate | --demo" description: Demonstrate changelog automation features with real examples and validation --- # Changelog Automation Demo Demonstrate changelog automation features: $ARGUMENTS ## Current Project State - Existing changelog: @CHANGELOG.md (if exists) - Package version: @package.json or @pyproject.toml or @Cargo.toml (if exists) - Recent commits: !`git log --oneline -10` - Git tags: !`git tag -l | tail -5` ## Demo Features ### 1. **Changelog Generation Demo** - Generate sample changelog entries from git commits - Show different changelog formats (Keep a Changelog, conventional-changelog) - Demonstrate automatic categorization of changes - Show version numbering and semantic versioning ### 2. **Format Validation Demo** - Validate existing changelog format compliance - Show format inconsistencies and suggestions - Demonstrate automated formatting fixes - Show integration with release automation ### 3. **Integration Testing** - Test changelog automation without affecting main workflow - Validate changelog generation pipeline - Test different commit message patterns - Show error handling and recovery ### 4. **Performance Benchmarking** - Measure changelog generation speed - Test with large commit histories - Show memory usage and optimization - Benchmark different parsing strategies
© davila7 · MIT · davila7/claude-code-templates