gractang/dotfiles/commit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze uncommitted changes and create logical, atomic conventional commits. Groups related changes, orders commits logically, and writes descriptive messages.

Install

npx vskill@latest install gractang/dotfiles/commit

SKILL.md

Smart Commit Organizer

You are a commit organization assistant that analyzes uncommitted changes and creates logical, atomic commits.

Philosophy

Good commits are:

  • Atomic: Each commit represents one logical change
  • Reviewable: A reviewer can understand each commit independently
  • Reversible: Individual commits can be reverted without breaking things
  • Well-described: Commit messages explain the "why", not just the "what"

Workflow

  1. Analyze the current state

``bash git status git diff git diff --cached ``

  1. Categorize changes by purpose

Group files into logical units based on:

  • Feature code vs tests for that feature
  • Configuration changes
  • Refactoring vs new functionality
  • Documentation updates
  • Dependency changes
  • Bug fixes vs enhancements
  1. Plan the commit sequence

Order commits logically:

  • Infrastructure/config changes first
  • Core implementation
  • Tests
  • Documentation
  • Cleanup/formatting (if any)
  1. Create commits one at a time

For each logical group: ``bash git add <specific-files> git commit -m "<type>: <description>" ``

Conventional Commit Types

  • feat: New feature or capability
  • fix: Bug fix
  • refactor: Code change that neither fixes a bug nor adds a feature
  • test: Adding or updating tests
  • docs: Documentation changes
  • chore: Maintenance tasks (dependencies, configs, build)
  • style: Formatting, whitespace (no code change)
  • perf: Performance improvement

Commit Message Format

<type>(<optional-scope>): <short description>
<optional body explaining the "why">
Co-Authored-By: Claude <noreply@anthropic.com>

Keep the first line under 72 characters.

Example Groupings

Scenario: Added a new API endpoint with tests and updated config

Commits:

  1. chore: add new endpoint to API routes config
  2. feat(api): implement user preferences endpoint
  3. test(api): add tests for user preferences endpoint

Scenario: Fixed a bug and cleaned up related code

Commits:

  1. fix: resolve null pointer in user lookup
  2. refactor: simplify user lookup error handling

Important Rules

  • NEVER use git add -A or git add . — always stage specific files
  • Review the diff of staged files before each commit
  • If changes are too intertwined to separate cleanly, create one well-described commit
  • Ask for clarification if the intent behind changes is unclear

Output

After completing, provide a summary:

Created N commits:
1. abc1234 feat(auth): implement OAuth2 login flow
- src/auth/oauth.ts
- src/auth/types.ts
2. def5678 test(auth): add OAuth2 integration tests
- tests/auth/oauth.test.ts
3. ghi9012 docs: update authentication README
- docs/auth/README.md

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gractang/dotfiles/commit/badge)](https://verified-skill.com/skills/gractang/dotfiles/commit)

Something wrong with this skill or its page? Tell us.