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.

Quellinformationen

Repository
https-deeplearning-ai/sc-spec-driven-development-files
Letzte Quellaktivität
13. April 2026 um 21:04
Erkannte Sprache von SKILL.md
Englisch
Sterne
329
Forks
323

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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
Auf GitHub ansehen