# Ag Ciclo Testes

> Ciclo autonomo Test-Fix-Retest. Roda suite completa, documenta achados, corrige em sprints, re-testa ate convergencia. Max 3 ciclos.

- **Type:** Skill
- **Install:** `agentstack add skill-andregusman-raiz-a-gusman-claude-ag-ciclo-testes`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [andregusman-raiz](https://agentstack.voostack.com/s/andregusman-raiz)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [andregusman-raiz](https://github.com/andregusman-raiz)
- **Source:** https://github.com/andregusman-raiz/a-gusman-claude/tree/main/skills/ag-ciclo-testes

## Install

```sh
agentstack add skill-andregusman-raiz-a-gusman-claude-ag-ciclo-testes
```

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

## About

# ag-ciclo-testes — Ciclo Completo de Teste

Spawn the `ag-ciclo-testes` agent to run the full autonomous Test-Fix-Retest cycle.

## Invocation

Use the **Agent tool** with:
- `subagent_type`: `ag-ciclo-testes`
- `context`: `fork`
- `mode`: `bypassPermissions`
- `run_in_background`: `true`
- `prompt`: Compose from template below + $ARGUMENTS

## Prompt Template

```
Projeto: [CWD or user-provided path]

Executar ciclo completo autonomo: baseline -> triage -> fix sprints -> retest -> report final.
Max 3 ciclos de convergencia. Sem perguntas intermediarias — documentar SKIPs e continuar.
```

## Important
- ALWAYS spawn as Agent subagent — do NOT execute inline
- After spawning, confirm to the user
- Autonomous heavy agent — runs with `context: fork` for isolation
- Delivers: baseline report, triage, committed fixes, retest comparison, final report
- Max 3 convergence cycles; documents unfixable items as SKIP

## Escalacao: Issues para SKIPs

Itens marcados como SKIP (unfixable apos 3 ciclos) DEVEM ser registrados como GitHub Issues:

```
Agent({
  subagent_type: "ag-registrar-issue",
  name: "issue-registrar",
  model: "haiku",
  run_in_background: true,
  prompt: "Repo: [detectar]\nOrigem: ag-ciclo-testes\nSeveridade: P2-medium\nTitulo: Unfixable test: [nome do teste/item]\nContexto: [descricao do item, tentativas nos 3 ciclos, razao do SKIP, impacto]\nArquivos: [arquivos relevantes]\nLabels: bug, needs-investigation"
})
```

## Source & license

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

- **Author:** [andregusman-raiz](https://github.com/andregusman-raiz)
- **Source:** [andregusman-raiz/a-gusman-claude](https://github.com/andregusman-raiz/a-gusman-claude)
- **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-andregusman-raiz-a-gusman-claude-ag-ciclo-testes
- Seller: https://agentstack.voostack.com/s/andregusman-raiz
- 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%.
