ag-2-corrigir

Diagnose, fix, and verify bugs, TypeScript errors, and tech debt in codebases.

19|4|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/andregusman-raiz/a-gusman-claude --skill ag-2-corrigir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ag-2-corrigir
Source: https://github.com/andregusman-raiz/a-gusman-claude/tree/main/skills/ag-2-corrigir
Command: npx skills add https://github.com/andregusman-raiz/a-gusman-claude --skill ag-2-corrigir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Autonomous correction of bugs, TypeScript errors, and tech debt in codebases, reducing manual debugging effort.

Core Features & Use Cases

  • Auto-detects mode (bug, types, batch, debt, triage) and selects appropriate repair strategy.
  • Performs diagnose → fix → verify loops until a green state, then ships a PR with evidence.
  • Self-healing with state persistence to resume after interruptions and guardrail checks.

Quick Start

Provide a bug description to start an autonomous correction cycle and let the machine diagnose, fix, verify, and ship a PR.

Frequently Asked Questions about ag-2-corrigir

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

FAQPage Schema
How do I automate TypeScript error fixes and generate a pull request?

Autonomous bug fix tools automatically diagnose TypeScript errors, apply corrections, and verify the state in a convergent loop before generating a pull request with evidence. This reduces manual debugging effort by handling the entire repair cycle.

What is the best way to resolve tech debt in a CI pipeline autonomously?

Resolving tech debt autonomously involves detecting the debt mode, applying a targeted repair strategy, and running fix and verify loops until a green state is reached. The process then ships a PR ready for review.

Can I batch fix multiple bugs in a codebase with PR-based workflows?

Yes, autonomous correction supports batch mode for multiple bugs in PR-based workflows. It handles single issues, batches, and triage tasks by selecting the appropriate repair strategy and generating a pull request with verification evidence.

Does autonomous bug fixing work with existing CI pipelines and PR workflows?

Autonomous bug fixing is designed for projects with CI pipelines and PR-based workflows. It applies repair strategies, verifies the state, and generates pull requests with evidence, requiring only a bug description to start the cycle.

What happens if an autonomous fix loop is interrupted?

Autonomous correction features self-healing with state persistence to resume after interruptions. It saves the current state during the diagnose, fix, and verify loop, allowing the process to continue without restarting from the beginning.

How does an autonomous system verify a bug fix before creating a pull request?

Autonomous correction uses a convergent fix and verify loop that runs until a green state is achieved. Once the verification passes, the system ships a pull request containing the fix and the verification evidence.