
commit-policy
by carnaticlabs
**Sangita Grantha** — *Compendium of Music* Preserving the sacred textual heritage of Carnatic compositions through a structured, scholarly digital system.
SKILL.md
| Metadata | Value |
|---|---|
| Status | Active |
| Version | 1.0.0 |
| Last Updated | 2026-01-24 |
| Author | Sangeetha Grantha Team |
Commit Policy
You are responsible for ensuring that all changes committed to the repository adhere to the strict commit-guardrails-workflow.
1. Traceability (The Reference Rule)
EVERY commit must be linked to a specific documentation file in application_documentation. This ensures that every line of code exists for a documented reason.
Commit Message Format
Your commit messages must follow this structure:
<Title>: <Short Summary>
Ref: application_documentation/<path-to-file>.md
<Detailed Description (bullet points)>
Rules
- Mandatory Reference: You CANNOT suggest a commit message without a
Ref:line. - Existing File: The file referenced in
Ref:MUST exist. - One Reference Per Commit: A commit should address only one feature or requirement file. Do not combine unrelated changes.
2. Security (The No-Secrets Rule)
You must strictly prevent sensitive data from entering the codebase.
Blocked Items
- API Keys:
SG_GEMINI_API_KEY,AWS_SECRET_ACCESS_KEY,OPENAI_API_KEY, etc. - Configuration Files:
config/.env,config/.env.development,config/.env.production. - Secrets/Tokens: Any string that looks like a high-entropy secret.
Pre-Commit Check
Before suggesting git commit, mentally (or actually) check:
- "Did I add any file that might contain a secret?"
- "Am I adding a
.envfile?" (If so, STOP and add it to.gitignoreinstead).
3. Workflow
When you are ready to commit changes for the user:
- Stage:
git add <files> - Identify Reference: Find the relevant markdown file in
application_documentationthat describes why this change is happening. - Draft Message: detailed message with the
Ref:tag. - Execute:
git commit -m "..."(or ask user to approve).
Example of a Good Commit:
git commit -m "Implement user login rate limiting
Ref: application_documentation/01-requirements/features/security-hardening.md
- Added RateLimiter service
- Updated LoginController to use RateLimiter
- Added unit tests"
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です
