update-changelog
Manage CHANGELOG.md files and GitHub releases — add new entries, backfill missing versions, sync release notes.
What this skill does
Manage CHANGELOG.md files and GitHub releases — add new entries, backfill missing versions, and sync release notes.
## Formatting
### CHANGELOG.md format
Follow [Keep a Changelog](https://keepachangelog.com/) with these specific conventions:
```markdown
# Changelog
## [1.2.0] - 2026-03-15
### Added
- Add git stage/unstage actions to action palette
- Add git commit via action palette
### Fixed
- Fix Ctrl+R refresh not reloading git status
- Skip .git and hidden dirs in file finder
### Changed
- Clean up keybindings and action names
## [1.1.0] - 2026-03-14
...
```
Rules:
- **File heading**: `# Changelog` (nothing else on the line)
- **Version heading**: `## [x.y.z] - YYYY-MM-DD` — square brackets around version, space-dash-space before date
- **Unreleased heading**: `## [Unreleased]` — no date
- **Category headings**: `### Added`, `### Changed`, `### Fixed`, `### Removed` — only include categories that have entries
- **Category order**: Added → Changed → Fixed → Removed
- **Entry format**: `- Verb-led phrase` — start with present-tense verb, no trailing period, no sub-bullets
- **Verb matches category**:
- Added → "Add ...", "Enable ...", "Introduce ..."
- Changed → "Update ...", "Move ...", "Use ...", "Rename ...", "Convert ..."
- Fixed → "Fix ...", "Correct ...", "Prevent ..."
- Removed → "Remove ...", "Delete ...", "Drop ..."
- **Whitespace**: one blank line between version sections, one blank line between category sections, no blank lines between entries within a category, no trailing blank line at end of file
### GitHub release format
Release notes use the same content as the CHANGELOG.md entry but **without** the version heading (`## [x.y.z] - ...`). Include all categories present in the changelog entry. Keep the category headings and entries as-is:
```markdown
### Added
- Add git stage/unstage actions to action palette
- Add git commit via action palette
### Fixed
- Fix Ctrl+R refresh not reloading git status
```
## Modes of operation
This skill operates in two modes based on user intent:
1. **Add/update** (default) — add a new changelog entry for a specific version, optionally sync to a GitHub release
2. **Backfill** — populate missing versions in CHANGELOG.md and/or GitHub releases from git history
## Add/update mode
### Step 1 — Find CHANGELOG.md
Glob for `**/CHANGELOG.md`. If multiple are found, ask the user which to update. If none found, offer to create one with the [Keep a Changelog](https://keepachangelog.com/) header:
```markdown
# Changelog
```
### Step 2 — Determine what changed
Two sources, in priority order:
1. **User-provided description** — if the user described the changes, use that directly
2. **Git history** — if no description provided, identify changes since the last version:
- Read the top entry in CHANGELOG.md to get the latest version number. If the changelog is empty or has only a header, treat it as a fresh changelog with no prior version.
- Run `git log v{latest}..HEAD --oneline` to list commits since that version (if no matching tag exists, use the entry's date with `--since=YYYY-MM-DD`; if no prior version at all, use the full log)
- Summarize the changes into concise bullet points
### Step 3 — Determine version and date
- If the user provided a version, use it
- If a version was recently bumped in the working tree (check `git diff` and `git diff --staged` for version file changes), detect and use the new version
- Otherwise, ask the user for the new version
- Date defaults to today
### Step 4 — Categorize entries
Classify each change into [Keep a Changelog](https://keepachangelog.com/) categories:
| Category | When to use | Git message keywords |
|---|---|---|
| **Added** | New features, files, capabilities | "add", "introduce", "new" |
| **Changed** | Modifications to existing functionality | "update", "improve", "refactor" |
| **Fixed** | Bug fixes | "fix", "repair", "resolve" |
| **Removed** | Removed features or files | "remove", "delete", "drop" |
If the user provided pre-categorized entries, respect their categorization. Only include categories that have entries — omit empty categories.
### Step 5 — Insert the entry
Insert the new version section at the top of the changelog (after the `# Changelog` heading or after `## [Unreleased]` if present), following the formatting rules above. Use the Edit tool to insert, not a full file rewrite. If the file was just created (empty or header-only), writing the full file is acceptable.
### Step 6 — GitHub release
Check if the repo uses GitHub releases:
```bash
gh release list --limit 1
```
If `gh` is not available or not authenticated, skip this step and inform the user.
If releases exist or the user explicitly asked to create/update a release:
- **Existing release**: `gh release edit v{version} --notes "..."`
- **New release**: `gh release create v{version} --title "v{version}" --notes "..."`
- Use the GitHub release format described in the Formatting section above
- If the version's tag doesn't exist yet, inform the user that the tag must be created first (tags should be created from a specific commit, not implicitly by `gh release create`)
## Backfill mode
Activate when the user asks to backfill, populate missing entries, or sync historical versions.
### Tag discovery
Discover version tags by trying both prefixed and bare formats:
```bash
git tag --list 'v*' --sort=creatordate
git tag --list '[0-9]*' --sort=creatordate
```
Use whichever pattern matches the repo's convention. If no version tags exist at all, inform the user that backfilling requires version tags and stop.
### Backfill CHANGELOG.md
1. List all version tags using the discovery step above
2. Read existing CHANGELOG.md to find which versions already have entries
3. For each missing version, generate an entry from git log between that tag and its predecessor: `git log {prev}..{version} --oneline`
4. If the git log between two adjacent tags is empty (e.g., fast-forward merge), create a minimal entry noting "No significant changes"
5. Categorize commits using the keyword table above
6. Present the proposed entries as a numbered list showing version, date, and bullet points — ask the user to confirm before writing
7. Insert confirmed entries in the correct chronological position within the file
### Backfill GitHub releases
If `gh` is not available or not authenticated, skip this section and inform the user.
1. List existing releases: `gh release list --limit 100`
2. List all version tags using the discovery step above
3. For each tag without a matching release:
- Use the CHANGELOG.md entry as release notes if available
- Otherwise generate notes from git log between adjacent tags
4. Present a summary table of releases to create (columns: tag, date, entry count) and ask for confirmation
5. Create confirmed releases: `gh release create {tag} --title "{tag}" --notes "..."`
## Final step
Show the user what was added or created. Do not commit or push unless also asked.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.