Conventional Branch

A specification for adding human and machine readable meaning to branch

About

The Conventional Branch specification was inspired by Conventional Commits.

AI Agent Source Prefixes

As AI coding agents increasingly open their own pull requests, Conventional Branch maintains a registry of their branch prefixes so tools and teams can recognize them consistently. This registry is the machine-readable source of truth — the table below is generated from data/agents.yaml.

Prefix Agent Vendor Since
ai/ Any AI agent v1.1.0
claude/ Claude Code Anthropic v1.1.0
codex/ OpenAI Codex OpenAI v1.1.0
copilot/ GitHub Copilot GitHub v1.1.0
cursor/ Cursor Anysphere v1.1.0

Giving each agent a documented prefix (or using the vendor-neutral ai/) lets teams do more than just eyeball who opened a PR:

Building an agent that opens PRs? Register its prefix so reviewers and tooling recognize it out of the box.

Tooling for Conventional Branch

Conventional Branch can be adopted with local checks, CI validation, editor support, and agent skills:

Install the skill with:

npx skills add conventional-branch/conventional-branch --skill conventional-branch

Projects Using Conventional Branch

Conventional Branch

Want your project on this list? Send a pull request.

How to Adopt

  1. Communicate the convention to your team and add it to your contributing guidelines.
  2. Enforce it automatically using one of the tools listed above.
  3. Add the badge to your repository README to signal adoption.
  4. Configure your CI/CD to trigger different workflows based on branch prefix (e.g., auto-deploy on release/ branches).