Agent skill
init-changelog
Create the foundational structure for changelog management via script.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/init-changelog
SKILL.md
Initialize changelog
GOAL: create CHANGELOG.md and initialize commit pointer.
WHEN: the agent needs to start changelog management.
NOTE: exits gracefully if CHANGELOG.md already exists.
Efficiency directives
- Optimize all operations for token and context efficiency
- Batch operations on file groups, avoid individual file processing
- Target only relevant files
- Reduce token usage
Workflow
- Run
scripts/init-changelog.sh - Capture status from first line of output
- Handle the status:
- If
ERROR: Stop and report to user - If
WARN: Report already exists - If
SUCCESS: Report success
- If
DONE
Output
Files created:
CHANGELOG.md- Main changelog file.last-aggregated-commit- Pointer file
Status communication:
First line of output indicates status:
SUCCESS: [message]- Operation completedWARN: [message]- No changes madeERROR: [message]- Operation failed
Didn't find tool you were looking for?