aif-fix

Automates structured bug fixes with plan-first or immediate workflows and patch generation.

Updated Aug 4, 2025
One-click install
npx skills add https://github.com/Svarog83/php-log-monitor --skill aif-fix-svarog83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-fix
Source: https://github.com/Svarog83/php-log-monitor/tree/main/.cursor/skills/aif-fix
Command: npx skills add https://github.com/Svarog83/php-log-monitor --skill aif-fix-svarog83

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates a structured, auditable bug-fix workflow in a codebase, enabling repeatable repairs with plan-first and immediate-fix options.

Core Features & Use Cases

  • Guided fix workflow with optional plan-first mode and immediate fix path.
  • Plan generation, documentation, and patch creation for traceability.
  • Mandatory logging around fixes to assist debugging and verification.
  • Patch storage as self-improvement artifacts for future reference.
  • Supports multi-project repositories via a centralized .ai-factory workflow.

Quick Start

Describe the bug or error to start the fix process.

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 structured bug fix in my codebase?

You can automate a structured bug fix by describing the error to initiate a workflow that generates a plan, creates patches, enforces logging, and suggests tests for repeatable codebase repairs.

What is a plan-first workflow for patching code?

A plan-first workflow for patching code generates and documents a repair strategy before applying changes, ensuring traceability and allowing review before the actual patch and test suggestions are executed in the codebase.

Do I need a specific directory structure for automated bug fixing?

Automated bug fixing requires a .ai-factory directory inside your repository to guide the structured workflow from problem understanding to patch generation and verification.

How does mandatory logging assist codebase bug fixes?

Mandatory logging assists codebase bug fixes by enforcing logging around applied patches, which helps with debugging, verifying the fix, and maintaining an auditable trail of the structured repair process.

Can I use this automated patch generation for multi-project repositories?

You can use this automated patch generation for multi-project repositories because the guided fix workflow operates via a centralized .ai-factory directory structure that supports multiple projects.