Agent Skillspaperclipai/paperclip › release-changelog

release-changelog

GitHub

生成 Paperclip 稳定版发布说明,基于 Git 提交、变更集及 PR 上下文。支持日历版本号解析,处理 Beta 预热期的文件路径与版本源定位,确保输出符合规范的用户面向文档。

.agents/skills/release-changelog/SKILL.md paperclipai/paperclip

Trigger Scenarios

需要生成稳定版发布日志 Beta 版本预热期撰写更新说明

Install

npx skills add paperclipai/paperclip --skill release-changelog -g -y
More Options

Non-standard path

npx skills add https://github.com/paperclipai/paperclip/tree/master/.agents/skills/release-changelog -g -y

Use without installing

npx skills use paperclipai/paperclip@release-changelog

指定 Agent (Claude Code)

npx skills add paperclipai/paperclip --skill release-changelog -a claude-code -g -y

安装 repo 全部 skill

npx skills add paperclipai/paperclip --all -g -y

预览 repo 内 skill

npx skills add paperclipai/paperclip --list

SKILL.md

Frontmatter
{
    "name": "release-changelog",
    "description": "Generate the stable Paperclip release changelog at releases\/vYYYY.MDD.P.md by reading commits, changesets, and merged PR context since the last stable tag."
}

Release Changelog Skill

Generate the user-facing changelog for the stable Paperclip release.

Versioning Model

Paperclip uses calendar versioning (calver):

  • Stable releases: YYYY.MDD.P (e.g. 2026.318.0)
  • Canary releases: YYYY.MDD.P-canary.N (e.g. 2026.318.1-canary.0)
  • Git tags: vYYYY.MDD.P for stable, canary/vYYYY.MDD.P-canary.N for canary

There are no major/minor/patch bumps. The stable version is derived from the intended release date (UTC) plus the next same-day stable patch slot.

Output:

  • releases/vYYYY.MDD.P.md
  • a release Case, upserted by (caseType, key) when Cases are enabled, with a body document revision containing the changelog body

Important rules:

  • even if there are canary releases such as 2026.318.1-canary.0, the changelog file stays releases/v2026.318.1.md
  • do not derive versions from semver bump types
  • do not create canary changelog files

Channel Process — Source Commit and File Location

Stables promote a soaked beta, so the changelog describes the beta's source commit, not the tip of master:

  • The release source is the commit the newest beta/v<beta-version> tag points at ({beta-src} below). Resolve it with:

    git fetch origin --tags
    npm view paperclipai dist-tags   # the beta dist-tag names the version
    git rev-parse 'beta/v{beta-version}^{commit}'
    
  • Commits on master after {beta-src} ship in the next release. Never include them; they are input for a "what's next" section, not the changelog.

  • During the soak, the file lives at releases/beta/v{beta-version}.md on the branch release-notes/v{beta-version} (PR to master). The release workflow pushes that branch with a generated skeleton when the beta publishes; work on it and rewrite the skeleton in place. If the branch does not exist (a beta cut before the automation), create it from origin/master and seed the skeleton:

    ./scripts/draft-stable-notes.sh {beta-version}
    
  • The PR must merge to master before the stable is dispatched: the stable preflight reads the file from master and fails without it.

  • Never create releases/vYYYY.MDD.P.md yourself on this path — after the stable ships, the workflow opens a canonicalization PR that renames the beta-keyed file to it.

  • Fix path exception (patch releases from a candidate/release-* branch): there the notes do go directly on the candidate branch as releases/vYYYY.MDD.P.md, committed alongside the cherry-picked fixes.

Step 0 — Idempotency Check

Before generating anything, check whether the changelog already exists:

ls releases/beta/v{beta-version}.md 2>/dev/null   # soak-window home
ls releases/vYYYY.MDD.P.md 2>/dev/null            # canonicalized / fix path
git ls-remote origin 'refs/heads/release-notes/v{beta-version}'

A release-notes/v{beta-version} branch holding only the generated skeleton is the normal starting state, not a conflict — rewrite it in place.

If it exists:

  1. read it first
  2. present it to the reviewer
  3. ask whether to keep it, regenerate it, or update specific sections
  4. never overwrite it silently

Step 1 — Determine the Stable Range

Find the last stable tag and the beta source commit:

git tag --list 'v*' --sort=-version:refname | head -1
beta_src="$(git rev-parse 'beta/v{beta-version}^{commit}')"
git log v{last}..${beta_src} --oneline --no-merges

The changelog range is always v{last}..{beta-src} — never ..HEAD and never ..origin/master.

The stable version comes from one of:

  • an explicit maintainer request
  • ./scripts/release.sh stable --date YYYY-MM-DD --print-version
  • the release plan already agreed in doc/RELEASING.md

Do not derive the changelog version from a canary tag or prerelease suffix. Do not derive major/minor/patch bumps from API intent — calver uses the date and same-day stable slot.

Step 2 — Gather the Raw Inputs

Collect release data from:

  1. git commits since the last stable tag
  2. .changeset/*.md files
  3. merged PRs via gh when available

Useful commands:

git log v{last}..{beta-src} --oneline --no-merges
git log v{last}..{beta-src} --format="%H %s" --no-merges
ls .changeset/*.md | grep -v README.md
gh pr list --state merged --search "merged:>={last-tag-date}" --json number,title,body,labels

Step 3 — Detect Breaking Changes

Look for:

  • destructive migrations
  • removed or changed API fields/endpoints
  • renamed or removed config keys
  • BREAKING: or BREAKING CHANGE: commit signals

Key commands:

git diff --name-only v{last}..{beta-src} -- packages/db/src/migrations/
git diff v{last}..{beta-src} -- packages/db/src/schema/
git diff v{last}..{beta-src} -- server/src/routes/ server/src/api/
git log v{last}..{beta-src} --format="%s" | rg -n 'BREAKING CHANGE|BREAKING:|^[a-z]+!:' || true

If breaking changes are detected, flag them prominently — they must appear in the Breaking Changes section with an upgrade path.

Step 4 — Categorize for Users

Use these stable changelog sections:

  • Breaking Changes
  • Highlights
  • Improvements
  • Fixes
  • Upgrade Guide when needed

Exclude purely internal refactors, CI changes, and docs-only work unless they materially affect users.

Guidelines:

  • group related commits into one user-facing entry
  • write from the user perspective
  • keep highlights short and concrete
  • spell out upgrade actions for breaking changes
  • describe deltas, not repeats: read the previous stable's notes (releases/v<last-stable>.md) before writing. When they already introduced a feature, this release's entry covers only what changed — a default flip, a hardening, a completion — phrased against the prior release ("last release introduced X; this release makes it the default"), never re-describing the feature as if it debuted. A theme that headlined the previous release does not headline again for follow-through work; demote it to Improvements.

Inline PR and contributor attribution

When a bullet item clearly maps to a merged pull request, add inline attribution at the end of the entry in this format:

- **Feature name** — Description. ([#123](https://github.com/paperclipai/paperclip/pull/123), @contributor1, @contributor2)

Rules:

  • Only add a PR link when you can confidently trace the bullet to a specific merged PR. Use merge commit messages (Merge pull request #N from user/branch) to map PRs.
  • List the contributor(s) who authored the PR. Use GitHub usernames, not real names or emails.
  • If multiple PRs contributed to a single bullet, list them all: ([#10](url), [#12](url), @user1, @user2).
  • If you cannot determine the PR number or contributor with confidence, omit the attribution parenthetical — do not guess.
  • Core maintainer commits that don't have an external PR can omit the parenthetical.

Step 5 — Write the File

The file path is the beta-keyed one from the Channel Process section (releases/beta/v{beta-version}.md), but the content is titled with the planned stable version. Resolve it with ./scripts/release.sh stable --date {planned-promotion-date} --print-version (promotion is normally the beta publish date plus the 3-day soak). If the promotion date slips, the version re-resolves at dispatch — the beta-keyed filename makes that harmless; refresh the title when it happens.

The opening line of the changelog must be an H1 of the format # Paperclip {version} (no braces), e.g. # Paperclip v2026.618.0. Always include the Paperclip prefix and the v on the version.

Template:

# Paperclip vYYYY.MDD.P

> Released: YYYY-MM-DD

## Breaking Changes

## Highlights

## Improvements

## Fixes

## Upgrade Guide

## Contributors

Thank you to everyone who contributed to this release!

@username1, @username2, @username3

Omit empty sections except Highlights, Improvements, and Fixes, which should usually exist.

The Contributors section should always be included. List every person who authored commits in the release range, @-mentioning them by their GitHub username (not their real name or email). To find GitHub usernames:

  1. Extract usernames from merge commit messages: git log v{last}..{beta-src} --oneline --merges — the branch prefix (e.g. from username/branch) gives the GitHub username.
  2. For noreply emails like user@users.noreply.github.com, the username is the part before @.
  3. For contributors whose username is ambiguous, check gh api users/{guess} or the PR page.

Never expose contributor email addresses. Use @username only.

Exclude bot accounts (e.g. lockfile-bot, dependabot) from the list. Exclude specific folks from the list — the Contributors section credits community contributors only. The canonical exclusion list (keep it here; the Discord skill defers to it): cryppadotta, forgottendev, devinfoley, sockmonster, scotttong, nguyenm7, nickyleach, tonio-alucema

List contributors in alphabetical order by GitHub username (case-insensitive).

If there are no contributors left after exclusions, then just skip this section and don't mention it.

Step 5b — Upsert The Release Case

After writing releases/vYYYY.MDD.P.md, emit or refresh the top-level release case when the run has Paperclip API context. Use skills/paperclip/references/cases.md as the API contract. If the API returns 403 Cases are disabled, report that Cases must be enabled and continue with the changelog file only.

Request:

POST /api/companies/:companyId/cases
{
  "caseType": "release",
  "key": "paperclip-release:vYYYY.MDD.P",
  "title": "Paperclip vYYYY.MDD.P release",
  "summary": "Stable Paperclip release notes for vYYYY.MDD.P.",
  "status": "in_progress",
  "fields": {
    "schema_version": 1,
    "version": "vYYYY.MDD.P",
    "release_date": "YYYY-MM-DD",
    "release_patch": 0,
    "stable": true,
    "channels": ["changelog", "blog_post", "tweet_storm"],
    "artifacts": {
      "changelog_path": "releases/vYYYY.MDD.P.md",
      "github_release_url": null
    },
    "verification": {
      "typecheck": "unknown",
      "tests": "unknown",
      "build": "unknown",
      "smoke": "unknown"
    },
    "notes": null
  }
}

This fields schema deliberately exercises every generic field value type: string, number, boolean, array, object, and null. Keep the keys stable across runs and send the full object on every upsert because fields are replaced, not deep-merged.

Then write the changelog into the case body document:

PUT /api/cases/:releaseCaseId/documents/body
{
  "title": "Paperclip vYYYY.MDD.P changelog",
  "format": "markdown",
  "body": "<contents of releases/vYYYY.MDD.P.md>",
  "changeSummary": "Initial stable changelog"
}

If updating an existing body document, fetch the case first and pass the latest baseRevisionId. On 409 stale_base_revision, refetch, merge intentionally, and retry once.

Step 6 — Review Before Release

Before handing it off:

  1. confirm the H1 heading is # Paperclip {version} (e.g. # Paperclip v2026.618.0) with the stable version only
  2. confirm there is no -canary language in the title or filename
  3. confirm any breaking changes have an upgrade path
  4. confirm the release case exists or explain why Cases were unavailable
  5. present the draft for human sign-off

This skill never publishes anything. It only prepares the stable changelog artifact.

Version History

  • 2eb9a09 Current 2026-08-20 07:22

Same Skill Collection

.agents/skills/check-pr/SKILL.md
.agents/skills/company-creator/SKILL.md
.agents/skills/create-agent-adapter/SKILL.md
.agents/skills/create-issue-interaction-ui/SKILL.md
.agents/skills/create-paperclip-bundled-skill/SKILL.md
.agents/skills/deal-with-security-advisory/SKILL.md
.agents/skills/diagnose-why-work-stopped/SKILL.md
.agents/skills/doc-maintenance/SKILL.md
.agents/skills/garden-inbox/SKILL.md
.agents/skills/paperclip-create-plugin/SKILL.md
.agents/skills/paperclip-dev-workspace-run-verify-fix/SKILL.md
.agents/skills/paperclip-page/SKILL.md
.agents/skills/pr-gardening/SKILL.md
.agents/skills/pr-report/SKILL.md
.agents/skills/prcheckloop/SKILL.md
.agents/skills/prepare-paperclip-pr/SKILL.md
.agents/skills/release-changelog-discord-message/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/terminal-bench-loop/SKILL.md
packages/adapters/hermes/skills/paperclip-task-bridge/SKILL.md
packages/plugins/plugin-llm-wiki/skills/index-refresh/SKILL.md
packages/plugins/plugin-llm-wiki/skills/paperclip-distill/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-ingest/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-lint/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-maintainer/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-query/SKILL.md
skills-releases/paperclip/v0/SKILL.md
skills-releases/paperclip/v7-roster/SKILL.md
skills/paperclip-board/SKILL.md
skills/paperclip-converting-plans-to-tasks/SKILL.md
skills/paperclip-create-agent/SKILL.md
skills/paperclip/SKILL.md
skills/para-memory-files/SKILL.md
.claude/skills/design-guide/SKILL.md

Metadata

Files
0
Version
2eb9a09
Hash
e9ada310
Indexed
2026-08-20 07:22

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 00:17
浙ICP备14020137号-1 $mapa de visitantes$