askill
conventional-commit

conventional-commitSafety 95Repository

Write a commit message following the Conventional Commits specification with scope and body

1 stars
1.2k downloads
Updated 3/9/2026

Package Files

Loading files...
SKILL.md

Conventional Commit

Write a well-structured commit message following the Conventional Commits specification.

When to use

  • The user asks to "write a commit message" or "commit these changes"
  • Changes are staged and ready to commit
  • The user wants consistent, parseable commit history

When NOT to use

  • The user has their own commit message format documented in §10 of their project's Copilot instructions
  • The project uses a different commit convention (check §4 and §10 of the project's Copilot instructions first)

Steps

  1. Read the staged changes — Run git diff --cached --stat to see which files changed, then git diff --cached for the full diff.

  2. Determine the type — Choose the most appropriate type:

    TypeWhen to use
    featA new feature or capability
    fixA bug fix
    docsDocumentation-only changes
    styleFormatting, whitespace, semicolons — no logic change
    refactorCode change that neither fixes a bug nor adds a feature
    perfPerformance improvement
    testAdding or correcting tests
    buildBuild system or external dependency changes
    ciCI configuration changes
    choreMaintenance tasks that don't modify src or test files
  3. Determine the scope — Identify the primary area affected (e.g., auth, api, ci, docs). Use the directory name or module name. Omit scope if the change spans many areas.

  4. Write the subject line — Format: <type>(<scope>): <imperative summary>

    • Use imperative mood ("add", not "added" or "adds")
    • Lowercase first letter after the colon
    • No period at the end
    • Maximum 72 characters
  5. Write the body (if the change is non-trivial):

    • Blank line after the subject
    • Explain what changed and why (not how — the diff shows how)
    • Wrap at 72 characters
    • Reference issue numbers if applicable: Fixes #123, Closes #456
  6. Add breaking change footer (if applicable):

    • Add ! after the type/scope: feat(api)!: remove v1 endpoints
    • Add footer: BREAKING CHANGE: <description of what breaks and migration path>
  7. Present the message — Show the complete commit message for user review:

    <type>(<scope>): <subject>
    
    <body>
    
    <footer>
    
  8. Wait for approval — Do not run git commit until the user approves or modifies the message.

Verify

  • Type is one of the standard Conventional Commits types
  • Subject line is imperative mood, ≤ 72 characters, no trailing period
  • Body explains what and why (if present)
  • Breaking changes have both ! marker and BREAKING CHANGE: footer
  • The message accurately describes all staged changes

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 2/23/2026

Excellent SKILL.md for Conventional Commits. Well-structured with clear When to use/When NOT to use sections, detailed steps with examples, commit type table, breaking change handling, and verification checklist. Has proper metadata (version, license, tags, compatibility). Highly actionable, safe, and reusable across any Git project. Located in dedicated skills folder."

95
95
95
95
95

Metadata

Licenseunknown
Version1.0
Updated3/9/2026
Publisherasafelobotomy

Tags

apici-cdsecuritytesting