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.
git clone --depth 1 https://github.com/Mazalucas/El-DT-Lightweight-ArmyWrote 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.
[](https://agentmods.dev/rules/mazalucas/el-dt-lightweight-army/10-arquitectura-backend)<a href="https://agentmods.dev/rules/mazalucas/el-dt-lightweight-army/10-arquitectura-backend"><img src="https://agentmods.dev/badge/rules/mazalucas/el-dt-lightweight-army/10-arquitectura-backend/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.
<a href="https://agentmods.dev/rules/mazalucas/el-dt-lightweight-army/10-arquitectura-backend"><img src="https://agentmods.dev/badge/rules/mazalucas/el-dt-lightweight-army/10-arquitectura-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00515 |
| Opus 5.5 | $0.00000 | $0.00206 |
| Sonnet 5.5 | $0.00000 | $0.00103 |
| Haiku 4.5 | $0.00000 | $0.00052 |
Grade A, and why
10-arquitectura-backend 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 2mo 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.
What it actually says
Arquitectura Backend
Stack default del DT: ver regla 08-stack-web-default y vitals/data/engineering/web-stack.yaml.
Stack default (proyecto web nuevo)
- Backend/API: Cloud Functions for Firebase (Node.js LTS)
- Base de datos: Firestore (Realtime DB solo si el caso lo exige)
- Auth: Firebase Auth
- Secrets: Firebase Secrets (ver regla
90-seguridad-secrets) - Escalation: Cloud Run + Firestore para workers pesados; SQL solo con opt-out explícito
Si el repo ya usa otro stack, respetarlo (soft default).
Convenciones
- Capas: Separar lógica de negocio, acceso a datos y presentación (API)
- APIs: Usar convenciones REST; nombres en snake_case o camelCase según el stack
- Manejo de errores: Capturar y propagar con contexto; no tragar excepciones
- Patrones: Repository para datos; Service para lógica de negocio
Ejemplo de manejo de errores
// Evitar
try { await fetchData(); } catch (e) {}
// Preferir
try {
await fetchData();
} catch (e) {
logger.error('Failed to fetch', { error: e });
throw new DataFetchError('Unable to retrieve data', { cause: e });
}
APIs
- Documentar endpoints (OpenAPI/Swagger si aplica)
- Versionar APIs cuando sea necesario
- Validar input en el boundary
Reutilización (reuse-first)
Regla transversal: 15-engineering-reuse · skill arquitecto · DOC-REF-006.
- Extender handlers y services existentes antes de nuevos entrypoints paralelos
- Validators compartidos en boundary — no duplicar validación por handler
- Repository/Service existente: añadir métodos; evitar
*Repository2,*ServiceCopy - Decisiones estructurales (DB, breaking API): proponer ADR en
docs/05_decisions/(ver skillarquitecto/references/adr-triggers.md)
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.
- 2mo ago First seen · 57 lines · 0 tokens per session scan A 03974bc59640
10-arquitectura-backend is a cursor rule published in the GitHub repository Mazalucas/El-DT-Lightweight-Army (4 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 515 tokens. 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.
10-arquitectura-backend compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 10-arquitectura-backendMazalucas/El-DT-Lightweight-Army | Cursor rule | 4 | yesterday | MIT | A | 0 | Cursor |
| cursorrulescaioribeiroclw-pixel/pluribus | Cursor rule | 15 | 4mo ago | MIT | A | 829 | Cursor |
| nodejs-mongodb-jwt-express-react-cursorrules-prompXD3an/awesome-ai-coding-all-in-one | Cursor rule | 14 | 3d ago | none | A | 443 | Cursor |
| 3-database-operationswasp-lang/vibe-coding-video | Cursor rule | 191 | 1y ago | none | A | 1,914 | Cursor |
| databaseItamarZand88/awesome-agent-conventions | Cursor rule | 38 | 4mo ago | MIT | A | 444 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 201k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | 5d ago | MIT | A | 0 | Cursor |