agentleFS
686f6c61686f6c61/alfred-dev/skills/write-adr/SKILL.md

write-adr

Skill116 starsChanged 4 months agoMITView on GitHub

Usar para escribir o cerrar un Architecture Decision Record. También: ADR, docs/adr, decisión de stack, persistencia, autenticación o límites de arquitectura.

7 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

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No abras un ADR por un rename o un ajuste local de quick.

    line 51
  2. Very specific:

    No dejes _(pendiente)_ en un ADR que declaras cerrado.

    line 52
  3. Distinctive:

    No copies un ADR genérico que no menciona el repo.

    line 53

“Common” is measured: kept by at least 6 in 10 of the 7 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

Escribir un ADR

Resumen

Documenta una decisión arquitectónica significativa en docs/adr/. Un ADR no es un diario: solo se escribe si hay una elección real (stack, persistencia, auth, límites, integración).

Proceso

  1. Crea el esqueleto con el helper. No inventes el número a mano:

    python3 .claude/alfred-continuity.py next-adr "$PWD" --title "Título corto"
  2. Lee templates/adr.md si existe y el fichero recién creado.
  3. Rellena, con hechos del repo:

    • contexto y restricciones
    • al menos dos opciones reales, con pros y contras
    • decisión y por qué
    • consecuencias y deuda asumida
  4. Estado inicial: propuesto hasta que el usuario o la gate de arquitectura lo acepten. Entonces aceptado. Si más tarde cambia, crea un ADR nuevo que apunte al anterior; no reescribas el viejo.
  5. Sustituye <!-- alfred-doc:scaffold --> por <!-- alfred-doc:filled -->.
  6. Ejecuta sync-project-docs para refrescar el índice.
  7. Si la decisión es de diseño, regístrala también con memory_log_decision. La memoria no sustituye al ADR.

Criterios de éxito

  • El fichero está en docs/adr/ADR-NNN-....md.
  • Hay al menos dos opciones evaluadas.
  • La decisión y sus consecuencias se pueden leer sin el chat.
  • El marcador es filled.

Qué NO hacer

  • No abras un ADR por un rename o un ajuste local de quick.
  • No dejes _(pendiente)_ en un ADR que declaras cerrado.
  • No copies un ADR genérico que no menciona el repo.

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.