本文へスキップ
Skillpedia
ドキュメント作成81k · #1551

adr-create

できること

このスキルは、重要な技術の決定を説明する短い文書である、新しいアーキテクチャの決定記録を作るようエージェントを導きます。設計の選択を文書に残したい開発者とチームのためのものです。

使う場面

  • ✓チームが新しい技術や設計の方法を選んだとき。
  • ✓決定がシステムの複数の部分に影響し、記録が必要なとき。
  • ✓決定を、その背景と結果とともに保存したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-create/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“PostgreSQLを永続化に使うという私たちの選択について、新しいアーキテクチャの決定記録を作成してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは次のADR番号を見つけ、標準のテンプレートからファイルを作り、決定のメモリに要約を保存します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.

よくある質問

記録には何が含まれますか?

テンプレートには、背景の段落、決定、肯定的、否定的、中立的な結果、リンクが含まれます。

新しい記録の状態は何になりますか?

新しい記録は、チームが承認する前に確認できるように、提案中の状態に設定されます。

ファイルはどこに置かれますか?

スキルは、番号付きのファイル名でdocs/adrフォルダに作成します。

詳細

作者による元の説明

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

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1551
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル