Logo di Adr Skill

Adr Skill

Organizzazione
skillrecordings
adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.

Panoramica

Autoreskillrecordings
Repositoryadr-skill
Nome della skilladr-skill
Stelle
89
Fork
4
File inclusi
10
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 10 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da skillrecordings su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Adr Skill in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/skillrecordings/adr-skill/tree/main/.agents/skills/adr-skill
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skillrecordings/adr-skill.git /tmp/adr-skill
mkdir -p .claude/skills
cp -r /tmp/adr-skill/.agents/skills/adr-skill .claude/skills/adr-skill
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Adr Skill in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Adr Skill non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Adr Skill non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

ADR Skill

Philosophy

ADRs created with this skill are agent-first: they are written so that a coding agent can read one and implement the decision without further clarification. Humans review and approve, but the primary consumer is an agent working from the ADR.

This means:

  • Constraints must be explicit and measurable, not vibes
  • Decisions must be specific enough to act on ("use PostgreSQL 16 with pgvector" not "use a database")
  • Consequences must map to concrete follow-up tasks
  • Non-goals must be stated to prevent scope creep
  • The ADR must be self-contained — no tribal knowledge assumptions

Three-Phase Workflow

Every ADR goes through three phases. Do not skip Phase 1.

Phase 1: Capture Intent (Socratic)

Before writing anything, interview the human to understand the decision space. Ask questions one at a time, building on previous answers. Do not dump a list of questions.

Core questions (ask in roughly this order, skip what's already clear from context):

  1. What are you deciding? — Get a short, specific title. Push for a verb phrase ("Choose X", "Adopt Y", "Replace Z with W").
  2. Why now? — What broke, what's changing, or what will break if you do nothing? This is the trigger.
  3. What constraints exist? — Tech stack, timeline, budget, team size, existing code, compliance. Be concrete.
  4. What does success look like? — Measurable outcomes. Push past "it works" to specifics (latency, throughput, DX, maintenance burden).
  5. What options have you considered? — At least two. For each: what's the core tradeoff? If they only have one option, help them articulate why alternatives were rejected.
  6. What's your current lean? — Capture gut intuition early. Often reveals unstated priorities.
  7. Who needs to know or approve? — Decision-makers, consulted experts, informed stakeholders.
  8. What would you tell a new engineer (or agent) implementing this? — This surfaces the practical context that often gets left out.

Adaptive follow-ups: Based on answers, probe deeper where the decision is fuzzy. Common follow-ups:

  • "What's the worst-case outcome if this decision is wrong?"
  • "What would make you revisit this in 6 months?"
  • "Is there anything you're explicitly choosing NOT to do?"
  • "What prior art or existing patterns in the codebase does this relate to?"

When to stop: You have enough when you can mentally draft every section of the ADR without making things up. If you're guessing at any section, ask another question.

Phase 2: Draft the ADR

  1. Choose the ADR directory.

    • If one exists (adr/, docs/adr/, docs/decisions/, etc.), use it.
    • If none exists, create docs/decisions/ (MADR default) or adr/ (simpler repos).
  2. Choose a filename strategy.

    • If existing ADRs use numeric prefixes (0001-...), continue that.
    • Otherwise use slug-only filenames (choose-database.md).
  3. Choose a template.

    • Use assets/templates/adr-simple.md for straightforward decisions (one clear winner, minimal tradeoffs).
    • Use assets/templates/adr-madr.md when you need to document multiple options with structured pros/cons/drivers.
    • See references/template-variants.md for guidance.
  4. Fill every section from Phase 1 answers. Do not leave placeholder text. Every section should contain real content or be removed (optional sections only).

  5. Generate the file.

    • Preferred: run scripts/new_adr.js (handles directory, naming, and optional index updates).
    • If you can't run scripts, copy a template from assets/templates/ and fill it manually.

Phase 3: Review Against Checklist

After drafting, review the ADR against the agent-readiness checklist in references/review-checklist.md. Present findings to the human and iterate.

Key questions the review answers:

  • Could an agent implement this decision from the ADR alone?
  • Are there ambiguities that would cause an agent to guess or ask for clarification?
  • Are consequences actionable (specific tasks, not vague aspirations)?
  • Is the scope bounded (what's in AND what's out)?

Do not finalize until the ADR passes the checklist or the human explicitly accepts the gaps.

Other Operations

Update an Existing ADR

  1. Identify the intent:

    • Accept / reject: change status, add any final context.
    • Deprecate: status → deprecated, explain replacement path.
    • Supersede: create a new ADR, link both ways (old → new, new → old).
    • Add learnings: append to ## More Information with a date stamp. Do not rewrite history.
  2. Use scripts/set_adr_status.js for status changes (supports both YAML front matter and inline status).

Index

If the repo has an ADR index/log file (often README.md or index.md in the ADR dir), keep it updated.

Preferred: let scripts/new_adr.js --update-index do it. Otherwise:

  • Add a bullet entry for the new ADR.
  • Keep ordering consistent (numeric if numbered; date or alpha if slugs).

Bootstrap

When introducing ADRs to a repo that has none:

bash
node /path/to/adr-skill/scripts/bootstrap_adr.js

This creates the directory, an index file, and the first ADR ("Adopt architecture decision records"). Use --json for machine-readable output. Use --dir to override the directory name.

Categories (Large Projects)

For repos with many ADRs, organize by subdirectory:

docs/decisions/
  backend/
    0001-use-postgres.md
  frontend/
    0001-use-react.md
  infrastructure/
    0001-use-terraform.md

Numbers are local to each category. Choose a categorization scheme early (by layer, by domain, by team) and document it in the index.

Resources

scripts/

  • scripts/new_adr.js — create a new ADR file from a template, using repo conventions.
  • scripts/set_adr_status.js — update an ADR status in-place (YAML front matter or inline). Use --json for machine output.
  • scripts/bootstrap_adr.js — create ADR dir, README.md, and initial "Adopt ADRs" decision.

references/

  • references/review-checklist.md — agent-readiness checklist for Phase 3 review.
  • references/adr-conventions.md — directory, filename, status, and lifecycle conventions.
  • references/template-variants.md — when to use simple vs MADR-style templates.
  • references/examples.md — filled-out short and long ADR examples.

assets/

  • assets/templates/adr-simple.md — lean template for straightforward decisions.
  • assets/templates/adr-madr.md — MADR 4.0 template for decisions with multiple options and structured tradeoffs.
  • assets/templates/adr-readme.md — default ADR index scaffold used by scripts/bootstrap_adr.js.

Script Usage

From the target repo root:

bash
# Simple ADR
node /path/to/adr-skill/scripts/new_adr.js --title "Choose database" --status proposed

# MADR-style with options
node /path/to/adr-skill/scripts/new_adr.js --title "Choose database" --template madr --status proposed

# With index update
node /path/to/adr-skill/scripts/new_adr.js --title "Choose database" --status proposed --update-index

# Bootstrap a new repo
node /path/to/adr-skill/scripts/bootstrap_adr.js --dir docs/decisions

Notes:

  • Scripts auto-detect ADR directory and filename strategy.
  • Use --dir and --strategy to override.
  • Use --json to emit machine-readable output.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Adr Skill?

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.

Perché usare Adr Skill su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Adr Skill è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Adr Skill in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/skillrecordings/adr-skill/tree/main/.agents/skills/adr-skill. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Adr Skill?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Adr Skill?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Adr Skill: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Adr Skill è gratuita?

È pubblicata su GitHub da skillrecordings. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇