tea

tea is a command for Claude Code from doncheli/don-cheli-sdd. It costs 97 tokens per session (1,766 once invoked), scanned A, original, Apache-2.0.

An automated end-to-end testing tool generates test files, runs them, and reports results and coverage. End-to-end tests check complete user or system flows across connected parts of an application.

In plain words
What is it for?
Use it to analyze specifications and code, create unit, integration, or contract tests, execute them, and report coverage.
Why use it?
It finds untested scenarios, missing error paths, and integration problems while reducing the manual work of building and running a test suite.

Command for Claude Code

Part of the don-cheli-sdd plugin — 28 skills, 115 commands, 1 agent shipped together

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 commands/doncheli/don-cheli-sdd/tea
Clone the repo
git clone --depth 1 https://github.com/doncheli/don-cheli-sdd

Made for: Claude Code.

Or install don-cheli-sdd, the plugin that ships this one along with the rest of its 28 skills, 115 commands, 1 agent.

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 tea

README.md
[![agentmods](https://agentmods.dev/badge/commands/doncheli/don-cheli-sdd/tea.svg)](https://agentmods.dev/commands/doncheli/don-cheli-sdd/tea)
Your own site
<a href="https://agentmods.dev/commands/doncheli/don-cheli-sdd/tea"><img src="https://agentmods.dev/badge/commands/doncheli/don-cheli-sdd/tea.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,766 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.00097 $0.01766
Opus 5 $0.00048 $0.00883
Sonnet 5 $0.00019 $0.00353
Haiku 4.5 $0.00010 $0.00177

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

Security

Grade A, and why

tea 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.

scripts/.claude/commands/dc/tea.md · 191 lines

How it starts

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

/dc:tea

Objetivo

Módulo de Testing Autónomo End-to-End (TEA): genera archivos de test, los ejecuta y produce un reporte de resultados y cobertura. Integra con el pipeline TDD del framework, se ejecuta tras /dc:implementar y auto-detecta el framework de testing del proyecto.

Uso

/dc:tea                                   # Ejecutar ciclo completo
/dc:tea @specs/features/pagos/            # Solo dominio específico
/dc:tea --fase analizar                   # Solo fase 1
/dc:tea --fase generar                    # Solo fase 2
/dc:tea --fase ejecutar                   # Solo fase 3
/dc:tea --tipo unit                       # Solo tests unitarios
/dc:tea --tipo integration                # Solo tests de integración
/dc:tea --tipo contract                   # Solo tests de contrato
/dc:tea --seco                            # Mostrar plan sin ejecutar

Comportamiento — 4 Fases

Fase 1: Analizar

LEER spec Gherkin (.feature) del dominio objetivo
LEER código de implementación existente
IDENTIFICAR:
  ├── Funciones y métodos públicos sin tests
  ├── Escenarios Gherkin sin cobertura
  ├── Rutas de error no testeadas
  └── Contratos de integración (si hay openapi.yaml o contrato-api.md)
DETECTAR framework de testing:
  ├── package.json → Jest / Vitest / Mocha
  ├── pyproject.toml / setup.cfg → Pytest / Unittest
  ├── go.mod → Go test
  ├── Gemfile → RSpec
  └── pom.xml / build.gradle → JUnit
REPORTAR plan de generación antes de ejecutar

Fase 2: Generar

CREAR archivos de test según framework detectado
TIPOS soportados:
  ├── unit: un test por función pública, cubre happy path + errores
  ├── integration: flujos end-to-end desde HTTP hasta DB
  └── contract: verificar que API cumple spec OpenAPI
CONVENCIONES de nombrado:
  ├── Jest/Vitest:   *.test.ts, *.spec.ts
  ├── Pytest:        test_*.py
  ├── Go:            *_test.go
  └── RSpec:         *_spec.rb
PLANTILLA mínima por test:
  ├── Arrange: estado inicial (fixtures, mocks, factories)
  ├── Act: llamada al código bajo prueba
  └── Assert: verificación del resultado esperado

Read the full file on GitHub · 191 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. 2d ago First seen · 191 lines · 0 tokens per session scan A eec1712e1c24

Subscribe to this mod's changes

tea is a command published in the GitHub repository doncheli/don-cheli-sdd (57 stars, last pushed 26d ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,766 once invoked, about $0.0005 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-03.