code-ai-template: Skill for Claude Code

.claude/skills/planejar-fase/SKILL.md

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

A planning workflow for opening the next development phase by reviewing project notes, auditing the existing code, and writing a specification.

In plain words
What is it for?
Use it to review open findings and project context, inspect migrations and data when needed, coordinate code audits, and prepare docs/SETUP.md without changing code.
Why use it?
It reduces planning errors caused by stale documentation, missed technical debt, or assumptions about how the code and stored data work.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the ExitPlanMode tool.

This is FHDumont/code-ai-template's own configuration. It tells Claude Code how to work on code-ai-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything code-ai-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FHDumont/code-ai-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FHDumont/code-ai-template/main/.claude/skills/planejar-fase/SKILL.md
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 planejar-fase

README.md
[![agentmods](https://agentmods.dev/badge/skills/fhdumont/code-ai-template/planejar-fase/github.svg)](https://agentmods.dev/skills/fhdumont/code-ai-template/planejar-fase)
Your own site
<a href="https://agentmods.dev/skills/fhdumont/code-ai-template/planejar-fase"><img src="https://agentmods.dev/badge/skills/fhdumont/code-ai-template/planejar-fase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for planejar-fase

Your own site · 80×15
<a href="https://agentmods.dev/skills/fhdumont/code-ai-template/planejar-fase"><img src="https://agentmods.dev/badge/skills/fhdumont/code-ai-template/planejar-fase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00041 $0.01143
Opus 5.5 $0.00016 $0.00457
Sonnet 5.5 $0.00008 $0.00229
Haiku 4.5 $0.00004 $0.00114

Measured 5d ago against content hash 4d1302ec9e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

planejar-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/planejar-fase/SKILL.md · 23 lines

What it actually says

Ritual de abertura do plan mode. As regras vivem em AGENTS.md (§O loop, §Docs vivos, §Inbox de achados); aqui está a ordem de execução.

Entre em plan mode antes do passo 1 — esta passada raciocina e escreve spec, e não toca em código.

  1. Esvazie o inbox. gh issue list --label achado --state open e leia o que houver. Deixe a triagem pro passo 9: o achado pode caber na fase que você está prestes a desenhar, e você só saberá depois de auditar.
  2. Carregue os vivos quentes. docs/SETUP.md (a fase atual — se tiver spec aberta, a fase ainda não fechou: pare e diga isso ao dono), docs/ROADMAP.md (o que vem) e CONTEXT.md (o vocabulário, uma linha por termo; o texto cheio está em docs/reference/dominio.md, frio — leia só o termo que a fase toca). Toque em área com débito conhecido? Some docs/DEBITO-TECNICO.md. CHANGELOG, DECISOES, as regras R-NNN e docs/history/fases/ são frios: grep pelo ID quando precisar de um.
  3. Confira o ID da fase. Próximo = maior F-NNN presente em docs/CHANGELOG.md, docs/history/SETUP-HISTORICO.md e docs/ROADMAP.md, mais um — não "o último que eu vi mais um": ID reusado só aparece na revisão de fecho.
  4. Audite o código real. A fase candidata mexe em schema, enum ou estado persistido? Leia migrations, tipos e dados antes de qualquer pergunta — spec que presume estado inexistente custa uma fase inteira. Nomes de arquivo e símbolo que entrarem na spec saem daqui verificados. Antes de disparar um agente de auditoria, confira docs/scratch/: laudo já feito sobre o assunto se lê, não se refaz. Dispare subagentes pra varrer em paralelo — subagent_type: varredura (.claude/agents/varredura.md) pra "onde isto está / quantos são / quais os pontos": roda em modelo leve por configuração e devolve só bullets arquivo:linha, que é o que a auditoria precisa. O que exige raciocínio — decidir, comparar desenhos, debugar — fica com você ou com um agente forte; resumo barato não carrega linha confiável.
  5. Declare seu model/effort ao dono e, se ele estiver sub ou superdimensionado pra esta fase, peça a troca antes de seguir — sem esperar ele perguntar (CLAUDE.md §Model e effort).
  6. Rode o grilling com o material dos passos 1–4 na mão. O passo zero dele — correção (zero ou uma rodada) ou modelagem (rodadas) — decide quanto interrogatório a fase merece; os achados abertos entram na árvore como galhos candidatos ao escopo. O grilling fecha gravando a spec (em docs/SETUP.md, ou no arquivo de plano quando a ferramenta não deixa o plan mode escrever no repo — CLAUDE.md; nesse caso a cópia pro SETUP.md é o passo 8).
  7. Aprove a spec com o dono — ExitPlanMode é a aprovação (não pergunte "posso gravar?"). Os passos 8 e 9 escrevem, então só rodam depois de sair do plan mode.
  8. Grave no repo, sem commitar. A spec vai integral pro docs/SETUP.md e a fase entra em ## Atual no ROADMAP.md. Copiar é tarefa daqui, não do code mode: a execução pode ser de outro agente, que não lê o arquivo de plano do Claude Code. O commit é da execução, junto com o primeiro código.
  9. Feche o inbox. Cada achado lido no passo 1 tem agora um destino: escopo da spec, linha nova no ROADMAP.md, item de DEBITO-TECNICO.md, regra R-NNN, ou ADR — inclusive ADR rejeitado, quando a resposta foi "não vamos fazer" e a recusa é arquitetural. Grave o destino primeiro (issue fechada com o conteúdo em lugar nenhum é triagem pela metade), depois gh issue close em cada um, citando pra onde foi.
  10. Entregue ao dono: a spec gravada, os achados fechados e o que cada um virou, e o Model/effort de execução recomendado. Ele dá /clear, e a execução é outra sessão.

Pronto = a spec aprovada e gravada no docs/SETUP.md, zero issue achado aberta sem destino, e o dono sabendo qual model/effort abrir.

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 Changed · +2 lines 4d1302ec9e83
  2. 1mo ago Changed a74927dd7d0c
  3. 1mo ago Changed · +1 lines 1e2f574bee43
  4. 2mo ago First seen · 20 lines · 41 tokens per session scan A 965af672664a

Subscribe to this mod's changes

planejar-fase is a skill published in the GitHub repository FHDumont/code-ai-template (2 stars, last pushed 5d ago), licensed MIT. It adds 41 tokens to every session and 1,143 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens