csr-gate
Skill0 starsChanged 5 days agoMITView on GitHub
Ejecuta la puerta de validez completa (autorrevision adversarial, seguridad, tests, format, lint, typecheck, build, cobertura, escaneo y dependencias) y reporta PASS/FAIL/SKIPPED/N/A antes de dar una tarea por terminada.
In this repository8 other files it gives its agents.
- core/AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- csr-auditSkill
- csr-stackSkill
- kit-initSkill
- orcaSkill
- speckit-orca-implementSkill
The file
Files
csr-gate — Puerta de validez
Procedimiento: ~/.agents/rules/50-done-gate.md. Este fichero solo fija el orden de ejecución sobre el diff actual.
- Comandos:
STACK.md§3. Si no haySTACK.md, dedúcelos del manifiesto (package.jsonscripts,Makefile,pyproject.toml, jobs del CI), dilo en una línea (ASSUMPTION: comandos deducidos de …) y ofrececsr-stackal final. No inventes comandos que no estén en el repo. - Alcance: el diff contra la rama base (
git diff <base>...HEADmás lo no commiteado). Si no hay diff, dilo y para. - Fase 4 (autorrevisión adversarial): las 7 preguntas, una línea cada una, sobre ese diff.
- Fase 5 (seguridad): si el diff toca entrada de usuario, auth, autorización, cripto, ficheros, red, SQL, procesos, deserialización o dependencias ⇒
31-security-audit.md; si llama a un LLM o define agentes, herramientas o MCP ⇒32-ai-security.md. Si no,sec: N/A (motivo). - Fase 6 (tests): comprueba que existen para el código nuevo y que no se ha relajado ninguno.
- Fase 7 (gates), en este orden:
format → lint → typecheck → build → test → coverage → sec-scan → deps-audit. En el primer fallo, arregla la causa raíz si está dentro del alcance y reejecuta desde ese gate; si no,FAILy los siguientesSKIPPED (bloqueado por <gate>).- Herramienta ausente:
SKIPPED (no instalado: <herramienta>). No la instales sin permiso. - Gate que no aplica al stack:
N/A.
- Herramienta ausente:
- Fase 8: tabla de gates (
50-done-gate.md§8) y nada más de prosa.
Regla absoluta: un gate que no se ejecutó se reporta SKIPPED (motivo). Nunca PASS.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

