commit-autofix

Automate git commits by detecting and fixing TypeScript/ESLint errors.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI-assisted git commit with automatic error fixing helps developers save time by automatically analyzing and resolving common TypeScript/ESLint issues during commits.

Core Features & Use Cases

  • AI-driven error analysis and fixes for TypeScript (.ts) and TypeScriptReact (.tsx) files, plus CSS (.css/.scss/.less), during commits.
  • Handles /commit commands, xcommit failures, and provides a final summary with optional auto-push.

Quick Start

Initiate xcommit and let the AI analyze and fix errors; review the summary and push if desired.

Frequently Asked Questions about commit-autofix

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

FAQPage Schema
How do I automatically fix TypeScript and ESLint errors during a git commit?

You can automatically fix TypeScript and ESLint errors during a git commit by using an AI-assisted workflow that analyzes errors, applies fixes, stages files, and commits with optional auto-push.

Can AI resolve TypeScript and CSS linting failures automatically before committing code?

Yes, AI can resolve TypeScript and CSS linting failures automatically before committing code by analyzing errors in .ts, .tsx, and CSS files and applying fixes during the commit process.

What is the best way to handle xcommit failures caused by TypeScript errors?

The best way to handle xcommit failures caused by TypeScript errors is using an automated retry workflow that analyzes errors, applies fixes, and re-attempts the commit up to two times.

Does AI-assisted git commit work with TypeScriptReact and SCSS files?

AI-assisted git commit works with TypeScriptReact and SCSS files, analyzing and automatically fixing errors in .tsx and CSS-related files like .scss and .less during the commit workflow.

What happens when an automated git commit fix fails after multiple retries?

When an automated git commit fix fails after multiple retries, the workflow stops retrying and provides a final summary of the unresolved errors instead of forcing a broken commit.

How do I auto-push code to git after fixing ESLint errors in local repositories?

You can auto-push code to git after fixing ESLint errors in local repositories by enabling the optional auto-push feature that triggers automatically after a successful AI-assisted commit.