smithery.ai

review-commit

This skill should be used when the user types "/review-commit" or asks to review and clean up staged changes before committing. It launches the commit-cleaner agent to review code quality, remove redundancies, and prepare commits.

First seen Mar 26, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,647 B
  • docs SUMMARY.md 251 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Review Commit Skill

This skill provides a convenient slash command to launch the commit-cleaner agent, which reviews and cleans up staged changes before committing.

Usage

Simply type /review-commit and the commit-cleaner agent will be invoked to:

  • Review all staged changes
  • Remove redundant code and code smells
  • Filter out documentation and tracking files
  • Eliminate code duplication
  • Ensure succinct implementations
  • Organize assets into util folders
  • Prepare code for a clean commit

How It Works

When you invoke this skill, it automatically launches a Task with the commit-cleaner subagent. The agent will:

  1. Analyze staged and unstaged changes using git status and git diff
  2. Review code quality and identify issues
  3. Clean up redundancies and code smells
  4. Unstage non-essential files (docs, tracking MDs)
  5. Organize assets into util-scripts/
  6. Provide a summary of changes and files ready to commit

When to Use

  • Before committing code to ensure quality
  • When you want to clean up messy staged changes
  • To remove documentation files from staging
  • To consolidate duplicate code before committing
  • To get a code review before pushing changes

Important Notes

The commit-cleaner agent will NOT commit your changes. It only prepares and cleans the staging area. You must run git commit manually after the agent completes its review.

Example Workflow

# Stage your changes
git add .

# Review and clean
/review-commit

# After agent completes, commit manually
git commit -m "Your commit message"

Integration with Git Workflow

This skill is designed to fit into your normal git workflow:

  1. Make code changes
  2. Stage files with git add
  3. Run /review-commit to clean and review
  4. Review the agent's summary
  5. Commit manually with git commit

What Gets Reviewed

The agent reviews:

  • Source code files for redundancies and code smells
  • Documentation files (to unstage them)
  • Asset files (to organize them)
  • Duplicate code across multiple files
  • Code complexity and clarity

What Gets Cleaned

The agent will:

  • Remove dead code and unused imports
  • Extract duplicate logic into utilities
  • Replace magic numbers with constants
  • Simplify nested conditionals
  • Improve naming clarity
  • Unstage documentation and tracking files
  • Move assets to util-scripts/ folder