| name | changelog-fragments |
| description | Create and manage changelog fragments to track changes without merge conflicts. Each change gets its own file for parallel development. |
CHANGELOG Fragments Skill
Use this skill when creating or working with CHANGELOG fragments. Fragments are permanent records of changes, stored in ./docs/changelog/.
This skill is the replacement for the old changelog_create command.
Purpose
Changelog fragments prevent merge conflicts when multiple branches are developed in parallel. Each change gets its own file that stays as permanent documentation.
Directory Layout
Fragments are stored in ./docs/changelog/ at the project root. Create this directory on demand when writing the first fragment.
Default Workflow
When the user wants to record a completed change:
- Determine the description from the request or the current session
- Create
./docs/changelog/ if it does not exist
- Generate the filename using the
Europe/Stockholm calendar date and a short kebab-case summary
- Classify the fragment as
feature, fix, chore, docs, refactor, test, or perf
- Gather related references from local docs when available:
docs/decisions/
docs/specs/
thoughts/shared/devlog/
thoughts/shared/plans/
thoughts/shared/research/
- GitHub issues, PRs, or beads IDs
- Write the fragment using
template.md
Ask the user for missing metadata only when it cannot be inferred confidently.
File Naming Convention
YYYY-MM-DD_brief-description.md
Examples:
2025-11-19_oauth-token-refresh.md
2025-11-05_sync-database-tracking.md
2025-12-03_hydration-error-fix.md
Template
See template.md in this skill directory for the fragment format.
Fragment Types
- feature: New features or enhancements
- fix: Bug fixes
- chore: Maintenance tasks, dependency updates
- docs: Documentation changes
- refactor: Code refactoring without behavior changes
- test: Test additions or improvements
- perf: Performance improvements
When to Create a Fragment
Create a fragment for:
- Completing a planned feature or fix
- Making a breaking change
- Significant refactoring or architecture changes
- Important bug fixes
- Documentation improvements that affect users
Skip fragments for:
- Work-in-progress commits
- Typo fixes in comments
- Small documentation tweaks
- Personal experiments
Cross-Referencing
Fragments should link to related documentation. Use the frontmatter fields:
| Field | Links to |
|---|
related_adr | Architecture decision in docs/decisions/ |
related_spec | Feature spec in docs/specs/ |
related_devlog | Implementation devlog in thoughts/shared/devlog/ |
related_plan | Implementation plan in thoughts/shared/plans/ |
related_research | Research doc in thoughts/shared/research/ |
related_issues | GitHub issues [#123] or beads [BD-042] |
related_prs | Pull requests [#456] |
Example:
---
date: 2025-11-20
type: feature
related_adr: docs/decisions/2025-11-18_use-inngest-for-workflows.md
related_spec: docs/specs/sync-status-tracking.md
related_devlog: thoughts/shared/devlog/2025-11-20_inngest-integration.md
related_issues: [
---
Writing Guidelines
- Brief summary: 1-3 sentences, what changed and why it matters
- User-facing: Focus on impact, not implementation details
- Optional details: Add bullet points for complex changes
Browsing Fragments
ls -1 docs/changelog/
grep -l "oauth" docs/changelog/*.md
grep "^type: feature" docs/changelog/*.md
Creating a Fragment
Treat requests like these as direct triggers for this skill:
- "Create a changelog fragment for this work"
- "Document this completed change"
- "Add a changelog entry for OAuth token refresh"
Skill Activation
This skill activates when:
- Completing implementation work
- Writing session documentation for completed work
- Landing changes that should be documented