project-template: Skill for Claude Code

.claude/skills/diagnostico/SKILL.md

diagnostico is a skill for Claude Code from polmarza/project-template. It costs 87 tokens per session (988 once invoked), scanned A, original, MIT.

A read-only project and environment check that reports missing documents, unfinished feature records, configuration problems, available integrations, and test status, with a proposed fix for each issue.

In plain words
What is it for?
Use it when first entering a project, before substantial work, or when something fails unexpectedly; it checks items such as Node, pnpm, environment variables, MCP servers, and tests.
Why use it?
It reveals project or setup problems before they disrupt a longer coding session, without changing anything automatically.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code; mentions AGENTS.md.

This is polmarza/project-template's own configuration. It tells Claude Code how to work on project-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 project-template configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/verificar-cobertura.mjs.

Reuse

Borrowing it

Nothing to install: this file belongs to polmarza/project-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/polmarza/project-template/main/.claude/skills/diagnostico/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/polmarza/project-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 diagnostico

README.md
[![agentmods](https://agentmods.dev/badge/skills/polmarza/project-template/diagnostico/github.svg)](https://agentmods.dev/skills/polmarza/project-template/diagnostico)
Your own site
<a href="https://agentmods.dev/skills/polmarza/project-template/diagnostico"><img src="https://agentmods.dev/badge/skills/polmarza/project-template/diagnostico/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 diagnostico

Your own site · 80×15
<a href="https://agentmods.dev/skills/polmarza/project-template/diagnostico"><img src="https://agentmods.dev/badge/skills/polmarza/project-template/diagnostico.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 988 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.00087 $0.00988
Opus 5.5 $0.00035 $0.00395
Sonnet 5.5 $0.00017 $0.00198
Haiku 4.5 $0.00009 $0.00099

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

Security

Grade A, and why

diagnostico 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 14d 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/diagnostico/SKILL.md · 82 lines

How it starts

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

Revisa el estado del proyecto y del entorno, y da un parte de qué está bien, qué falta y cómo arreglarlo. Solo diagnostica: no arregla nada por su cuenta. Al terminar, propón las correcciones y deja que el usuario decida cuáles aplicar.

Ejecútalo cuando alguien entra al proyecto por primera vez, cuando algo falla sin motivo aparente o antes de una sesión larga, para no descubrir a mitad que faltaba media configuración.

No es el /doctor de Claude Code. Ese revisa la instalación de Claude Code, el coste en contexto de skills y MCPs, y la calidad de las instrucciones (/doctor prompt-audit); este revisa el proyecto. Se complementan: si el problema parece del agente y no del repo, sugiere /doctor.

Qué comprobar

1. Documentación

  • ¿Existen todos los archivos de docs/ que son obligatorios para este proyecto? (Depende del tamaño: mira la tabla de la skill /documentacion.)
  • ¿Alguno está vacío — solo comentarios <!-- -->, sin contenido real?
  • ¿Sigue existiendo .template/? Entonces la inicialización quedó a medias.

2. Fichas de feature

Ejecuta la verificación de cobertura y reporta su salida tal cual:

node scripts/verificar-cobertura.mjs

Comprueba las tablas contra docs/prd.md: filas sin validación declarada, excepciones que no explican nada, identificadores inexistentes y tests prometidos que no existen en fichas Verificada. Sus FALLO son FALLO aquí; sus ATENCIÓN son ATENCIÓN.

Añade a mano lo que el script no mira, porque requiere criterio:

  • Fichas en En construcción: son trabajo a medias. Di cuáles y desde cuándo.
  • Tests declarados que existen pero están vacíos o sin aserciones reales. El script solo comprueba que el archivo esté ahí; si te cruzas con uno hueco, es un FALLO aunque la verificación pase.

3. Entorno

  • Versión de Node y de pnpm frente a lo que declare AGENTS.md. Si no coinciden, dilo: la mayoría de fallos raros de instalación son esto.
  • ¿Están las dependencias instaladas (node_modules/)? ¿El lockfile está al día respecto a package.json?
  • Variables: compara los nombres de .env.example con los que hay definidos en el entorno o en .env.local. Reporta solo los nombres que faltan. Nunca imprimas un valor, ni completo ni parcial, ni siquiera para confirmar que es correcto.

Read the full file on GitHub · 82 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. 14d ago Changed 517daf68944d
  2. 29d ago First seen · 82 lines · 87 tokens per session scan A 81cb2e0ad983

Subscribe to this mod's changes

diagnostico is a skill published in the GitHub repository polmarza/project-template (89 stars, last pushed 15d ago), licensed MIT. It adds 87 tokens to every session and 988 once invoked, about $0.0003 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-10-08.

Related

diagnostico compared with skills from other repositories

diagnostico next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagnosticopolmarza/project-templateSkill8915d agoMITA87Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex