changelog-credit

Adds CHANGELOG.md entries for merged CMB2 pull requests with contributor Props links.

3.0k|560|Updated Aug 20, 2014
One-click install
npx skills add https://github.com/CMB2/CMB2 --skill changelog-credit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: changelog-credit
Source: https://github.com/CMB2/CMB2/tree/main/.claude/skills/changelog-credit
Command: npx skills add https://github.com/CMB2/CMB2 --skill changelog-credit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeping a project's CHANGELOG.md up to date after merging pull requests is repetitive and easy to forget, and entries must follow strict formatting conventions (Props links, PR links, section grouping). This Skill automates writing changelog entries for CMB2 pull requests in the repository's exact house style.

Core Features & Use Cases

  • Explicit PR mode: Provide a PR number or URL and get a properly formatted changelog entry crediting the contributor with a Props link and linking the PR.
  • Discovery mode: Scans recent git commits for merged PRs not yet credited in CHANGELOG.md, confirms the list with you, then logs each one.
  • House style enforcement: Places entries under ## Unreleased in ### Enhancements or ### Bug Fixes, uses past-tense bullets, [Development] prefixes for tooling work, and Fixes #M links for tracked issues.
  • Use Case: After merging PR #1559 from a community contributor, ask the Skill to update the changelog and it fetches the PR metadata via gh, writes a user-facing summary, and adds the bullet with Props and PR links.

Quick Start

Update CHANGELOG.md with an entry for PR #1559, crediting the contributor.

Frequently Asked Questions about changelog-credit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a changelog entry for a merged pull request?

Provide the PR number or URL and the Skill fetches the title, body, and author via gh pr view, then writes a past-tense bullet under the Unreleased section with a Props link to the author and a link to the PR.

How to find merged PRs that are missing from the changelog?

Run the Skill in discovery mode with no PR argument. It scans recent git log subjects for #N references, greps CHANGELOG.md for existing pull/N links, and presents the uncredited PRs for your confirmation before writing entries.

Does it work with any GitHub repository's changelog format?

It is tailored to the CMB2 repository's conventions: an Unreleased section with Enhancements and Bug Fixes subheadings, Props contributor links, and [Development] prefixes for tooling work. Other repos with different formats would need adjusted rules.

What tools are required to run this changelog workflow?

It requires the GitHub CLI (gh) for fetching PR metadata, git for scanning commit history, and grep for checking existing changelog entries. No scripts directory or external packages are included.

When should a changelog entry omit the Props contributor credit?

Props are omitted only when the author is a core maintainer landing their own routine work and nearby existing entries also omit it, such as internal [Development] lines. All community contributions receive a Props link.