aif-fix

Installation
SKILL.md

Fix - Bug Fix Workflow

Fix a specific bug or problem in the codebase. Supports two modes: immediate fix or plan-first approach. The default workflow is regression-first whenever a regression check is needed: reproduce the problem, confirm the reported behavior, implement the fix, then verify the same check passes.

Workflow

Canonical Regression-First Policy

A regression check is the smallest useful test, command, fixture, API call, browser scenario, script, or documented manual/runtime reproduction that proves the reported bug or validates the expected behavior.

When a bug needs regression coverage, every workflow path (fix-now, plan-first, and existing-plan execution) follows this policy:

  1. Identify the minimal regression check that should reproduce the issue or encode the expected behavior.
  2. Execute the check before implementation and confirm it fails or reproduces the reported problem.
  3. Implement the smallest fix addressing the root cause.
  4. Re-run the exact same check and confirm it passes.
  5. Only after that, run related existing checks when practical and suggest broader coverage if useful.

Fallback behavior:

Installs
84
GitHub Stars
1.1K
First Seen
Feb 22, 2026
aif-fix — lee-to/ai-factory