CommunityCodierung & Entwicklunggithub.com

conventional-commits-release

Computes the next semantic version and a Keep a Changelog section from Conventional Commits (feat, fix, perf, revert, breaking changes with ! or BREAKING CHANGE footers), including 0.x rules and prereleases like rc.1, and helps write commit messages that follow the spec. Use when the user asks what the next version should be, wants release notes or a CHANGELOG entry from git history, asks how to word a commit, or wants to adopt Conventional Commits and semver in a project.

Was ist conventional-commits-release?

conventional-commits-release is a Claude Code agent skill that computes the next semantic version and a Keep a Changelog section from Conventional Commits (feat, fix, perf, revert, breaking changes with ! or BREAKING CHANGE footers), including 0.x rules and prereleases like rc.1, and helps write commit messages that follow the spec. Use when the user asks what the next version should be, wants release notes or a CHANGELOG entry from git history, asks how to word a commit, or wants to adopt Conventional Commits and semver in a project.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/saizul/oss-maintainer-skills/tree/HEAD/skills/conventional-commits-release

Installed? Explore more Codierung & Entwicklung skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Conventional Commits release

Commit messages carry the release information: feat means a new minor version, fix a patch, and ! or BREAKING CHANGE: a major. The script turns history into a version number and a changelog section. It only reads git; it never tags or commits.

When to use

  • "What version should I release next?" / "write the changelog for this release"
  • "How should I word this commit?"
  • Adopting Conventional Commits and semantic versioning in a project

When not to use

  • Projects that version by date (CalVer) or never tag releases: the bump logic does not apply.
  • Monorepos with independently versioned packages: run per package with --since on that package's tag, or use a dedicated tool (release-please, changesets).

Workflow

  1. Collect commits since the last release tag (scripts/ is relative to this skill):

    python3 scripts/next_version.py --git                    # since latest v* tag
    python3 scripts/next_version.py --git --since v1.4.0     # explicit start
    python3 scripts/next_version.py --git --json             # for further processing
    

    Without tags the current version defaults to 0.0.0; pass --current 1.4.0 when the version lives only in a manifest.

  2. Review the result with the user. Check the non_conventional list in --json output: those commits are not counted toward the bump. Read them; if one is really a feature or a breaking change, say so and propose the corrected bump.

  3. Polish the notes. The script output is a draft. Rewrite subjects so users understand them (what changed for them, not how), merge duplicates, and put upgrade instructions under "Breaking changes". Keep the version heading format ## [X.Y.Z] - YYYY-MM-DD.

  4. Update CHANGELOG.md. Insert the section below ## [Unreleased] (create that heading if missing), keep older sections intact, and update the compare links at the bottom if the file uses them.

  5. Bump manifests (pyproject.toml, package.json, ...) to the same version, then hand over to the release-checklist skill. Do not create the tag yourself unless the user asks.

Bump rules

Commits since last tag1.x and later0.x (default)
any ! or BREAKING CHANGE:majorminor
any featminorminor
only fix, perf, revertpatchpatch
only docs, chore, ci, test, style, refactor, buildnonenone
  • --no-zero-major-rule: let a breaking change on 0.x go to 1.0.0.
  • --pre rc: produce 1.5.0-rc.1; running again from 1.5.0-rc.1 gives 1.5.0-rc.2. Without --pre, a prerelease is finished: 1.5.0-rc.2 + fix gives 1.5.0.
  • --fail-if-none exits 1 when nothing warrants a release (useful in CI).
  • --repo-url https://github.com/OWNER/REPO links commit hashes.
  • --include docs,other also lists documentation and other commits.

Writing commit messages

Format: type(optional scope)!: imperative summary then an optional body and footers. See the cheat sheet for types, examples and the breaking-change footer. When asked to word a commit, read the staged diff (git diff --cached) and propose one message; do not commit unless asked.

Output

  • Current version, bump, next version and tag name.
  • The edited changelog section, and which commits you reworded or reclassified.

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

contributor-onboarding

Sets up a repository to attract and keep first-time contributors - writes CONTRIBUTING.md from the project's real setup and test commands, generates and validates a consistent GitHub label set (type, status, priority, good first issue, help wanted) with a dry-run script for gh, and turns vague issues into well-scoped good first issues. Use when the user wants more contributors, asks for a CONTRIBUTING guide, labels, or good first issues, or prepares for Hacktoberfest or a launch.

github-actions-ci

Generates a GitHub Actions CI workflow for Python, Node.js (npm, pnpm, yarn) or PHP (Composer) projects by detecting manifests, lockfiles, dev tools and scripts - with a runtime version matrix, dependency caching, least-privilege permissions and concurrency cancelling - and reviews existing workflows for common mistakes. Use when the user asks to add CI, set up GitHub Actions, test on several Python/Node/PHP versions, speed up or fix a slow or flaky workflow, or make pull requests run tests automatically.

issue-triage

Triages a GitHub issue backlog - exports open issues with the gh CLI, sorts them into untriaged, waiting-on-reporter, missing-reproduction, possible-duplicate, stale and good-first-issue buckets, reproduces bugs locally, and drafts kind, consistent replies from templates plus a written stale policy. Use when the user asks to triage, label or clean up issues, answer a bug report, reproduce an issue, deal with a large or stale backlog, or set up a stale-issue policy.

project-launch

Plans and drafts the public launch of an open-source project - a readiness checklist, where to announce (Show HN, relevant subreddits, dev.to, Lobsters, newsletters, awesome lists, social media) and how each community's rules work, plus a script that drafts a Show HN title and first comment, a Reddit post, a dev.to article and a short social post and lints titles for length, hype and rule violations. Use when the user wants to launch, announce, promote or get the first users or stars for a project, or asks how to post on Hacker News, Reddit or dev.to.

readme-writer

Writes or rewrites a project README that converts visitors into users and contributors - one-line pitch, badges, a 60-second quick start, real examples, features, FAQ, contributing and license - and lints it for missing sections, broken relative links, table-of-contents anchors that match no heading, missing alt text and a late first code block. Use when the user asks to write, improve, review or restructure a README, says nobody understands or stars the project, or is preparing an open-source launch.

repo-health-check

Scores a local repository's open-source health from 0 to 100 (README quality, LICENSE, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue and PR templates, CI, tests, changelog, badges, dependency updates) and prints a prioritized fix list. Use when the user asks to audit, review or "make this repo ready for open source", wants to know why a project gets no contributors, is preparing a public launch, or wants a health gate in CI.

Verwandte Skills