commit

Automate Git commits with linting, type checking, tests, and documentation updates.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/yyiilluu/reflexio --skill commit-yyiilluu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/yyiilluu/reflexio/tree/main/.claude/commands/commit
Command: npx skills add https://github.com/yyiilluu/reflexio --skill commit-yyiilluu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of committing code changes, ensuring code quality, documentation consistency, and adherence to project standards before a commit is finalized.

Core Features & Use Cases

  • Automated Linting & Type Checking: Runs Ruff and Pyright for Python, and Biome and tsc for TypeScript/JavaScript on staged files, automatically fixing errors.
  • Precommit Hook Handling: Retries commits if hooks modify files, ensuring a clean commit history.
  • README & API Docs Updates: Automatically updates documentation based on code changes.
  • Test Failure Handling: Fixes failing unit tests before committing.
  • Use Case: When you've made several code changes, run this Skill to automatically format your code, fix type errors, update relevant documentation, and ensure all tests pass before creating a commit.

Quick Start

Use the commit skill to prepare and finalize your code changes for a git commit.

Frequently Asked Questions about commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git commits with linting and type checking?

Automating git commits with linting and type checking is handled by running Ruff and Pyright for Python, and Biome and tsc for TypeScript/JavaScript on staged files. The workflow automatically fixes formatting and type errors before finalizing the commit.

Can I automatically update README and API docs during a git commit?

Yes, you can automatically update README and API documentation during a git commit. The process regenerates API reference documentation for Python and TypeScript/JavaScript projects based on your code changes to ensure consistency.

What happens when precommit hooks modify files during a git commit?

When precommit hooks modify files during a git commit, the automated workflow handles the changes and retries the commit. This ensures a clean commit history without manual intervention for formatting fixes.

How do I fix failing unit tests before committing code changes?

Fixing failing unit tests before committing code changes is integrated into the commit workflow. The process automatically identifies and resolves test failures so that all tests pass before the git commit is created.

Does automated commit linting work for both Python and TypeScript projects?

Yes, automated commit linting works for both Python and TypeScript projects. It runs Ruff and Pyright for Python code, and Biome and tsc for TypeScript/JavaScript files, automatically fixing errors on staged files.