Skip to main content

changelog

Maintains CHANGELOG.md in the project root using git commit history. Use when the user invokes /changelog, asks to "update the changelog", "generate a changelog", or wants to record what changed before merging a branch. Creates the file from scratch if it doesn't exist (all commits grouped by date); otherwise appends only commits newer than the last recorded date.

Informations de source

Dépôt
https-deeplearning-ai/sc-spec-driven-development-files
Dernière activité de la source
13 avril 2026 à 21:04
Langue détectée de SKILL.md
anglais
Étoiles
317
Forks
308

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
2 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
changelog
description
Maintains CHANGELOG.md in the project root using git commit history. Use when the user invokes /changelog, asks to "update the changelog", "generate a changelog", or wants to record what changed before merging a branch. Creates the file from scratch if it doesn't exist (all commits grouped by date); otherwise appends only commits newer than the last recorded date.
# Changelog Skill ## Workflow 1. Run the script from the project root: ```bash python3 <skill-dir>/scripts/changelog.py ``` Where `<skill-dir>` is the directory containing this skill. Claude Code exposes the skill path — use it directly. 2. The script handles both cases automatically: - **No CHANGELOG.md**: reads full git history, writes the file with all dates - **CHANGELOG.md exists**: finds the newest `## YYYY-MM-DD` heading, fetches commits after that date, prepends new sections 3. Review the output, edit bullet wording if needed, then commit `CHANGELOG.md` as part of the merge commit. ## Format ```markdown # Changelog ## 2026-03-31 - Add responsive design to layout and CSS - Add Vitest test suite for components and routes ## 2026-03-30 - Initial project scaffold ``` - One `# Changelog` title at the top - Date headings as `## YYYY-MM-DD`, newest first - Each commit is one bullet; wording may be cleaned up manually after generation ## Notes - Run from the **project root** (same directory as `.git/`) - Commit subjects come directly from `git log`; clean them up manually if needed - The script is idempotent: re-running when nothing is new prints a message and exits without modifying the file
Voir sur GitHub