Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

adr-writerADR 作家

Agent Skill

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

总安装

1,094

周安装

47

GitHub Stars

216

下载量

384
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mathews-tom/armory --skill adr-writer

简介

adr-writer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于架构决策记录(ADR)撰写相关的信息支持场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

ADR Writer

Captures architecture decisions in a lightweight, structured format that preserves context, rationale, alternatives, and consequences. Produces numbered ADR documents with proper status lifecycle — preventing the "why did we do it this way?" problem when revisiting decisions months later.

Reference Files

FileContentsLoad When
references/adr-template.mdStandard ADR template with field explanations and examplesAlways
references/status-lifecycle.mdStatus transitions, supersession rules, deprecation processADR references existing decisions
references/context-capture.mdTechniques for eliciting and documenting decision contextComplex or multi-stakeholder decision
references/alternatives-analysis.mdFramework for evaluating and documenting rejected alternativesMultiple options being considered

Prerequisites

  • A decisions directory (typically docs/adr/ or docs/decisions/)
  • Understanding of the decision being made (may require clarifying questions)

Workflow

Phase 1: Identify the Decision

  1. What choice was made? — Extract the core architectural decision. If the user describes a problem, help them articulate the decision that resolves it.
  2. Is this decision-worthy? — ADRs are for decisions that:

- Affect system structure (component boundaries, data flow, API design) - Are hard to reverse (technology choice, database schema, protocol) - Have non-obvious tradeoffs (multiple viable alternatives) - Will be questioned later (the "why" will be forgotten)

  1. What triggered this decision? — New requirement, performance issue, scaling concern, security audit finding, tech debt, team growth.

Phase 2: Capture Context

Document the forces that shaped this decision:

  1. Requirements — What functional or non-functional requirements drive this?
  2. Constraints — What limits the solution space? (budget, timeline, team expertise, existing infrastructure, regulatory requirements)
  3. Current state — What exists today? What is the pain point?
  4. Stakeholders — Who is affected by this decision? Who needs to agree?

Phase 3: Enumerate Alternatives

For each alternative considered:

  1. Name it clearly — "PostgreSQL" not "Option A"
  2. List concrete pros — Specific, measurable benefits
  3. List concrete cons — Specific, measurable drawbacks
  4. State the rejection reason — Why this alternative was not chosen. Be specific: "Does not support our required throughput of 10K ops/sec" not "Too slow."

Phase 4: Document the Decision

State the chosen option and why it was selected given the context and constraints. The decision should follow logically from the context + alternatives analysis.

Phase 5: Project Consequences

Document what this decision makes easier and harder:

  1. Positive consequences — What improves?
  2. Negative consequences — What tradeoffs are accepted? What tech debt is incurred?
  3. Neutral consequences — Side effects that are neither good nor bad.

Phase 6: Assign Metadata

  1. Number — Sequential: ADR-001, ADR-002, etc. Check existing ADRs for the next number.
  2. Status — Initial status is usually "Proposed" or "Accepted"
  3. Date — Date the ADR was written
  4. Author — Who authored this ADR
  5. Supersedes/Superseded-by — Link to related ADRs if this replaces an earlier decision

Output Format

# ADR-{NNN}: {Descriptive Title}

**Status:** {Proposed | Accepted | Deprecated | Superseded by ADR-XXX}
**Date:** {YYYY-MM-DD}
**Author:** {name}
**Supersedes:** {ADR-XXX (if applicable)}

## Context

{What situation requires a decision? What constraints exist? What forces are at play?
Write in present tense — describe the situation as it exists at decision time.}

## Decision

{State the decision clearly and concisely. "We will use X for Y because Z."
One to three sentences. The reader should understand the decision without reading
the rest of the document.}

## Alternatives Considered

### {Alternative 1 Name}
- **Pros:** {specific benefits}
- **Cons:** {specific drawbacks}
- **Rejected because:** {concrete, specific reason tied to context}

### {Alternative 2 Name}
- **Pros:** {specific benefits}
- **Cons:** {specific drawbacks}
- **Rejected because:** {concrete, specific reason tied to context}

## Consequences

### Positive
- {Concrete benefit 1}
- {Concrete benefit 2}

### Negative
- {Concrete tradeoff 1 — acknowledged and accepted}
- {Technical debt incurred — with plan to address if applicable}

### Neutral
- {Side effect that is neither positive nor negative}

## References

- {Link to related issue, discussion, document, or prior ADR}

Calibration Rules

  1. Context is king. The Context section is the most important part. A decision without context is just an assertion. Future readers need to understand WHY, not just WHAT.
  2. Specific rejection reasons. "Not suitable" is not a rejection reason. "Does not support transactions across partitions, which we need for order processing" is.
  3. Honest consequences. Every decision has downsides. If the Negative section is empty, the analysis is incomplete. Push the user to articulate tradeoffs.
  4. Present tense for context. Write the Context section in present tense — it captures the world as it was when the decision was made.
  5. One decision per ADR. If multiple decisions are interrelated, write separate ADRs and cross-reference them. Do not bundle unrelated decisions.
  6. Immutable after acceptance. Accepted ADRs are not edited. If a decision changes, write a new ADR that supersedes the old one. This preserves the historical record.

Error Handling

ProblemResolution
User cannot articulate alternativesHelp them brainstorm by asking: "What else could you have done? What did you consider and reject?"
Decision is trivial (no real alternatives)Suggest it doesn't need an ADR. ADRs are for non-obvious decisions with tradeoffs.
Decision already made, no context rememberedReconstruct context from code, PRs, commit history. Note reconstructed context as "best available."
Existing ADR numbering scheme unknownCheck docs/adr/ or docs/decisions/. If no directory exists, suggest creating one and starting at 001.
Decision scope is too broadSplit into multiple focused ADRs. One for the database choice, one for the caching strategy, etc.

When NOT to Write an ADR

Push back if:

  • The decision is easily reversible (library version, code formatting rules) — use a comment or config instead
  • The decision is a standard practice with no alternatives (use HTTPS, validate input) — not decision-worthy
  • The user wants to document implementation details — ADRs are for WHY decisions, not HOW implementations
  • The decision has already been superseded — write the new ADR, not the old one

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.8%
按下载量换算134

Claude

29.65%
按下载量换算114

Cursor

18.21%
按下载量换算70

Gemini CLI

8.29%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills