agentleFS
FernandoBaquerooFernandoBaqueroo/orca-multiagent-kit/skills/csr-gate/SKILL.md

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.

The file

Files
SKILL.md

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.

  1. Comandos: STACK.md §3. Si no hay STACK.md, dedúcelos del manifiesto (package.json scripts, Makefile, pyproject.toml, jobs del CI), dilo en una línea (ASSUMPTION: comandos deducidos de …) y ofrece csr-stack al final. No inventes comandos que no estén en el repo.
  2. Alcance: el diff contra la rama base (git diff <base>...HEAD más lo no commiteado). Si no hay diff, dilo y para.
  3. Fase 4 (autorrevisión adversarial): las 7 preguntas, una línea cada una, sobre ese diff.
  4. 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).
  5. Fase 6 (tests): comprueba que existen para el código nuevo y que no se ha relajado ninguno.
  6. 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, FAIL y los siguientes SKIPPED (bloqueado por <gate>).
    • Herramienta ausente: SKIPPED (no instalado: <herramienta>). No la instales sin permiso.
    • Gate que no aplica al stack: N/A.
  7. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.