fix

Fix lint, type errors, and simple bugs in code.

161|21|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/softspark/ai-toolkit --skill fix-softspark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix
Source: https://github.com/softspark/ai-toolkit/tree/main/app/skills/fix
Command: npx skills add https://github.com/softspark/ai-toolkit --skill fix-softspark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It eliminates the time‑consuming manual process of locating, diagnosing, and fixing lint, type, and simple code errors, enabling developers to maintain clean, functional codebases faster.

Core Features & Use Cases

  • Error Classification: Parses outputs from various linters and type checkers to prioritize auto‑fixable issues.
  • Automated Fix Loop: Runs validation, applies patches, and re‑validates up to three attempts with safety limits.
  • Safety Controls: Limits retries, scopes modifications, and halts on divergent new errors.

Quick Start

Invoke the fix skill with the target file or project scope, e.g., “/fix src/utils.ts”.

Frequently Asked Questions about fix

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

FAQPage Schema
How do I auto-fix lint and type errors in my code?

The skill runs an automated fix loop that validates code, applies patches, and re-validates up to three times. It includes safety controls that limit retries, scope modifications, and halt on divergent new errors.

Can I automatically fix simple bugs alongside linting issues?

You need Bash, read, edit, and grep tools to use this skill. It parses error outputs from linters and type checkers, classifies the issues, and applies automated patches within the specified project scope.

What happens if the automated code repair introduces new errors?

Invoke the fix skill with your target file or project scope, such as “/fix src/utils.ts”. The skill then analyzes error outputs, classifies issues, applies patches, and re-validates up to three times.

Does this auto-fix skill work with eslint and mypy outputs?

The skill halts if automated repair introduces divergent new errors. It enforces safety limits by capping fix-retry cycles at three attempts and scoping modifications to prevent uncontrolled changes.