Skip to content
Skillpedia
Documentation81k · #1551

adr-create

What it does

This skill guides an agent to create a new architecture decision record, a short document that explains a significant technical decision. It is for developers and teams who want their design choices written down.

When to use it

  • ✓When your team chooses a new technology or design approach.
  • ✓When a decision affects several parts of the system and needs recording.
  • ✓When you want an architecture decision saved with its context and consequences.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-create/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-create/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a new architecture decision record for our choice to use PostgreSQL for persistence.”

5 new skills a week. 1 minute to read.

How it works

The agent finds the next ADR number, creates the file from a standard template, and saves a summary to the decision memory.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

FAQ

What goes in the record?

The template includes a context section, the decision, its positive, negative and neutral consequences, and links.

What status does a new record get?

The skill sets new records to proposed, so the team can review them before accepting them.

Where does the file go?

The skill creates it in the docs/adr folder, using a numbered file name.

Details

Original description by the author

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1551
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills