Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计异常

adr-managementADR 管理

Agent Skill

adr-management 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

349

周安装

15

GitHub Stars

61

下载量

122
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:adr-management(ADR 管理)
来源仓库:https://github.com/melodic-software/claude-code-plugins
仓库路径:skills/adr-management
安装命令:
npx skills add https://github.com/melodic-software/claude-code-plugins --skill adr-management
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill adr-management

简介

adr-management 用于创建和管理架构决策记录(ADR),提供标准化模板和搜索功能。

  • 适用于记录技术选择、设计决策及其替代方案,便于团队查阅与项目交接。
  • 通过命令行工具创建 ADR,文件存放于 /architecture/adr/,使用三位数字编号。
  • 使用前请确认项目路径、写入权限及是否依赖外部研究工具(如 perplexity)。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

ADR Management

Note: This is the canonical ADR skill for the plugin ecosystem. For detailed ADR templates (Nygard, MADR, Enterprise), use MCP tools (perplexity, context7) to research current best practices.

When to Use This Skill

Use this skill when you need to:

  • Document a technology choice or design decision
  • Record why a particular approach was selected over alternatives
  • Track the history of architectural decisions
  • Create a searchable record of decisions for team onboarding

Keywords: adr, architecture decision record, decision log, why we chose, alternatives considered, design decision, technology choice

ADR Workflow

Creating a New ADR

  1. Determine the next ADR number

- Check existing ADRs in /architecture/adr/ - Use sequential numbering: 0001, 0002, 0003, etc.

  1. Create the ADR file

- Location: /architecture/adr/NNNN-title-in-kebab-case.md - Use the template from references/adr-template.md

  1. Fill in required sections

- Status: Start with "Proposed" - Date: Current date in YYYY-MM-DD format - Context: Describe the problem and constraints - Decision: State the decision clearly - Consequences: List positive, negative, and neutral outcomes

  1. Document alternatives

- List each alternative considered - Include pros, cons, and why it was rejected

  1. Optional: Generate context diagram

- If visualization plugin is available, generate a diagram showing the decision's context - Spawn the visualization:diagram-generator agent for C4 or component diagrams - Or use the visualization:diagram-patterns skill for diagram type guidance

ADR Status Lifecycle

StatusMeaning
ProposedDecision is under discussion
AcceptedDecision has been approved and implemented
DeprecatedDecision is no longer relevant but kept for history
SupersededDecision has been replaced by a newer ADR

When superseding an ADR:

  1. Update the old ADR's status to "Superseded by ADR-XXXX"
  2. Reference the old ADR in the new ADR's "Related Decisions" section

Searching Existing ADRs

Before creating a new ADR, search for existing relevant decisions:

# Search ADR titles
ls /architecture/adr/

# Search ADR content for keywords
grep -r "keyword" /architecture/adr/

Integration with Architecture Principles

Link ADRs to architecture principles when the decision:

  • Implements a principle
  • Makes a trade-off against a principle
  • Establishes a new principle

Reference format: "This decision implements Principle P1: [Principle Name]"

Template Reference

The ADR template is available at references/adr-template.md. Key sections:

  • Status: Current state of the decision
  • Date: When the decision was made
  • Deciders: Who was involved
  • Context: Problem and constraints
  • Decision: What was decided
  • Consequences: Outcomes (positive, negative, neutral)
  • Alternatives Considered: What else was evaluated
  • Related Decisions: Links to related ADRs
  • References: Supporting documentation

Best Practices

  1. One decision per ADR - Keep ADRs focused
  2. Immutable history - Never delete ADRs, only supersede
  3. Link decisions - Reference related ADRs
  4. Include context - Future readers need to understand the constraints
  5. Be honest about trade-offs - Document negative consequences too

Related: Specification-Driven ADRs

If you're extracting decisions FROM specifications, consider using the spec-driven-development plugin's /spec:adr:create which links ADRs directly to specification IDs (SPEC-xxx). Those ADRs are stored in docs/adr/ (linked to specification IDs).

Both approaches use MADR format and can coexist in the same project.

Repository Structure

Ensure your project has the standard architecture directory:

/architecture/
  /adr/
    0001-record-template.md
    0002-first-decision.md
    ...

If the directory doesn't exist, create it before adding ADRs.

User-Facing Interface

When invoked directly by the user, this skill creates a new ADR.

Execution Workflow

  1. Determine next ADR number by scanning existing ADRs in /architecture/adr/ (sequential: 0001, 0002, etc.)
  2. Create the ADR file using the standard template with sequential numbering, initial status "Proposed", current date (UTC), and title from arguments
  3. Report the created file path so the user can complete the Context, Decision, and Consequences sections

Example Usage

/ea:adr-management Use PostgreSQL for persistence
/ea:adr-management Adopt microservices architecture

Version History

  • v1.0.0 (2025-12-05): Initial release

- ADR creation and management workflow - Status lifecycle documentation - Integration with architecture principles - Template reference and best practices


Last Updated

Date: 2025-12-05 Model: claude-opus-4-5-20251101

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

30.11%
按下载量换算37

trae

24.1%
按下载量换算29

Antigravity

17.9%
按下载量换算22

windsurf

13.7%
按下载量换算17

Claude Code

7.29%
按下载量换算9

roo

3.23%
按下载量换算4

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/melodic-software/claude-code-plugins --skill adr-management;npx skills add melodic-software/claude-code-plugins --skill "adr-management" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills