Cursor rule
.cursor/rules/git-commit-message.mdcWhen running git commit
Cursor rules
Quality
58/100
Scores the file, not the repository.Length
640 words
7 headings · 6 code blocksRepository
24
— · pushed 41 days agoLast changed
3 days ago
First indexed 3 days ago.1234567# Git Commit Message Guidelines89We write commit messages to communicate with our future selves and teammates. A great10commit message tells the story of why we made a change, making code archaeology easier11and helping others understand our reasoning and thought process.1213## Core Principles1415- Reflect on the full change before writing the message16- Focus on motivation and reasoning, not just what changed (the diff shows that)17- Scale message length to change importance and size - simple changes get one line,18 major architectural changes deserve 2-3 paragraphs19- Use imperative mood ("Add feature" not "Added feature")20- Summary line under 72 characters, no period at the end21- Capitalize the first word after any emoji2223## No-Deploy Marker2425For changes that should not trigger deployment (documentation, tests, CI config, etc.),26include `[no-deploy]` in the commit message. This signals both humans and CI/CD27automation that deployment is unnecessary.2829Place the marker either:3031- At the end of the summary line if it fits:32 `Update README with installation steps [no-deploy]`33- On its own line after the summary for longer messages3435## Emoji Usage3637You have complete freedom to choose ANY emoji that adds value. Start with gitmoji as38your reference - if there's a clear gitmoji match, use it. But feel free to get creative39and use any emoji that genuinely enhances meaning or clarity.4041Include an emoji when it:4243- Makes commit history more scannable at a glance44- Provides instant visual categorization of the change type45- Creates useful visual anchors in git log46- Adds personality or context that words alone miss4748Skip the emoji entirely when it would feel forced or add no real value. Many excellent49commit messages need no emoji at all.5051Trust your judgment on which emoji fits best, or whether to use one at all.5253## Structure5455```56[optional emoji] Summary line under 72 characters5758[Optional body when context is needed]59```6061Body is optional. Include when explaining why adds value beyond the summary and diff.62When included: explain motivation, problem being solved, impact, trade-offs, or63alternatives considered. Wrap at 72 characters. For large/important changes, write 2-364paragraphs if needed.6566## Examples6768Simple change (no body needed):6970```71🐛 Handle null values in user preferences72```7374Simple documentation change (no deploy):7576```77Fix typo in API documentation [no-deploy]78```7980Medium change with context:8182```83♻️ Extract validation logic into shared module8485Validation was duplicated across registration, profile updates, and86admin tools with slight variations causing inconsistent behavior.87Consolidating into a shared module ensures consistency and makes88future validation changes easier.89```9091Documentation with body (no deploy on separate line):9293```94📝 Update deployment guide with environment variables95[no-deploy]9697Added missing DATABASE_POOL_SIZE and CACHE_TTL variables that were98causing confusion during staging deployments. Also clarified the99difference between development and production configurations.100```101102Large architectural change (2-3 paragraphs for major changes):103104```105🏗️ Migrate from REST to event-driven architecture106107Replace synchronous REST endpoints with event-driven processing to108support real-time features and improve system resilience...109110Previous architecture required services to block waiting for responses,111creating cascading failures and poor user experience during high load.112Events allow asynchronous processing and natural retry mechanisms...113114This change affects order processing, notification system, and analytics115pipeline. Services can now scale independently and handle partial116failures gracefully. Trade-off: eventual consistency instead of117immediate, but business requirements allow 2-3 second delay...118```119120## Guidelines121122Write messages that future developers will thank you for. Use present tense imperative123mood. Skip conventional commit prefixes like feat: or fix: (gitmoji serves this purpose124when needed). Include body text only when it adds meaningful context. Write clearly and125directly for human readers.126127The goal is clarity and kindness to our future selves and teammates. Every commit128message is a small act of documentation that either helps or hinders. We choose to help.129
Also in TechNickAI/ai-coding-config
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechNickAI/ai-coding-config.cursor/rules/git-interaction.mdc · 24 | Cursor rules | testlint-formatstylearch+4 | 88/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/heart-centered-ai-philosophy.mdc · 24 | Cursor rules | no sections | 30/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/ruff-linting.mdc · 24 | Cursor rules | lint-format | 43/100 | 3 days ago | |
| TechNickAI/ai-coding-configAGENTS.md · 24 | AGENTS.md | stylearchgitdo-not+1 | 78/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/external-apis.mdc · 24 | Cursor rules | testtesting-strategyapi | 54/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude-plugin/CLAUDE.md · 24 | CLAUDE.md | deployment | 25/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude/AGENTS.md · 24 | AGENTS.md | archagent-behaviour | 54/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude/CLAUDE.md · 24 | CLAUDE.md | lint-formatstyletypestesting-strategy+1 | 62/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/AGENTS.md · 24 | AGENTS.md | archdo-notagent-behaviour | 56/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/autonomous-development-workflow.mdc · 24 | Cursor rules | testlint-formatgitagent-behaviour | 77/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/code-review-standards.mdc · 24 | Cursor rules | testtypestesting-strategygit+2 | 59/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/code-style-and-zen-of-python.mdc · 24 | Cursor rules | lint-formatstyledocs | 62/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/fixing-github-actions-builds.mdc · 24 | Cursor rules | setupbuilddo-notagent-behaviour | 81/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/git-worktree-task.mdc · 24 | Cursor rules | lint-formatgitagent-behaviour | 38/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/naming-stuff.mdc · 24 | Cursor rules | style | 48/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/prompt-engineering.mdc · 24 | Cursor rules | setuptestlint-formatstyle+6 | 57/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/trust-and-decision-making.mdc · 24 | Cursor rules | no sections | 48/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/user-facing-language.mdc · 24 | Cursor rules | lint-formatstylearch | 66/100 | 3 days ago | |
| TechNickAI/ai-coding-configplugins/core/agents/CLAUDE.md · 24 | CLAUDE.md | testlint-formatarchgit+1 | 66/100 | 3 days ago | |
| TechNickAI/ai-coding-configplugins/core/skills/CLAUDE.md · 24 | CLAUDE.md | lint-formatagent-behaviour | 58/100 | 3 days ago |
Diff against .cursor/rules/git-interaction.mdc Diff against .cursor/rules/heart-centered-ai-philosophy.mdc Diff against .cursor/rules/ruff-linting.mdc Diff against AGENTS.md Diff against .cursor/rules/external-apis.mdc Diff against .claude-plugin/CLAUDE.md Diff against .claude/AGENTS.md Diff against .claude/CLAUDE.md Diff against .cursor/AGENTS.md Diff against .cursor/rules/autonomous-development-workflow.mdc Diff against .cursor/rules/code-review-standards.mdc Diff against .cursor/rules/code-style-and-zen-of-python.mdc Diff against .cursor/rules/fixing-github-actions-builds.mdc Diff against .cursor/rules/git-worktree-task.mdc Diff against .cursor/rules/naming-stuff.mdc Diff against .cursor/rules/prompt-engineering.mdc Diff against .cursor/rules/trust-and-decision-making.mdc Diff against .cursor/rules/user-facing-language.mdc Diff against plugins/core/agents/CLAUDE.md Diff against plugins/core/skills/CLAUDE.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126 | Cursor rules | buildlint-formatstylearch+3 | 96/100 | 3 days ago |
