Create Architecture Decision Record

VerifiedSafe

Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.

Sby Skills Guide Bot
DocumentationIntermediate
8/29/2026
Claude Code
#adr#architecture-decisions#documentation#agentdb#knowledge-management

Recommended for

Automated summary

Creates a new sequentially numbered Architecture Decision Record under docs/adr/, registers it in the AgentDB graph, and links it to related existing ADRs.

Strengths

  • Derives the next sequential number automatically by globbing existing ADR-*.md files
  • Scaffolds a standard ADR template with status, context, decision, positive/negative/neutral consequences and links
  • Persists the decision in AgentDB at the semantic tier and adds depends-on causal edges to related ADRs found via memory search
  • Stores the pattern in the adr-patterns namespace so future semantic lookups can surface it

Limitations

  • Relies on ruflo-core MCP tools (AgentDB hierarchical-store, memory_search, causal-edge); without them only the file creation step works
  • Deciders, Tags and section bodies are left blank, so the substantive writing remains manual
  • Assumes the docs/adr/ADR-NNN-slug.md convention and does not handle renumbering or duplicate detection
When to use it

Use it when a significant architectural decision — technology adoption, API design, data model or infrastructure — needs to be recorded and traced alongside prior decisions.

When not to use it

Avoid it for meeting notes or small local changes with no cross-cutting impact, or in projects that do not run AgentDB.

Security analysis

Safe
Quality score88/100

The skill writes markdown ADR files under docs/adr and stores metadata in memory/AgentDB via declared MCP tools. It does not execute shell commands, perform destructive operations, access network resources, or handle secrets. The Bash tool is declared but not invoked in the instructions, so there is no meaningful execution risk.

No concerns found

How this analysis is made

Examples

Technology adoption
adr-create Use PostgreSQL for persistence
API design decision
Create an ADR for moving our public endpoints to a versioned REST API
Infrastructure change
Document the decision to adopt Kafka for inter-service events as a new ADR

name: adr-create description: Create a new Architecture Decision Record with sequential numbering and AgentDB registration argument-hint: "<title>" allowed-tools: mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-query mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search Bash Read Write Edit Grep Glob

Create ADR

Create a new Architecture Decision Record with the next sequential number, register it in the AgentDB graph, and link it to related ADRs.

When to use

When a significant architectural decision needs to be recorded -- new technology adoption, API design choices, data model changes, infrastructure decisions, or any cross-cutting concern that affects multiple components.

Steps

  1. Find next number -- Glob for docs/adr/ADR-*.md and parse existing numbers to determine the next sequential ID (ADR-001, ADR-002, etc.). Create docs/adr/ if it does not exist.

  2. Slugify title -- Convert the title argument to a lowercase, hyphen-separated slug (e.g., "Use PostgreSQL for persistence" becomes use-postgresql-for-persistence).

  3. Create ADR file -- Write the file at docs/adr/ADR-NNN-<slug>.md using the standard template:

    # ADR-NNN: <Title>
    
    - **Status**: proposed
    - **Date**: <today's date YYYY-MM-DD>
    - **Deciders**: <leave blank for author to fill>
    - **Tags**: <leave blank>
    
    ## Context
    
    <!-- What is the issue that motivates this decision? -->
    
    ## Decision
    
    <!-- What is the change that we are proposing? -->
    
    ## Consequences
    
    ### Positive
    -
    
    ### Negative
    -
    
    ### Neutral
    -
    
    ## Links
    
  4. Store in AgentDB -- Call mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store with:

    • key: mem:ADR-NNN
    • tier: semantic
    • value: a JSON-encoded string: { "id": "ADR-NNN", "title": "<title>", "status": "proposed", "date": "<today>", "file": "docs/adr/ADR-NNN-<slug>.md" }
  5. Find related ADRs -- Call mcp__plugin_ruflo-core_ruflo__memory_search with the title as query in namespace adr-patterns to find related decisions. If matches are found, add them to the Links section and call mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge for each relationship with:

    • sourceId: mem:ADR-NNN
    • targetId: mem:ADR-RELATED
    • relation: depends-on
  6. Store pattern -- Call mcp__plugin_ruflo-core_ruflo__memory_store in namespace adr-patterns with key ADR-NNN and the title + context as value for future semantic search.

  7. Report -- Output the created file path, ADR number, and any related ADRs found.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-architecture-decision-record-mte1lhtg' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-architecture-decision-record-mte1lhtg/download' --output '.skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md.part' && mv '.skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md.part' '.skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-query mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search Bash Read Write Edit Grep Glob

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md' && test -s '.skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/adr-create' && cp -R '.skill-downloads/create-architecture-decision-record-mte1lhtg' '.claude/skills/adr-create'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/create-architecture-decision-record-mte1lhtg'

openskills read 'create-architecture-decision-record-mte1lhtg'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-architecture-decision-record-mte1lhtg/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills