Agent skill that sets up a searchable, per-issue changelog: bootstraps a convention from scratch, adds an index to one that already exists, or verifies a partial setup.
Per-issue changelog files get hard to use as they grow: no metadata to filter by, no generated index, no discovery pointer. This skill fixes all three — tracker-, language-, and task-runner-agnostic.
- Frontmatter:
issue,date,paths,tags - Generated, deterministic
INDEX.md - Rebuild/search scripts adapted to the repo's toolchain
- A post-commit changelog-writing skill (or an update to the existing one)
- Discovery/trigger pointers in existing agent docs
.agents/skills/dev-changelog-init/
SKILL.md
assets/
Also works under .github/skills/ or .claude/skills/. assets/ is
required — it holds the generic changelog-writing skill, entry template,
and reference scripts.
Ask an agent to add, index, or search a changelog, or retrofit an existing
changelog-tracking process. Optionally give a changelog directory, or
skip backfill.
Four phases, confirmed before any file changes: Detect → Ask → Plan & confirm → Execute & verify. Phase 0 detection classifies the repo into one of four scenarios and branches the rest of the flow on it:
- A — no changelog convention exists yet; bootstrap one from scratch.
- B — convention exists, but no index/frontmatter; retrofit it.
- C — convention and index both already exist; verify, extend the gap, or rebuild.
- Partial — some but not all pieces exist; only the missing ones get touched.
If Phase 0 also finds an overlapping skill or tool (a prior journal/dev-log under a different name), it asks whether to replace it with the bundled convention or leave it as-is and index it in place — never guessed silently.
Entries must be Markdown with ----delimited frontmatter and # headings.
Any tracker, or none, works. The .mjs reference scripts need adapting
(// ADAPT: markers) — not drop-in.
| Path | Purpose |
|---|---|
SKILL.md |
Interactive setup and verification workflow. |
references/detection.md |
Phase 0 detection heuristics — what to grep for, per area. |
references/lint-notes.md |
Static-analysis patterns to keep when adapting the reference scripts. |
assets/dev-changelog/SKILL.md |
Post-commit entry creation/update workflow. |
assets/dev-changelog/dev-changelog-template.md |
Entry template with frontmatter. |
assets/rebuild-dev-changelog-index.reference.mjs |
Deterministic index generator reference. |
assets/search-dev-changelog.reference.mjs |
Index-only path/tag/title search reference. |
MIT.