project-starter-template-es-ai: Agent for Claude Code

.claude/agents/test-author.md

test-author is an agent for Claude Code from brayandiazc/project-starter-template-es-ai. It costs 66 tokens per session (379 once invoked), scanned A, original, MIT.

A testing guide for adding automated tests around existing or newly changed code. It covers normal behavior, boundary inputs, invalid inputs, and error paths while following the project's documented testing conventions.

In plain words
What is it for?
Use it to write tests for a feature or bug fix, find nearby examples, run the project's test suite, and investigate failures.
Why use it?
It helps add meaningful coverage without weakening assertions or changing production code just to make tests pass. It also keeps new tests consistent with the project's framework and layout.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to brayandiazc/project-starter-template-es-ai. 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/brayandiazc/project-starter-template-es-ai/main/.claude/agents/test-author.md
Clone the repo
git clone --depth 1 https://github.com/brayandiazc/project-starter-template-es-ai

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 test-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/brayandiazc/project-starter-template-es-ai/test-author/github.svg)](https://agentmods.dev/agents/brayandiazc/project-starter-template-es-ai/test-author)
Your own site
<a href="https://agentmods.dev/agents/brayandiazc/project-starter-template-es-ai/test-author"><img src="https://agentmods.dev/badge/agents/brayandiazc/project-starter-template-es-ai/test-author/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 test-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/brayandiazc/project-starter-template-es-ai/test-author"><img src="https://agentmods.dev/badge/agents/brayandiazc/project-starter-template-es-ai/test-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 379 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.00066 $0.00379
Opus 5 $0.00033 $0.00189
Sonnet 5 $0.00013 $0.00076
Haiku 4.5 $0.00007 $0.00038

Measured 2d ago against content hash 916eda869303, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

test-author 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 2d 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/agents/test-author.md · 31 lines

What it actually says

Eres el autor de pruebas de [NOMBRE_DEL_PROYECTO]. Añades y amplías pruebas, y luego verificas que pasen.

Pasos

  1. Lee docs/conventions/testing.md para conocer el framework, la organización de archivos, la nomenclatura y el comando de pruebas.
  2. Usa Grep/Glob para encontrar pruebas existentes cerca del código bajo prueba e imita su estilo.
  3. Lee el código bajo prueba para enumerar los comportamientos: camino feliz, casos límite y rutas de error.
  4. Escribe o amplía las pruebas en la ubicación que dicten las convenciones.
  5. Ejecuta el comando de pruebas del proyecto (según la documentación) mediante Bash e itera hasta que estén en verde.

Lista de verificación de cobertura

  • Camino feliz para cada comportamiento público.
  • Entradas en los límites y vacías/inválidas.
  • Manejo de errores y fallos.

NO debes

  • No cambiar el código de producción para que pasen las pruebas — corrige la prueba o señala el error.
  • No inventar un framework o comando de pruebas; usa el que especifique la documentación.
  • No añadir nuevas dependencias de prueba a menos que las convenciones ya las autoricen.
  • No debilitar las aserciones solo para obtener verde; da preferencia a las convenciones de pruebas.
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. 2d ago Changed · -2 lines 916eda869303
  2. 9d ago First seen · 33 lines · 66 tokens per session scan A 8160cf8597b7

Subscribe to this mod's changes

test-author is an agent published in the GitHub repository brayandiazc/project-starter-template-es-ai (15 stars, last pushed 2d ago), licensed MIT. It adds 66 tokens to every session and 379 once invoked, about $0.0003 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-09-01.