agentleFS
marcopavezmarcopavez/claude-impact-lab/.claude/skills/decision-record/SKILL.md

decision-record

Skill0 starsChanged 7 months agoMITView on GitHub

Use when Marco confirms a new architectural, security, or scope decision that should join the locked decisions list (N1-N18+) in docs/SEGURIDAD.md §31. Adds the next sequential number with a structured record (decisión / por qué / alternativas descartadas / blast radius / referencias) and updates memory + relevant CLAUDE.md sections. Triggers - "anota esta decisión", "esto queda cerrado", "guarda esto como decisión N+1", "lock this".

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No inventes un Nk libre. Numerá secuencial estricto.

    line 61
  2. Distinctive:

    No mezcles 2 decisiones en un record — divide y registrá ambas.

    line 62
  3. Distinctive:

    No omitas blast radius. Es lo que distingue una decisión real de un comentario.

    line 63
  4. Distinctive:

    No actualices CLAUDE.md raíz para cambios de scope que solo tocan un subagent o skill — ahí va a CLAUDE.md de la subcarpeta.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill — decision-record

Cuándo invocar

Marco acaba de confirmar una decisión que merece ser irreversible-sin-reabrir. Frases gatillo:

  • "ok, queda cerrado así"
  • "guarda esto como decisión"
  • "esto es N{n+1}"
  • "anota esto"
  • "lock this in"

Procedimiento

  1. Leé docs/SEGURIDAD.md y localizá §31 Decisiones cerradas. Identificá el número más alto existente (Nk).
  2. El nuevo número es N{k+1}.
  3. Construí el record con esta plantilla literal:
### N{k+1} — {Título corto, ej: "Embeddings Voyage-3 sobre OpenAI"}

**Decisión:** {1-2 oraciones, el qué}.

**Por qué:** {3-5 bullets con razones técnicas, regulatorias, o de evento. Cada bullet ≤25 palabras.}
- ...
- ...

**Alternativas descartadas:**
- {Alternativa A} — {por qué no}.
- {Alternativa B} — {por qué no}.

**Blast radius:** {qué partes del sistema dependen de esto y qué se rompe si cambia. Ej: "Cambia paquete `@/embed`, requires regen RAG corpus, ~30 min impact."}

**Referencias:**
- `docs/PROYECTO.md` — {sección}
- `prompts/{archivo}.md` — {línea aprox}
- {URL externa si aplica}

**Fecha:** {YYYY-MM-DD}
**Reabrir requiere:** acuerdo explícito + actualización de SEGURIDAD.md + memoria + revisión de pares.
  1. Insertá el record al final de §31 (preserving order).
  2. Actualizá CLAUDE.md si el cambio afecta la sección "Stack", "Reglas críticas" o "Anti-patrones". Edit quirúrgico, no rewrite.
  3. Actualizá memoria: agregá al final de ~/.claude/projects/.../memory/project_decisions_locked.md un bullet - N{k+1}: {título corto} y subí el contador en el title si está versionado.
  4. Devolvé a Marco un resumen ≤4 líneas: número asignado, título, archivos tocados, próximo paso si lo hay.

Validaciones antes de escribir

  • ✋ Si el "por qué" tiene <2 razones técnicas → pedí a Marco que confirme (puede ser una decisión que aún no está madura).
  • ✋ Si la decisión contradice un Nk previo → flag explícito: "esto contradice Nk: {texto}, ¿reemplaza o coexiste?".
  • ✋ Si la decisión no se puede testear ni observar (ej: "vamos a ser cuidadosos con X") → no es decisión, es valor; sugerí hooks/skills/tests que la operacionalicen primero.

Anti-patrones

  • No inventes un Nk libre. Numerá secuencial estricto.
  • No mezcles 2 decisiones en un record — divide y registrá ambas.
  • No omitas blast radius. Es lo que distingue una decisión real de un comentario.
  • No actualices CLAUDE.md raíz para cambios de scope que solo tocan un subagent o skill — ahí va a CLAUDE.md de la subcarpeta.

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.