Security & Compliancelow risk

decision-records

Create, review, update, supersede, and audit Architecture Decision Records (ADRs) for durable project decisions. Use when a user asks for an ADR, decision log, architecture decision, design decision, communication or brand voice decision, or recorded rationale; when a cross-cutting technical, product, design, content, marketing, security, operational, or process choice must remain understandable across people, tools, and agent sessions; or when another skill identifies a decision whose undocumented rationale would otherwise drift. Preserve existing repository conventions and do not create skill-specific dot folders or private memory formats.

sebastian-software/skills.sebastian-software.com·skills/decision-records/SKILL.md
32/ 100推薦值

匯入這個 Skill

選擇你的 coding agent,複製專案級或個人級安裝指令。

固定至平台收錄的 commit
匯入目前專案.agents/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a codex -y
匯入個人環境~/.agents/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a codex -g -y
手動放置目錄.agents/skills/decision-recordsOfficial docs ↗
匯入目前專案.claude/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a claude-code -y
匯入個人環境~/.claude/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a claude-code -g -y
手動放置目錄.claude/skills/decision-recordsOfficial docs ↗
匯入目前專案.agents/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a github-copilot -y
匯入個人環境~/.copilot/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a github-copilot -g -y
手動放置目錄.agents/skills/decision-recordsOfficial docs ↗
匯入目前專案.agents/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a cursor -y
匯入個人環境~/.cursor/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a cursor -g -y
手動放置目錄.agents/skills/decision-recordsOfficial docs ↗
匯入目前專案.agents/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a gemini-cli -y
匯入個人環境~/.gemini/skills/decision-records
npx skills add https://github.com/sebastian-software/skills.sebastian-software.com/tree/e5222bebb3166f274e43b89ec295f64d21b2cfb7/skills/decision-records -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/sebastian-software/skills.sebastian-software.com.git --scope workspace --path skills/decision-records
手動放置目錄.agents/skills/decision-recordsOfficial docs ↗
⚠ 安裝指令使用開源 skills CLI。執行前請檢查來源、腳本與權限。
# Decision Records

Keep durable rationale in repository-owned Markdown that humans and different
tools can read. Treat an ADR as a shared project artifact, not as agent memory.

## Workflow

1. Discover the repository's decision convention before writing. Search for
   `docs/adr`, `docs/decisions`, `adr`, decision indexes, ADR templates, and
   contribution guidance. Read related accepted records and follow their
   filename, numbering, metadata, and index conventions.
2. Decide whether the choice deserves an ADR. Record it when it is durable,
   cross-cutting, costly to reverse, contains real tradeoffs, or must coordinate
   multiple people, channels, components, services, or future sessions. Do not
   create an ADR for a local refactor, an easily reversible detail, a task log,
   or an exact value already owned by code or configuration.
3. Choose the operation:
   - create a `proposed` record for an undecided choice;
   - create an `accepted` record for an agreed choice;
   - amend only non-semantic errors or explicitly mutable review evidence, such
     as a dated validation result in a field the record marks as updatable;
   - supersede an accepted decision when its rationale or outcome changes;
   - mark a record `deprecated` when it no longer applies and has no successor.
4. Read [ADR format and lifecycle](references/adr-format.md), then write the
   smallest complete record. For language, brand, content, or marketing
   decisions, also read [Communication decisions](references/communication-decisions.md).
5. Connect the record to reality. Link related code, configuration, design
   tokens, editorial guidance, examples, tests, runbooks, or issues where the
   repository convention permits. Keep exact implementation values in their
   owning artifacts; the ADR explains why the durable direction exists.
6. Update the ADR index or navigation if one exists. Check links, numbering,
   status, supersession in both directions, and consistency with the implemented
   result before finishing.

## Default Convention

When the repository has no decision convention and the work genuinely needs
one, use `docs/adr/` with zero-padded Markdown filenames such as
`0001-use-postgresql-for-primary-storage.md`. Do not create `.decision-records`,
`.architecture`, `.design-memory`, `.brand-memory`, or another tool-specific
directory.

Use a lightweight MADR-style structure without requiring a generator or custom
schema. Plain Markdown is the interoperability contract. Preserve an existing
Nygard-, MADR-, or repository-specific structure instead of converting it merely
to match this skill.

## Operating Rules

- Read accepted ADRs as constraints, not suggestions. When requested work
  conflicts with one, surface the conflict before implementation and either
  follow the record or explicitly supersede it with authorization.
- Preserve history. Do not rewrite an accepted record so that an old decision
  appears never to have existed.
- Separate decision from enforcement: ADRs hold rationale; code, tokens,
  schemas, editorial guides, examples, policy, tests, and automation enforce
  the outcome.
- Keep one decision per record. Split choices that can change independently.
- State uncertainty and missing evidence. A `proposed` record may contain open
  questions; an `accepted` record must make the chosen direction unambiguous.
- Use concrete language and project nouns. Avoid ceremony, fictional consensus,
  and generic claims such as "best practice" without a project-specific driver.
- Never record secrets, personal data, credentials, or private incident details
  in a broadly readable ADR.