fechar-fase

fechar-fase is a skill for Claude Code from FHDumont/code-ai-template. It costs 43 tokens per session (645 once invoked), scanned A, original, MIT.

A close-out checklist for finishing a development phase and preparing its changes for review and merging.

In plain words
What is it for?
Use it to verify a phase against its specification, get a fresh review, update project records, pause for owner approval, and then merge and clean up the branch.
Why use it?
It prevents unfinished tests, missed documentation, and unreviewed differences from being treated as done.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/fhdumont/code-ai-template/fechar-fase
Any agent
npx skills add FHDumont/code-ai-template --skill fechar-fase
Clone the repo
git clone --depth 1 https://github.com/FHDumont/code-ai-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fechar-fase

README.md
[![agentmods](https://agentmods.dev/badge/skills/fhdumont/code-ai-template/fechar-fase.svg)](https://agentmods.dev/skills/fhdumont/code-ai-template/fechar-fase)
Your own site
<a href="https://agentmods.dev/skills/fhdumont/code-ai-template/fechar-fase"><img src="https://agentmods.dev/badge/skills/fhdumont/code-ai-template/fechar-fase.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00645
Opus 5 $0.00022 $0.00322
Sonnet 5 $0.00009 $0.00129
Haiku 4.5 $0.00004 $0.00064

Measured 5d ago against content hash 01a5393e2692, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

fechar-fase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/fechar-fase/SKILL.md · 25 lines

How it starts

The opening of the file, as written. The whole thing — 25 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Checklist do fecho. As regras vivem em AGENTS.md (§Regra de migração, §Git); aqui está a ordem, e onde se para.

Antes da validação do dono

  1. Rode os critérios de pronto da spec, um por um, com execução real — build, teste, run. Critério que falhou volta pro código; "feito" só depois de verificado.
  2. Revisão de fecho com contexto fresco. Dispare um subagente via Task que não tem o contexto desta sessão e entregue a ele só: os docs vivos, a spec da fase, e o diff (git diff main...HEAD). A pergunta dele é uma: o entregue bate com a intenção da spec, item a item? Divergiu → corrija antes de seguir. Fase que não tocou código pode pular este passo.
  3. Passada única de docs vivos, tudo antes do commit final: spec inteira de SETUP.mddocs/history/SETUP-HISTORICO.md com o bloco Notas de implementação (desvios, soluções não-óbvias, becos evitados — memória, não log); uma linha em docs/CHANGELOG.md (F-xxx — o que entrou — AAAA-MM-DD); fase removida do ROADMAP.md; DEBITO-TECNICO.md atualizado (débito novo, e o resolvido migrando inteiro pro histórico com nota de como foi); ADR novo se a entrega divergiu por decisão de arquitetura; CONTEXT.md se a fase afiou algum termo.
  4. Commite a etapa final e pare. Relate ao dono: cada critério com seu resultado, o veredito da revisão de fecho, os docs tocados, e o que ficou de fora e por quê.

O fecho para aqui — PR, merge e limpeza esperam o dono validar. Salvo se o prompt de abertura já autorizou o fecho sem teste; nesse caso siga direto.

Depois de liberado — sem pausar no meio

  1. gh pr create com corpo curto: o que/por quê, os critérios, e a referência à F-xxx.
  2. Confirme os checks verdes. Um CI por fecho: o build que dispara no merge é entrega, não gate — não espere um segundo.
  3. gh pr merge --rebase — os commits da fase entram lineares no main, um por etapa.
  4. Apague a branch remota e local, e sincronize: git switch main && git pull.
  5. Confirme com git branch: só main, atualizado com o origin/main. O dono não toca no GitHub.

Read the full file on GitHub · 25 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 25 lines · 43 tokens per session scan A 01a5393e2692

Subscribe to this mod's changes

fechar-fase is a skill published in the GitHub repository FHDumont/code-ai-template (2 stars, last pushed 25d ago), licensed MIT. It adds 43 tokens to every session and 645 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.