
git-commit-convention
by Bedriftsgrafen
Full-stack business intelligence platform tracking 1.1M+ Norwegian companies with real-time analytics | React 19 | FastAPI | PostgreSQL
SKILL.md
name: Git Commit Convention description: Enforces the Bedriftsgrafen project's strict git commit message format and policies.
Git Commit Convention Skill
Purpose
This skill ensures all git commits made in the bedriftsgrafen.no repository adhere to the strict project standards.
Commit Message Format
The commit message MUST follow this specific format:
<type>(<scope>): <subject>
<body (optional)>
<footer (optional)>
Types
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
Scope
The scope should be the name of the module affected (e.g., api, auth, frontend, db).
Subject
- Imperative mood ("add" not "added")
- No capitalizing first letter
- No dot (.) at the end
Pre-Commit Checklist
Before generating the commit command, you MUST ensure:
- Tests Pass: All relevant tests (unit/integration) must pass.
- Linting: Code must be linted (
rufffor backend,eslintfor frontend). - Type Check: Types must be valid (
mypyfor backend,tscfor frontend).
Usage
When asked to commit changes, construct the git commit command using the run_command tool with the -m flag containing the formatted message.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です