Conventional Commit

Write a Conventional Commits message for the currently staged changes.

StaffinityAI Updated

File contents

Conventional commit

A standalone, command-style skill — no MCP server involved. It shows the pattern of a skill you trigger explicitly with /conventional-commit rather than one Claude picks on its own (disable-model-invocation: true).

Steps

  1. Inspect what is staged: run git diff --cached (and git status for context).

    • If nothing is staged, tell the user to git add first and stop.
  2. Decide the type from the change: feat, fix, docs, refactor, test, chore, perf, build, ci, or style.

  3. Pick an optional scope (the affected area, e.g. mcp_advanced).

  4. Write the message:

    <type>(<scope>): <imperative summary, <=50 chars, no trailing period>
    
    <optional body: why the change was made, wrapped at ~72 cols>
    

    Add a BREAKING CHANGE: footer if the change is incompatible.

  5. Present the message in a fenced block. Do not run git commit unless the user explicitly asks you to.

Example

feat(mcp_advanced): add search_notes tool

Lets clients find notes by substring instead of only listing all of
them, mirroring the create/read pair already exposed.

StaffinityAI/skill-mcp-sample/tree/main/.claude/skills/conventional-commit commit fc70d9df24

Frequently asked questions

npx skillmds@latest add staffinityai/conventional-commit