# changelog-draft

changelog-draft is a Claude Code skill that turns pull requests merged between two release tags into a changelog draft, keeping explicit CHANGELOG markers and sorting the rest into categories.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/.agents/skills/changelog-draft/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/changelog-draft

## What it does

The skill builds a changelog draft for one release tag out of the pull requests that landed since the previous release cut. It takes a channel (`stable`, `preview` or `dev`) and a `release_tag`; files go to `$RUNNER_TEMP` or `/tmp/changelog-draft` unless another directory is passed, and attribution runs in `external-only`, `all` or `none` mode.

Picking the base tag is a step of its own. Tags look like `v0.YYYY.MM.DD.HH.MM.<channel>_NN`, and the comparison point is the `_00` tag of the earlier date, so `v0.2026.04.29.08.57.stable_01` is measured against `v0.2026.04.22.08.57.stable_00`. Four python scripts then do the work: `fetch_prs.py` collects PRs and their explicit markers, `classify_contributors.py` splits authors into internal, external and bot, `extract_feature_flags.py` reads flag lists out of `crates/warp_features/src/lib.rs`, and `fetch_issue_reporters.py` credits outside reporters of linked issues.

Output is markdown plus JSON. `channel_versions.json` stays untouched. A run inside `warpdotdev/warp-internal` only lets through PRs mirrored by `warp-repo-sync[bot]`, and `internal_pr` data stays audit-only — it never becomes a contributor credit or a changelog link. Needs `python3` and GitHub API access for the org membership checks.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill changelog-draft -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/changelog-draft/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/changelog-draft/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill changelog-draft -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/changelog-draft/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill changelog-draft -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/changelog-draft/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp .agents/skills/changelog-draft
```

2. **Manually: put the files in place**
- File: `.github/skills/changelog-draft/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill changelog-draft -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path .agents/skills/changelog-draft
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/changelog-draft/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/.agents/skills/changelog-draft/SKILL.md

## When to use it
- draft a changelog for PRs merged between two release tags
- pull explicit CHANGELOG markers out of PR bodies
- sort unmarked PRs into feature, improvement and bug fix
- separate outside contributors from staff and bots
- emit markdown and JSON without touching `channel_versions.json`

## Example prompts
- Draft the changelog for `v0.2026.04.29.08.57.stable_01` on the `stable` channel
- Generate the changelog with `all` attribution
- Run `fetch_prs.py` and list the PRs that came back without CHANGELOG markers

## Similar
- [om-auto-update-changelog](https://affpapa.org/en/nevibecode/skills/om-auto-update-changelog.md) — skill · 4100 installs
- [changelog](https://affpapa.org/en/nevibecode/skills/shpigford-changelog.md) — skill · 135 installs
- [Changelog Generator](https://affpapa.org/en/nevibecode/skills/claude-office-skills-changelog-generator.md) — skill · 4800 installs
- [utility-pm-changelog-curator](https://affpapa.org/en/nevibecode/skills/utility-pm-changelog-curator.md) — skill · 683 installs
- [skillshare-changelog](https://affpapa.org/en/nevibecode/skills/skillshare-changelog.md) — skill · ★ 3269 repo stars
- [changelog-gen](https://affpapa.org/en/nevibecode/plugins/changelog-gen.md) — plugin · ★ 2858 repo stars

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
