Agent skill

commit

Generate commit messages following project conventions for staged changes. Use when the user asks to commit changes or run /commit.

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/davidopdebeeck/commit

SKILL.md

Commit Message Generator

Generate commit messages following project conventions for staged changes.

Instructions

When this skill is invoked:

  1. Run git diff --staged to review the staged changes
  2. Run git status to understand the overall state
  3. Run git log --oneline -10 to see recent commit style for context
  4. Analyze what was changed and why
  5. Generate a commit message following the format below
  6. Present the commit message to the user for approval - keep it concise, just show the message and ask for approval
  7. If approved, execute the commit

Presentation Style: Be direct and minimal. Present only the commit message and ask "Proceed with this commit message?" - no analysis, explanations, or bullet points unless the changes are complex or ambiguous.

Commit Message Format

<type>: <short description>

[optional body with more detail]

Types

  • feat - New feature
  • fix - Bug fix
  • refactor - Code restructuring without behavior change
  • test - Adding or updating tests
  • docs - Documentation changes
  • style - Formatting, whitespace (no code change)
  • chore - Build, config, dependency updates

Rules

  1. First line: Must be under 72 characters
  2. Tense: Present tense, imperative mood ("add" not "added" or "adds")
  3. Description: Complete the sentence "This commit will..."
  4. Body: Optional, use for explaining "why" not "what"
  5. NO AI attribution: Never include "Generated with Claude Code" or "Co-Authored-By" lines

Examples

feat: add auto-reveal toggle for estimation rounds

fix: prevent duplicate user connections to lobby

refactor: extract insight resolution logic to separate resolvers

test: add usecase tests for SetEstimateCommand handler

docs: update architecture documentation with processing groups

chore: upgrade Spring Boot to 3.4.12

Analysis Guidelines

When analyzing changes, consider:

  • Module affected: Which module (api, lobby, session, ui)?
  • Layer affected: Domain, usecase, adapter, or API contract?
  • Intent: What problem does this solve or capability does it add?
  • Scope: Is this a single logical change or mixed concerns?

Common Patterns to Recognize

Backend Changes:

  • New Commands/Events/Queries in api/feat: add X command/event/query
  • Handler implementations → feat: implement X handler or fix: correct X handler logic
  • Domain logic updates → feat: add X behavior to aggregate or refactor: simplify X logic
  • Read model updates → feat: update X view projection
  • Tests → test: add tests for X

Frontend Changes:

  • New components → feat: add X component
  • State management → feat: implement X state handling
  • UI improvements → feat: enhance X interface
  • Styling → style: update X component styles

Mixed Changes:

  • If frontend + backend for same feature → feat: add X feature (describe full feature)
  • If unrelated changes → Suggest splitting into multiple commits

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results