commit
KunanonJ/ai-skills-hub/.agents/skills/commit/SKILL.md
Generate a conventional commit message for staged changes
Skill4 starsChanged 3 months ago
What's in it
- Conventional Commit
- Instructions
- Commit Format
- Types
- Rules
- Examples
- Execution
--- name: commit description: Generate a conventional commit message for staged changes argument-hint: "[--amend] [message]" effort: low when_to_use: "Use when ready to commit staged changes and need a conventional commit message." disable-model-invocation: true --- # Conventional Commit Generate a conventional commit message for staged changes. ## Instructions 1. Run `git diff --cached` to see staged changes 2. Analyze the nature of changes 3. Generate a commit message following the format below ## Commit Format ``` <type>(<scope>): <subject> [optional body] [optional footer] ``` ### Types - `feat`: New feature - `fix`: Bug fix - `docs`: Documentation only - `style`: Formatting, missing semicolons, etc. - `refactor`: Code change that neither fixes nor adds feature - `perf`: Performance improvement - `test`: Adding missing tests - `chore`: Maintenance tasks ### Rules - Subject: imperative mood, no period, max 50 chars - Body: explain WHAT and WHY, not HOW - Footer: breaking changes, issue references ## Examples ``` feat(auth): add password reset functionality Implement password reset flow with email verification. Users can now request a reset link and set new password. Closes #123 ``` ``` fix(api): prevent race condition in order processing Add mutex lock to ensure orders are processed sequentially. This fixes duplicate charge issues reported by users. Fixes #456 ``` ``` refactor(cart): extract pricing logic to separate module No functional changes. Improves testability and separates concerns for future discount feature. ``` ## Execution After analyzing staged changes, suggest a commit message. Ask for confirmation before executing `git commit -m "..."`. $ARGUMENTS
More agent context in KunanonJ/ai-skills-hub
101 other files this repository gives its agents, the first 60 shown.
Skill
- analyze-codebase-for-mcp.agents/skills/analyze-codebase-for-mcp/SKILL.md
- api-analyzer.agents/skills/api-analyzer/SKILL.md
- api-design-principles.agents/skills/api-design-principles/SKILL.md
- api-documentation-generator.agents/skills/api-documentation-generator/SKILL.md
- api-security-best-practices.agents/skills/api-security-best-practices/SKILL.md
- architecture-decision-records.agents/skills/architecture-decision-records/SKILL.md
- architecture-patterns.agents/skills/architecture-patterns/SKILL.md
- backend-api-design.agents/skills/backend-api-design/SKILL.md
- backend-dev-guidelines.agents/skills/backend-dev-guidelines/SKILL.md
- backend-security-coder.agents/skills/backend-security-coder/SKILL.md
- browser-screenshot-diff.agents/skills/browser-screenshot-diff/SKILL.md
- browser-testing-with-devtools.agents/skills/browser-testing-with-devtools/SKILL.md
- bug-hunter.agents/skills/bug-hunter/SKILL.md
- build-custom-mcp-server.agents/skills/build-custom-mcp-server/SKILL.md
- ci-cd-patterns.agents/skills/ci-cd-patterns/SKILL.md
- clean-code.agents/skills/clean-code/SKILL.md
- cloudflare-deploy.agents/skills/cloudflare-deploy/SKILL.md
- codebase-cleanup-tech-debt.agents/skills/codebase-cleanup-tech-debt/SKILL.md
- codebase-onboarding.agents/skills/codebase-onboarding/SKILL.md
- code-deduplication.agents/skills/code-deduplication/SKILL.md
- code-documentation-code-explain.agents/skills/code-documentation-code-explain/SKILL.md
- codeql.agents/skills/codeql/SKILL.md
- code-review.agents/skills/code-review/SKILL.md
- commit-hygiene.agents/skills/commit-hygiene/SKILL.md
- context7-auto-research.agents/skills/context7-auto-research/SKILL.md
- create-dockerfile.agents/skills/create-dockerfile/SKILL.md
- database-design.agents/skills/database-design/SKILL.md
- debugging-toolkit-smart-debug.agents/skills/debugging-toolkit-smart-debug/SKILL.md
- dependency-check.agents/skills/dependency-check/SKILL.md
- deployment-patterns.agents/skills/deployment-patterns/SKILL.md
- design-to-code.agents/skills/design-to-code/SKILL.md
- django-patterns.agents/skills/django-patterns/SKILL.md
- docker-patterns.agents/skills/docker-patterns/SKILL.md
- documentation.agents/skills/documentation/SKILL.md
- e2e-testing-patterns.agents/skills/e2e-testing-patterns/SKILL.md
- fastapi-pro.agents/skills/fastapi-pro/SKILL.md
- frontend-a11y.agents/skills/frontend-a11y/SKILL.md
- frontend-design-direction.agents/skills/frontend-design-direction/SKILL.md
- frontend-developer.agents/skills/frontend-developer/SKILL.md
- frontend-dev-guidelines.agents/skills/frontend-dev-guidelines/SKILL.md
- frontend-security-coder.agents/skills/frontend-security-coder/SKILL.md
- github-actions-advanced.agents/skills/github-actions-advanced/SKILL.md
- github-actions-creator.agents/skills/github-actions-creator/SKILL.md
- github-pr-review.agents/skills/github-pr-review/SKILL.md
- git-pr-review.agents/skills/git-pr-review/SKILL.md
- git-pr-workflows-onboard.agents/skills/git-pr-workflows-onboard/SKILL.md
- git-worktree.agents/skills/git-worktree/SKILL.md
- golang-patterns.agents/skills/golang-patterns/SKILL.md
- implementing-secret-scanning-with-gitleaks.agents/skills/implementing-secret-scanning-with-gitleaks/SKILL.md
- javascript-mastery.agents/skills/javascript-mastery/SKILL.md
- javascript-testing-patterns.agents/skills/javascript-testing-patterns/SKILL.md
- kubernetes-architect.agents/skills/kubernetes-architect/SKILL.md
- kubernetes-patterns.agents/skills/kubernetes-patterns/SKILL.md
- learn-codebase.agents/skills/learn-codebase/SKILL.md
- MCP Integration.agents/skills/mcp-integration/SKILL.md
- mcp-server-patterns.agents/skills/mcp-server-patterns/SKILL.md
- modern-javascript-patterns.agents/skills/modern-javascript-patterns/SKILL.md
- mutation-testing.agents/skills/mutation-testing/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

