install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/init-changelog" ~/.claude/skills/majiayu000-claude-skill-registry-init-changelog && rm -rf "$T"
manifest:
skills/data/init-changelog/SKILL.mdsource content
Initialize changelog
: create GOAL
CHANGELOG.md and initialize commit pointer.
: the agent needs to start changelog management.WHEN
: exits gracefully if NOTE
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
: Stop and report to userERROR - If
: Report already existsWARN - If
: Report successSUCCESS
- If
DONE
Output
Files created:
- Main changelog fileCHANGELOG.md
- Pointer file.last-aggregated-commit
Status communication:
First line of output indicates status:
- Operation completedSUCCESS: [message]
- No changes madeWARN: [message]
- Operation failedERROR: [message]