aif-fix

Generate a patch and fix plan for reported codebase bugs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ichinya/idshka --skill aif-fix-ichinya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-fix
Source: https://github.com/ichinya/idshka/tree/main/.codex/skills/aif-fix
Command: npx skills add https://github.com/ichinya/idshka --skill aif-fix-ichinya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the process of fixing bugs in a codebase by offering either an immediate patch or a plan-first workflow, ensuring changes are logged and accompanied by test coverage.

Core Features & Use Cases

  • Supports two modes: Fix now (apply an instant fix) or Plan first (generate a structured FIX_PLAN.md and review before applying).
  • Automatically generates a Patch document and a Self-Improvement Patch to build knowledge for future fixes.
  • Enforces logging around fixes and suggests tests to prevent regressions.

Quick Start

Describe the bug and choose a mode to either create a fix plan or apply the fix immediately.

Frequently Asked Questions about aif-fix

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

FAQPage Schema
How do I fix a code bug with a structured plan instead of patching blindly?

To fix a bug with a plan, use a plan-first workflow that generates a structured FIX_PLAN.md file for review before implementing changes. This approach ensures you understand the bug and review the proposed fix before any code is modified.

Can I apply an immediate patch to fix a bug in my codebase?

Yes, you can apply an immediate patch to fix a bug instantly. This mode bypasses the planning phase and directly modifies the code to resolve the reported unexpected behavior, error messages, or reproduction steps.

How do I prevent regressions when fixing bugs in a software project?

To prevent regressions when fixing bugs, enforce logging around the applied changes and generate suggested tests. This ensures that the fix is verified and future code changes are less likely to reintroduce the same bug.

Does fixing a bug automatically generate documentation for future reference?

Yes, fixing a bug automatically generates a Patch document and a Self-Improvement Patch. These build knowledge for future fixes by recording what was changed and how the resolution process can be improved over time.

What do I need to provide to start fixing an unexpected behavior in my software?

To start fixing unexpected behavior, provide a description of the bug along with reproduction steps, error messages, or the specific unexpected behavior. You also need to choose between an immediate fix or a plan-first workflow.