aif-fix

Guide developers through structured bug fixes from issue intake to patch submission.

56|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/lee-to/ai-workspace --skill aif-fix-lee-to
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-fix
Source: https://github.com/lee-to/ai-workspace/tree/main/.claude/skills/aif-fix
Command: npx skills add https://github.com/lee-to/ai-workspace --skill aif-fix-lee-to

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This workflow guides developers through a structured, logged process to fix bugs in codebases, from problem intake to patch application and verification.

Core Features & Use Cases

  • Guided bug-fix workflow with explicit steps from issue understanding to patch generation
  • Supports two modes: immediate fix or plan-first, with automatic FIX_PLAN.md and patch creation
  • Emphasizes thorough logging and suggests tests to prevent regressions

Quick Start

Describe the issue and choose a mode to begin: Fix now for immediate investigation or Plan first to create a fix plan.

Frequently Asked Questions about aif-fix

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

FAQPage Schema
How do I automate a bug fix with an auditable logging workflow?

Creating a plan-backed bug fix involves using a plan-first mode to generate a structured fix plan document before applying patches. This approach ensures reproducibility by outlining investigation steps, patch generation, and verification processes prior to execution.

What's the best way to generate a patch plan before fixing code?

Generating a patch plan before fixing code is best handled through a plan-first mode that automatically creates a fix plan file. This ensures an auditable workflow by documenting problem understanding, investigation steps, and patch application before any code changes are made.

Can I fix bugs immediately without creating a separate plan first?

Fixing bugs immediately without a separate plan is possible using an immediate fix mode. This mode skips initial planning documentation to start direct investigation and patch application, while still maintaining thorough logging and suggesting tests to prevent regressions.

Does this bug fix workflow suggest tests to prevent regressions?

This bug fix workflow does suggest tests to prevent regressions during the patch verification stage. It emphasizes thorough logging and test suggestions throughout the process, ensuring that applied patches are validated and the workflow self-improves via patch tracking.

Do I need any external dependencies to run this automated patch generation?

No external dependencies are required to run this automated patch generation. The workflow operates independently to guide developers from issue intake to patch submission, relying solely on its internal steps for logging, test suggestion, and patch creation.