convez.ai
AgenteAutomaçãoIntermediário
whyashthakker

Awesome Loops

whyashthakker/awesome-loops

96 templates de loops autônomos para agentes de código com saídas garantidas

Ver no GitHub
InicialPluginScore · de 0 a 100

Repositório com 96 templates de loops (fluxos iterativos) para agents autônomos como Claude Code, Cursor e Codex. Cada loop é um workflow estruturado com condições de saída claras, guardrails de segurança e prompts prontos para colar direto no seu agent. Abrange CI, debugging, DevOps, testes, segurança, performance e muito mais.

Instalação

$npx convez-ai whyashthakker/awesome-loops

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Automatizar fix de falhas em CI até builds verdes
  • Executar loops de debugging iterativo (memory leaks, crash loops)
  • Otimizar performance ou resolver vulnerabilidades em ciclos até zero erros
  • Rodar migrações de banco, testes e2e ou refatoração com feedback automático
  • Standardizar workflows repetitivos (dependency updates, linting, review)

Veredito

Projeto prático e bem-estruturado para quem usa agents de código. Oferece padrões testados (96 loops em 15 categorias) com kickoff prompts diretos, guardrails claros e diagramas. Ideal para automatizar ciclos repetitivos; requer experiência com agents e CLI para máximo proveito.

README

A tradução para o português deste README ainda está na fila.

Awesome Loops

A curated collection of autonomous agent loop templates for coding agents (Claude Code, Cursor, etc.). Each loop is a structured, repeatable workflow that runs until an exit condition is met.

What is a Loop?

A loop is an agent workflow that:

  • Has a clear exit condition (e.g., "CI green", "zero vulnerabilities", "all tests pass")
  • Runs iteratively — check → analyze → fix → repeat
  • Has guardrails to prevent runaway execution (max iterations, scope limits)
  • Ships with a kickoff prompt you can paste directly into your agent
flowchart TD
    A([Start]) --> B[Run Check Command]
    B --> C{Exit Condition Met?}
    C -->|Yes| D([Done ✓])
    C -->|No| E{Max Iterations\nReached?}
    E -->|Yes| F([Stop — Report])
    E -->|No| G[Analyze Output]
    G --> H[Apply Fix]
    H --> I[Commit & Push]
    I --> B

    style A fill:#22c55e,color:#fff
    style D fill:#22c55e,color:#fff
    style F fill:#ef4444,color:#fff
    style C fill:#3b82f6,color:#fff
    style E fill:#f59e0b,color:#fff

Usage

  1. Browse to a category and pick a loop that fits your task
  2. Open loop.md inside the folder
  3. Copy the Kickoff Prompt into your coding agent
  4. Monitor progress — the agent runs until the exit condition is met or max iterations are reached

Categories

CategoryLoopsWhat it covers
API8Contract testing, versioning, error resolution, backward compatibility
Automation7Repetitive task elimination, release pipelines, scheduled job stability
CI7Green builds, flaky test hunting, pipeline speed, workflow repair
Database7Migrations, index optimization, data integrity, schema sync
Debugging7Memory leaks, crash loops, root cause analysis, production incidents
DevOps8Kubernetes, deployments, infrastructure drift, container security
Docs7Broken links, changelog generation, example coverage, API doc sync
Git7Merge conflicts, commit hygiene, rebase, conventional commits
Maintenance7Dependency updates, dead code removal, technical debt, package audits
Performance7Bundle size, slow endpoints, memory usage, render performance
Planning7Sprint planning, epic breakdown, backlog grooming, roadmap building
Quality7Linting, refactoring, complexity reduction, code quality grades
Review6PR polish, architecture review, security review, self-review
Security5Secret detection, OWASP compliance, vulnerability remediation
Testing3E2E stability, test coverage, regression prevention

Total: 96 loops

Loop Structure

Each loop lives in its own folder and contains a loop.md with:

# Loop Name

Category, tags

## Description     — what it does
## Goal            — the exit condition
## How to Run      — step-by-step setup
## Workflow Steps  — what the agent does each iteration
## Guardrails      — safety limits
## Kickoff Prompt  — paste this into your agent
## Flow            — mermaid diagram of the cycle

Example

CI/ci-until-green — runs gh pr checks, identifies failures, applies fixes, pushes, repeats until all checks pass (max 10 iterations).

Security/vulnerability-until-zero — runs npm audit, applies npm audit fix, handles remaining issues manually, repeats until no critical vulnerabilities remain.

Debugging/memory-leak-hunter — profiles memory, identifies leak sources, proposes targeted fixes, verifies improvement, repeats until memory stabilizes.

Contributing

  1. Pick a category (or add a new one)
  2. Create a folder: Category/descriptive-loop-name/
  3. Add loop.md following the structure above
  4. Keep the kickoff prompt self-contained — it should work when pasted cold into any agent

More Resources

For more tools, agents, and automation workflows — visit explainx.ai.

License

MIT

Ver o original no GitHub

Bom para

Relacionados