init-changelog
Create the foundational structure for changelog management via script.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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 completed -
WARN: [message]- No changes made -
ERROR: [message]- Operation failed
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-31
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!