leonanpereirapinto/ai-utils/executar-bugfix

Claude Code and agent skill by leonanpereirapinto/ai-utils

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Reads documented bugs from bugs.md, analyzes root causes, implements fixes with regression tests, and validates the full test suite. Prioritizes fixes by severity (high to low). Updates bugs.md with correction status and generates a final bugfix report. Use when the user asks to fix bugs, resolve issues, or run the bugfix workflow for a feature. Do not use for new feature implementation, code review, or QA testing.

Install

npx vskill@latest install leonanpereirapinto/ai-utils/executar-bugfix

SKILL.md

The same SKILL.md was published earlier as dealmeidafernando/skills/executar-bugfix.

Bug Fix Execution

Procedures

Step 1: Context Analysis (Mandatory)

  1. Read the bugs file at ./tasks/prd-[feature-slug]/bugs.md and extract ALL documented bugs.
  2. Read the PRD at ./tasks/prd-[feature-slug]/prd.md to understand affected requirements.
  3. Read the Tech Spec at ./tasks/prd-[feature-slug]/techspec.md to understand relevant technical decisions.
  4. Review project rules for compliance in fixes.
  5. Do NOT skip this step — full context understanding is fundamental for quality fixes.

Step 2: Plan Fixes (Mandatory)

  1. For each bug, generate a planning summary:
  • Bug ID, Severity (High/Medium/Low), Affected Component.
  • Root Cause analysis.
  • Files to modify.
  • Fix strategy description.
  • Planned regression tests (unit, integration, E2E).
  1. Use Context7 MCP to analyze documentation of involved languages, frameworks, and libraries.

Step 3: Implement Fixes (Mandatory)

  1. Fix bugs in severity order: High first, then Medium, then Low.
  2. For each bug follow this sequence:

a. Locate and read the affected code. b. Reason about the flow causing the bug. c. Implement the root-cause fix — no superficial workarounds. d. Run bun run typecheck after each fix. e. Run existing tests to ensure no regressions.

Step 4: Create Regression Tests (Mandatory)

  1. For each fixed bug, create tests that:
  • Simulate the original bug scenario (test must fail if the fix is reverted).
  • Validate the correct behavior with the fix applied.
  • Cover related edge cases.
  1. Choose test type based on bug nature:
  • Unit test: Bug in isolated function/method logic.
  • Integration test: Bug in module communication (e.g., controller + service).
  • E2E test: Bug visible in the UI or full flow.

Step 5: Visual Validation with Playwright MCP (Mandatory for frontend bugs)

  1. For bugs affecting the UI:

a. Use browser_navigate to access the application. b. Use browser_snapshot to verify page state. c. Reproduce the flow that caused the bug. d. Use browser_take_screenshot to capture evidence of the fix.

Step 6: Final Test Execution (Mandatory)

  1. Run ALL project tests: bun run test.
  2. Verify ALL pass with 100% success.
  3. Run type checking: bun run typecheck.
  4. The task is NOT complete if any test fails.

Step 7: Update bugs.md (Mandatory)

  1. For each fixed bug, append to its entry:
  • Status: Fixed.
  • Applied fix: Brief description.
  • Regression tests: List of created tests.

Step 8: Generate Final Report

  1. Read the report template at assets/bugfix-report-template.md.
  2. Fill in all sections with actual results.

Error Handling

  • If bugs.md does not exist, halt and report to the user.
  • If a bug requires significant architectural changes, document the justification before proceeding.
  • If new bugs are discovered during fixes, document them in bugs.md.
  • Begin implementation immediately after planning — do not wait for approval.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leonanpereirapinto/ai-utils/executar-bugfix/badge)](https://verified-skill.com/skills/leonanpereirapinto/ai-utils/executar-bugfix)

Something wrong with this skill or its page? Tell us.