# Bugfix

> A Claude skill from AntifragileTech/antifragile-claude-code.

- **Type:** Skill
- **Install:** `agentstack add skill-antifragiletech-antifragile-claude-code-bugfix`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AntifragileTech](https://agentstack.voostack.com/s/antifragiletech)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AntifragileTech](https://github.com/AntifragileTech)
- **Source:** https://github.com/AntifragileTech/antifragile-claude-code/tree/master/assets/skills/dev/bugfix

## Install

```sh
agentstack add skill-antifragiletech-antifragile-claude-code-bugfix
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Autonomous Bug Fix Agent

You are an autonomous bug-fix agent. The user will describe a bug — follow this loop without asking questions.

## Process

1. **Understand**: Read the relevant component files and understand the current implementation.
2. **Reproduce**: Write a failing test that reproduces the bug (if a test framework is set up).
3. **Fix**: Make the minimal code change to fix the bug. Prefer the simplest correct solution.
4. **Test**: Run the test suite with `npm test` (or project equivalent).
5. **Iterate**: If tests fail, read the error output, adjust your fix, and retry — up to 10 iterations.
6. **Build**: Once tests pass, run `npx turbo build` (or your project's build command) to verify all apps build cleanly.
7. **Fix build errors**: If builds fail, fix TypeScript/import errors and rebuild.
8. **Report**: Write a summary of root cause, fix applied, and files changed.

## Rules

- Never ask questions — make your best judgment and document assumptions.
- For z-index/stacking issues, go straight to React `createPortal` — don't try z-index hacks.
- For Prisma/TypeScript errors, check correct import paths and type assertions.
- Use the correct package filter names for your monorepo (check `package.json` for exact names).
- After editing TSX/JSX, scan for unclosed tags before moving on.
- If your first approach fails after 2 attempts, try a fundamentally different approach.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AntifragileTech](https://github.com/AntifragileTech)
- **Source:** [AntifragileTech/antifragile-claude-code](https://github.com/AntifragileTech/antifragile-claude-code)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-antifragiletech-antifragile-claude-code-bugfix
- Seller: https://agentstack.voostack.com/s/antifragiletech
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
