agentleFS
phant0umphant0um/claude-skills/skills/implement/SKILL.md

implement

Skill0 starsChanged 20 days agoMITView on GitHub

Use when: implementar trabalho descrito em PRD ou issues prontos para código — /tdd em seams pré-acordados, typecheck e /review ao final.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-ts-deep-modules, ask-matt and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 53 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 109 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 107 projects that use this

  • richard12511Skill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 51 projects that use this

  • GoogleSkill

    to-tickets

    Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.

    Also in 198 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 58 projects that use this

  • +1 more from google

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 177 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Commit no branch atual, um commit atômico por fatia verde (teste + typecheck passando).

    line 85

“Common” is measured: kept by at least 6 in 10 of the 177 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: Implement

Propósito

Implementar trabalho descrito em PRD ou issues. Ultra-lean: usa /tdd onde possível, roda typecheck regularmente, suite completo no final, /review, commit.


Condições de Ativação

Ative quando:

  • PRD ou issues existem e precisam ser implementados
  • /implement chamado explicitamente
  • Após to-tickets ou to-spec gerarem artifacts

NÃO ative para: protótipos (→ /prototype); spikes sem spec; hotfixes <10 linhas.


Protocolo

1. Ler PRD/issues

  • Identificar scope, acceptance criteria, seams de teste
  • Ler GLOSSARY.md (se existir) para vocabulário de domínio
  • Respeitar ADRs na área tocada

2. Implementar com TDD

  • Usar /tdd em seams pre-acordados com user
  • Vertical slices: 1 teste → 1 impl → repeat
  • Rodar typecheck regularmente (a cada 2-3 tasks)
  • Rodar single test file regularmente

3. Full test suite

  • Rodar suite completo 1× no final
  • Zero regressões permitidas
  • Se regressão: fix antes de prosseguir

4. Review

  • Rodar /review ou @verify no trabalho
  • Addressar findings antes de commit

5. Commit

  • Commit no branch atual, um commit atômico por fatia verde (teste + typecheck passando). Cada commit é save point: git revert <sha> sozinho desfaz a fatia sem quebrar o resto.
  • Fatia incompleta que precisa entrar antes de terminar fica atrás de flag desligada por default; registre no commit quando remover a flag.
  • Mensagem diz o porquê da fatia, não a lista de arquivos.
  • Mensagem descritiva com referência ao PRD/issue

Porquê: commit grande mistura fatias e transforma rollback em cirurgia manual.

6. Model swap no handoff (multi-modelo)

Se rodar em harness que troca modelo por fase (Devin CLI, Kilo Code, sub-agentes): use modelo forte na geração (implementar slice) e modelo rápido/barato no handoff (resumir estado, escrever handoff doc — tarefa mecânica). Padrão de campo: GLM/Opus p/ implementar → SWE-fast/Haiku p/ handoff. Ver model-router p/ tiers.


Completion

  • PRD/issues lidos e scope confirmado
  • TDD aplicado nos seams pre-acordados
  • Typecheck passa
  • Full test suite passa (zero regressões)
  • /review executado, findings addressados
  • Commits atômicos por fatia verde, cada um revertível sozinho

Failure modes

  • TDD skip: implementar sem testes em seams acordados → sempre usar /tdd nos seams
  • Suite skip: não rodar full suite no final → regressões invisíveis
  • Review skip: commitar sem /review → quality gate bypassed
  • Scope creep: implementar além do PRD/issue → sem spec update = drift

Self-Improvement

Após cada execução:

  1. Se regressão encontrada no suite final → registrar padrão em 06-GENERATED/tasks/lessons.md
  2. Se scope creep detectado → flag para @harden com contexto
  3. Lições append: - YYYY-MM-DD: [implement] N tasks, M testes, regressões=X

Ver: hill-climb · autoresearch-loop


Restrições

  • NUNCA implementar sem ler PRD/issues primeiro
  • NUNCA pular full test suite no final
  • NUNCA commitar sem /review
  • NUNCA expandir scope sem atualizar spec/PRD

Quando NÃO usar

  • Protótipos throwaway — usar dev/prototype; implement não persiste.
  • Spike sem spec — experimento para validar abordagem é dev/prototype, não implementação.
  • Hotfix <10 linhas com causa confirmada — implement é overhead; corrigir direto com teste de regressão.
  • PRD/issues ausentes — implement sem spec é chute; voltar para meta/spec-lifecycle.

Disambiguation: dev/implement executa trabalho especificado; dev/tdd é o modo test-first usado por implement nos seams; spec-verify fecha o loop verificando o resultado contra a spec — implement não é verificação.

Relacionado

  • tdd — TDD para seams pre-acordados
  • spec-lifecycle — spec completa antes de implement
  • spec-verify — verify contra spec
  • code-optimize — review pós-implementação
  • codebase-design — vocabulário de módulo/seam ao desenhar código novo
  • domain-modeling — GLOSSARY.md (o "Ler GLOSSARY.md" do step 1)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.