commit

Stage, commit, and push changes with conventional commit style. Creates meaningful commit messages and clean git history.

12 stars

Best use case

commit is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Stage, commit, and push changes with conventional commit style. Creates meaningful commit messages and clean git history.

Teams using commit should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/commit/SKILL.md --create-dirs "https://raw.githubusercontent.com/lionbenjamin/agent-templates/main/skills/commit/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/commit/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How commit Compares

Feature / AgentcommitStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Stage, commit, and push changes with conventional commit style. Creates meaningful commit messages and clean git history.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Commit Skill

Professional git workflow with conventional commits.

## When to Activate

This skill is relevant when:
- Staging and committing code changes
- Creating meaningful commit messages
- Following conventional commit standards
- Maintaining clean git history

## Core Principles

### Clean History
- Commits tell a story
- Make them meaningful and descriptive
- Each commit is a logical unit
- Easy to understand in hindsight

### Conventional Commits
- Use standard prefixes consistently
- `feat:` for new features
- `fix:` for bug fixes
- `chore:` for maintenance
- `docs:` for documentation
- `refactor:` for code restructuring
- `test:` for test changes

### Atomic Changes
- Each commit = single logical change
- Don't mix unrelated changes
- Makes reverting easier
- Simplifies code review

### Pre-Commit Verification
- All tests should pass
- Code has been reviewed
- No broken functionality
- Build succeeds

## Quick Checks

Before committing, verify:
- [ ] All changes are intentional
- [ ] Tests pass locally
- [ ] Code has been reviewed (or self-reviewed)
- [ ] Commit message follows conventional format
- [ ] Message describes "why" not just "what"
- [ ] No sensitive data included (credentials, keys)
- [ ] No debug code or console.logs left behind
- [ ] Related changes grouped together
- [ ] Unrelated changes separated
- [ ] Breaking changes documented

Related Skills

wireframe

12
from lionbenjamin/agent-templates

Create markdown wireframes with detailed UX descriptions from a product specification. Senior UX Designer perspective inspired by Notion and Linear.

ux_redesign

12
from lionbenjamin/agent-templates

Redesign a feature or page from a Principal UX Designer's perspective.

tech_review

12
from lionbenjamin/agent-templates

Senior Principal Engineer performing thorough technical review of implementation plans before development.

tasks

12
from lionbenjamin/agent-templates

Break down an approved implementation plan into specific, actionable tasks.

specify

12
from lionbenjamin/agent-templates

Create a product specification that defines what to build and why, without prescribing how.

skeptical_review

12
from lionbenjamin/agent-templates

Perform a critical, skeptical code review of the project from the perspective of a Principal Engineer.

security_agent

12
from lionbenjamin/agent-templates

Perform a full security review of the codebase (Node.js & React focus).

review_plan

12
from lionbenjamin/agent-templates

Review the technical implementation plan against the specification.

review_domain

12
from lionbenjamin/agent-templates

Perform a thorough architectural review of a domain model.

review_constitution

12
from lionbenjamin/agent-templates

Review and stress-test the technical constitution after /constitute.

retro

12
from lionbenjamin/agent-templates

Reflect on the completed feature, document lessons learned, and improve workflows.

release_gate

12
from lionbenjamin/agent-templates

Final Go/No-Go check and release preparation.