commit

Run Ruff linting, unit tests, and review before committing.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/weihanchen/ai-voice-assistant-fastrtc --skill commit-weihanchen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/weihanchen/ai-voice-assistant-fastrtc/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/weihanchen/ai-voice-assistant-fastrtc --skill commit-weihanchen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the full pre-commit workflow, ensuring code quality, thorough review, and a clean git history before every commit. It helps you save time by catching issues early and reduces complexity by standardizing the commit process.

Core Features & Use Cases

  • Code Quality Checks: Run Ruff linting and formatting to enforce style and catch issues before committing.
  • Automated Testing: Execute unit tests to ensure changes pass tests prior to commit.
  • Code Review & Validation: Inspect changes and validate for correctness, security, and maintainability.
  • Commit Preparation: Review diffs and craft a coherent, compliant commit message.
  • Use Case: Before pushing a feature branch, run the full pre-commit suite to guarantee a clean, review-ready PR.

Quick Start

Say "commit" (or "提交"/"幫我提交") to trigger the full pre-commit workflow: quality checks, tests, review, and an automatically prepared commit. Follow the prompts to finalize if changes are suggested by the checks.