convez.ai
SkillProdutividadeIntermediário
afbreilyn

AFB-TDD

afbreilyn/afb-tdd

Workflow TDD interativo com pausa para revisão entre ciclos

Ver no GitHub
InicialPluginScore · de 0 a 100

Skill interativa para Claude Code que implementa o ciclo red-green-refactor do Test-Driven Development. Guia o desenvolvedor através de testes falhando propositalmente, com pausas explícitas para revisão humana antes de prosseguir.

Instalação

$npx convez-ai afbreilyn/afb-tdd

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
2
Forks
5
Acompanhando
0
Saúde
42%
Último commit
há 4 semanas
Versão
—
Issues abertas
3
Contribuidores
4

Casos de uso

  • Implementar features com TDD disciplinado
  • Ensinar metodologia red-green-refactor
  • Manter qualidade de código através de testes primeiro

Veredito

Skill bem pensada que força disciplina TDD genuína ao inserir pausas de revisão no fluxo. Útil para times que buscam melhorar qualidade de código e já entendem TDD, mas precisa de prática para integrar em projetos reais com múltiplas convenções de teste.

README

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

afb-tdd

An interactive Claude Code skill to do red-green-refactor style TDD. The robit writes one failing test at a time with explicit pauses for the human to review.

The SKILL.md itself does a pretty good job of explaining the logic.

How to do the thing:

Global — use as-is

This skill lives in ~/.claude/skills/afb-tdd/ and is available in every Claude Code session. Invoke it with /afb-tdd from any project.

Local — inherit and extend with your own testing conventions and domain logic

For a project with its own test conventions, create a local skill that delegates to this one and adds project-specific overrides, using the below text

---
name: afb-tdd
description: Interactive red-green-refactor TDD workflow.
user-invocable: true
allowed-tools: Bash
---

Follow the TDD workflow defined in [~/.claude/skills/afb-tdd/SKILL.md](~/.claude/skills/afb-tdd/SKILL.md).

## Project-specific

- Run the full test suite with `make test` (or whatever command you use).
- See [conventions.md](references/conventions.md) for test helpers, fakes, builders, and integration test setup.

The local skill would then extend the global one — /afb-tdd in that project runs the local version, which inherits the core workflow. Add only what differs.

Feedback

Like any TDD-er, I would love feedback! If you have examples / tweaks / conventions / patterns / anti-patterns / pirate jokes to share, please fork the repo and open up a PR!

License

License: CC BY 4.0

Acknowledgments

  • pdca-framework (Ken Judy) — a huge source of inspiration and guidance, even for the format of this acknowledgment section
  • obra/superpowers (Jesse Vincent) — anti-patterns reference, which i have adapted and extended for this skill
  • Kent Beck && James Grenning — for many of the founding principles of TDD, examples, and techniques that i too often take for granted

obra/superpowers is MIT licensed and kenjudy/pdca-framework is CC BY 4.0; content adapted from them is used with attribution as required. Beck and Grenning are intellectual influences; no copyrighted text is reproduced from their published works.

Ver o original no GitHub

Bom para

Relacionados