askill
git-commit

git-commitSafety --Repository

Guidelines for creating standardized commit messages with conventional prefixes and issue tracking.

0 stars
1.2k downloads
Updated 2/19/2026

Package Files

Loading files...
SKILL.md

Commit Rule

Overview

All commits must follow a strict format to ensure traceability and standardization.

Rules

  1. Prefix: Use a conventional prefix to categorize the commit.
  2. Issue Linking:
    • Extract the issue number from the branch name (e.g., user/#123/feature-x -> #123).
    • Include refs: #<issue-number> in the message.
  3. Co-Author Attribution:
    • Always include the co-author trailer for the AI assistant.
    • Co-Authored-By: gemini-cli <218195315+gemini-cli@users.noreply.github.com>

Prefixes

PrefixUsage
featNew feature or functionality
fixBug fix
refactorCode restructuring without behavior change
perfPerformance improvement
testAdding or updating tests
choreMaintenance, dependency updates, config changes
migDatabase or data migration
docsDocumentation only
ciCI/CD pipeline changes
styleCode formatting (no logic change)

Format Template

git commit -m "<prefix>: <message>. refs: #<issue-number>" -m "Co-Authored-By: gemini-cli <218195315+gemini-cli@users.noreply.github.com>"

Examples

  • feat: add user login feature. refs: #42

  • fix: fix null pointer exception in auth. refs: #101

  • refactor: refactor database connection logic. refs: #88

  • perf: optimize batch query with bulk insert. refs: #55

  • test: add unit tests for wallet transfer. refs: #73

  • chore: bump go version to 1.23. refs: #30

  • mig: add email column to users table. refs: #112

  • ci: split unit and e2e test workflows. refs: #26

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/19/2026
Publisherpoteto0

Tags

ci-cddatabasegithubsecuritytesting