AgentSkillsCN

mythosmud-adr-authoring

在docs/architecture/decisions/目录下创建或更新架构决策记录:记录状态、背景、决策内容、备选方案、潜在影响。适用于记录架构决策、新增ADR,或当用户提及ADR或架构决策时使用。

SKILL.md
--- frontmatter
name: mythosmud-adr-authoring
description: Create or update Architecture Decision Records in docs/architecture/decisions/: Status, Context, Decision, Alternatives Considered, Consequences. Use when documenting an architectural decision, adding an ADR, or when the user mentions ADR or architecture decision.

MythosMUD ADR Authoring

Location

  • Directory: docs/architecture/decisions/
  • Filename: ADR-NNN-kebab-title.md (e.g. ADR-009-event-serialization-format.md)
  • Index: Update the table in docs/architecture/decisions/README.md when adding a new ADR.

Structure

Each ADR must include:

SectionContent
StatusOne of: Proposed, Accepted, Deprecated, Superseded
ContextSituation and forces driving the decision
DecisionThe chosen approach
Alternatives ConsideredOther options evaluated
ConsequencesPositive, negative, and neutral outcomes

Template

markdown
# ADR-NNN: Short Title

**Status:** Proposed | Accepted | Deprecated | Superseded
**Date:** YYYY-MM-DD

## Context

[What situation and forces led to this decision?]

## Decision

[What was decided?]

## Alternatives Considered

[What other options were evaluated and why they were not chosen?]

## Consequences

[Positive, negative, and neutral outcomes.]

Index Update

When adding a new ADR, add a row to the table in docs/architecture/decisions/README.md:

ADRTitleStatusDate
ADR-NNNShort TitleAcceptedYYYY-MM-DD

Use the next sequential number (e.g. after ADR-008 use ADR-009).

Reference