About adr-create
A skill for creating numbered Architecture Decision Records and registering them in AgentDB. It also searches for related decisions and links them in both the ADR and the graph.
Key features
- 01Assign the next ADR number
- 02Create an ADR from a template
- 03Register decisions in AgentDB
- 04Search for related ADRs
- 05Link related decisions
Use cases
- 01Record a cross-cutting architecture choice
- 02Document technology or API decisions
- 03Connect a new decision to prior ADRs
MCP support
Uses MCP tools to store ADR data in AgentDB, search related decisions, add causal edges, and save patterns for later search.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ ruvnet/ ruflo --skill adr-createAfter installing, type/adr-createin Claude Code to confirm it loaded.
Details
From the project READMECreate 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
-
Find next number --
Globfordocs/adr/ADR-*.mdand parse existing numbers to determine the next sequential ID (ADR-001, ADR-002, etc.). Createdocs/adr/if it does not exist. -
Slugify title -- Convert the title argument to a lowercase, hyphen-separated slug (e.g., "Use PostgreSQL for persistence" becomes
use-postgresql-for-persistence). -
Create ADR file --
Writethe file atdocs/adr/ADR-NNN-<slug>.mdusing 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 -
Store in AgentDB -- Call
mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-storewith:- 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" }
- key:
-
Find related ADRs -- Call
mcp__plugin_ruflo-core_ruflo__memory_searchwith the title as query in namespaceadr-patternsto find related decisions. If matches are found, add them to the Links section and callmcp__plugin_ruflo-core_ruflo__agentdb_causal-edgefor each relationship with:- sourceId:
mem:ADR-NNN - targetId:
mem:ADR-RELATED - relation:
depends-on
- sourceId:
-
Store pattern -- Call
mcp__plugin_ruflo-core_ruflo__memory_storein namespaceadr-patternswith keyADR-NNNand the title + context as value for future semantic search. -
Report -- Output the created file path, ADR number, and any related ADRs found.