af-fix-analyze

Fix the highest-severity issue from an analysis document with build and lint verification.

1|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/e-stpierre/agentic-forge --skill af-fix-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-fix-analyze
Source: https://github.com/e-stpierre/agentic-forge/tree/main/src/claude/.claude/skills/fix-analyze
Command: npx skills add https://github.com/e-stpierre/agentic-forge --skill af-fix-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates resolving a single prioritized issue from an analysis document so repositories receive minimal, verified fixes without manual triage.

Core Features & Use Cases

  • Prioritized iterative fixes: Selects the highest-severity unfixed issue from agentic/analysis/<type>.md and attempts a minimal, targeted code change.
  • Safe verification and commit: Runs build and lint checks, documents skipped or fixed issues with reasons, and creates commits prefixed with the issue ID.
  • Use Case: After running automated bug, security, or style analysis, use this Skill to apply one safe fix per iteration and update the analysis record.

Quick Start

Run af-fix-analyze to fix the highest-severity unfixed issue in agentic/analysis/<type>.md, verify build and lint, update the analysis file, and create a commit.

Frequently Asked Questions about af-fix-analyze

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

FAQPage Schema
How do I automatically fix lint and analysis issues in my repository one at a time?

To automatically fix lint and analysis issues iteratively, you need a tool that reads your analysis document, applies targeted code changes to resolve the highest-severity issue, and verifies the fix with build and lint checks before committing. This Skill automates that exact workflow by modifying code, running verifications, updating the analysis file, and creating a commit prefixed with the issue ID.

What is the best way to apply safe, verified bug fixes from an automated analysis document?

The best way to apply safe bug fixes from an analysis document is to process them iteratively. This Skill selects the highest-severity unfixed issue, attempts a minimal code change, runs build and lint checks to verify safety, documents the outcome with reasons, and updates the analysis record with issue metadata.

Can I use this automated code fix approach for security and technical debt analysis?

Yes, this automated code fix approach supports security and technical debt analysis. It is designed to handle multiple analysis types including bug, debt, doc, security, and style, reading the specific issue lists from your analysis files and applying targeted fixes during maintenance workflows.

How does iterative issue resolution work when autofix is enabled?

Iterative issue resolution with autofix works by reading the analysis file, selecting the top prioritized unfixed issue, applying a minimal code modification, running build and lint verifications, and creating a commit. The analysis document is then updated to reflect whether the issue was fixed or skipped.

What happens if a build or lint check fails after applying an automated code fix?

If a build or lint check fails after applying an automated code fix, the issue is documented as skipped with specific reasons in the analysis file. The workflow ensures only verified changes are committed, preventing broken code from entering the repository while maintaining a record of the attempt.

Do I need an existing analysis file to start fixing repository issues automatically?

Yes, you need an existing analysis file to start fixing repository issues automatically. The Skill operates by reading prioritized issue lists from the agentic/analysis directory, requiring a pre-existing document to identify the highest-severity unfixed issue and apply the corresponding code changes.