Agent skill

Commit Protocol

by EmeaAppGbb in EmeaAppGbb/spec2cloud

Create standardized git commits at phase and increment boundaries.

MITAuto-check: notesDevelopment

Install Commit Protocol

skills CLI
$ npx skills add EmeaAppGbb/spec2cloud --skill commit-protocol -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install EmeaAppGbb/spec2cloud commit-protocol --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/commit-protocol .claude/skills/commit-protocol && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-protocol
GitHub stars
100
Token cost
~580 tokens
SKILL.md length
209 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

Create standardized git commits at phase and increment boundaries.

  • Committing after phase completion
  • SKILL.md covers Commit Procedure, Commit Messages, Why Increment-Level Commits and Mandatory Completion Checklist
  • Calls git
  • Increment delivery

What it does

Commit Protocol is an agent skill from EmeaAppGbb/spec2cloud. Create standardized git commits at phase and increment boundaries. Defines commit procedures, message formats, and state bundling. Use when committing after phase completion, increment delivery, or slice implementation.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. The licence is MIT.

When your agent uses it

  • Committing after phase completion
  • Increment delivery
  • Slice implementation

Example prompts

  • “/commit-protocol”

What it can do on your machine

Read from SKILL.md and the folder at commit 8e76618. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Protocol loads about 580 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 209 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~580

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:51
    - [ ] No secrets, `.env` files, or `node_modules` are staged

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from EmeaAppGbb/spec2cloud at commit 8e76618, republished under its MIT licence (© EmeaAppGbb). 209 words, ~580 tokens.

Download SKILL.mdSave it as .claude/skills/commit-protocol/SKILL.md (or your agent's skills folder).
name
commit-protocol
description
Create standardized git commits at phase and increment boundaries. Defines commit procedures, message formats, and state bundling. Use when committing after phase completion, increment delivery, or slice implementation.

Commit Protocol

At key checkpoints, create commits that bundle artifacts produced. This gives a clean, resumable history in git log.

Commit Procedure

After a step or phase completes (and human gate approved, where applicable):

1. Stage all changes:
     git add -A
2. Commit with an appropriate tag (see table below).
3. Update state.json to reflect the new state.
4. Append an entry to audit.log.
5. Commit the state update:
     git add .spec2cloud/ && git commit -m "spec2cloud: state update"

Commit Messages

EventCommit Message
Shell setup[phase-0] Shell setup complete
Product discovery[phase-1] Product discovery complete — N FRDs, N screens, N increments, tech stack resolved
Increment tests[increment] {id}/tests — test scaffolding complete
Increment contracts[increment] {id}/contracts — contracts generated
Increment slice[impl] {id}/{slice} — slice green
Increment all tests green[impl] {id} — all tests green
Increment delivered[increment] {id} — delivered
All increments complete[release] All increments delivered — product complete

Why Increment-Level Commits

Each increment is a self-contained delivery. Commits at increment boundaries mean:

  • git log --oneline --grep="\[increment\]" shows the delivery timeline
  • Each delivered increment is a revertable, deployable unit
  • Mid-increment commits at slice granularity create resumable checkpoints

Mandatory Completion Checklist

The orchestrator MUST verify ALL of the following for every commit:

  • Commit message follows the format table above (correct prefix for the phase/step)
  • .spec2cloud/state.json is included in the commit
  • .spec2cloud/audit.log is included in the commit
  • No secrets, .env files, or node_modules are staged
  • Co-authored-by trailer is present

BLOCKING: A commit without state.json and audit.log breaks resume capability. The orchestrator must include them before finalizing the commit.

© EmeaAppGbb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/commit-protocol of EmeaAppGbb/spec2cloud.

Open the folder on GitHubat commit 8e76618

Compare with similar skills

Commit Protocol next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Protocol compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Protocol this skillEmeaAppGbb/spec2cloud100—~580Automated safety check: NotesMIT
Contextual Commit Messagesyamadashy/repomix29k1 repos~2.7kAutomated safety check: PassMIT
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
PR Finalize Reviewmicrosoft/garnet12k—~3.1kAutomated safety check: PassMIT
Caveman Commitvishiri/fantasia-archive40913 repos~642Automated safety check: PassGPL-3.0
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0

Similar skills

  • Writes Conventional Commits whose bodies carry action lines recording the intent, decisions and constraints behind a change, not only what changed.

    29k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed
  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Finalize Review

    microsoft/garnet

    Official

    Checks that a pull request's title and description match its implementation and reviews the code for Garnet best practices, reporting findings without posting them.

    12k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Caveman Commit

    vishiri/fantasia-archive

    Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 13 repos~642 tokens
    DevelopmentAuto-check passed
  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    102k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes

More from EmeaAppGbb/spec2cloud

All 39 skills in this repo
  • Azure Deployment

    EmeaAppGbb/spec2cloud

    Provision Azure infrastructure, deploy to Azure Container Apps, and verify via smoke tests.

    100 GitHub stars~1.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Contract Generation

    EmeaAppGbb/spec2cloud

    Generate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files.

    100 GitHub stars~1.6k tokensUpdated 5 mo ago
    Auto-check passed
  • Ddd Modeling

    EmeaAppGbb/spec2cloud

    Create Domain-Driven Design proposals from product specs or brownfield extraction outputs.

    100 GitHub stars~2.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Implementation

    EmeaAppGbb/spec2cloud

    Write application code to make failing tests pass using contract-driven, slice-based architecture.

    100 GitHub stars~2.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Spec Refinement

    EmeaAppGbb/spec2cloud

    Review PRDs and FRDs through product and technical lenses. An agent skill from EmeaAppGbb/spec2cloud.

    100 GitHub stars~2.2k tokensUpdated 5 mo ago
    Auto-check passed
  • State Management

    EmeaAppGbb/spec2cloud

    Read, write, and maintain .spec2cloud/state.json across phases and increments.

    100 GitHub stars~1.5k tokensUpdated 5 mo ago
    Auto-check passed

Categories

Questions about Commit Protocol

What does Commit Protocol do?

Create standardized git commits at phase and increment boundaries. Commit Protocol is an agent skill from EmeaAppGbb/spec2cloud. Create standardized git commits at phase and increment boundaries.

When should I use Commit Protocol?

Commit Protocol fits situations like: committing after phase completion; increment delivery; slice implementation.

How do I install Commit Protocol in Claude Code?

Run `npx skills add EmeaAppGbb/spec2cloud --skill commit-protocol -a claude-code`. Or copy the skill folder (.github/skills/commit-protocol in EmeaAppGbb/spec2cloud) into .claude/skills/commit-protocol in your project. Claude Code loads it when a task matches its description.

How do I install Commit Protocol in Codex?

Run `npx skills add EmeaAppGbb/spec2cloud --skill commit-protocol -a codex`. Or copy the skill folder (.github/skills/commit-protocol in EmeaAppGbb/spec2cloud) into .agents/skills/commit-protocol in your project. Codex loads it when a task matches its description.

Can I use Commit Protocol in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EmeaAppGbb/spec2cloud --skill commit-protocol -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-protocol, .gemini/skills/commit-protocol, .github/skills/commit-protocol and .opencode/skills/commit-protocol in your project.

What does Commit Protocol need to run?

Going by SKILL.md and its folder, Commit Protocol needs the command-line tools its instructions call (git).

Does Commit Protocol access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit Protocol safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Commit Protocol use?

Commit Protocol is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit Protocol use?

About 580 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Protocol?

Skills that share tags, products or a category with Commit Protocol: Contextual Commit Messages (yamadashy/repomix, 29k stars), React Router Release Notes Prep (remix-run/react-router, 57k stars), PR Finalize Review (microsoft/garnet, 12k stars) and Caveman Commit (vishiri/fantasia-archive, 409 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Protocol?

EmeaAppGbb (a GitHub organization) maintains it in EmeaAppGbb/spec2cloud, which has 100 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on April 16, 2026.

Source: EmeaAppGbb/spec2cloud on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.