一键导入
adr
Create or manage Architecture Decision Records (ADRs) in docs/decisions/
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or manage Architecture Decision Records (ADRs) in docs/decisions/
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill working with Ash Framework or any of its extensions. Always consult this when making any domain changes, features or fixes.
Record a development session summary in the project devlog
Run E2E browser tests via Tidewave browser_eval against the running Phoenix dev server
Inspect LiveView state (assigns, components) via Phoenix.LiveView.Debug in project_eval
Morning briefing — where we left off, what to work on today. Fast, compact report from canonical sources.
Manage plan lifecycle — list plans, mark completed/abandoned, move between directories
| name | adr |
| description | Create or manage Architecture Decision Records (ADRs) in docs/decisions/ |
| argument-hint | [title] or list or accept/deprecate/supersede [number] |
Record significant architecture and design decisions for the GsNet project.
docs/decisions/NNNN-kebab-case-title.md (zero-padded 4-digit sequence)docs/decisions/README.md (auto-maintained)/adr [title]docs/decisions/ for existing NNNN-*.md filesdocs/decisions/README.md index/adr listRead docs/decisions/README.md and display the index table.
/adr accept|deprecate|supersede [number]accept N — Change status from Proposed to Accepteddeprecate N — Change status to Deprecated, add deprecation reasonsupersede N by M — Change N's status to Superseded by ADR-M, add linkUpdate both the ADR file and the index.
Use this exact template when creating new ADRs:
# ADR-NNNN: [Title]
**Date**: YYYY-MM-DD
**Status**: Proposed
## Context
[What is the issue? What forces are at play? 2-5 sentences.]
## Decision
[What did we decide? Be specific about the approach chosen. 2-5 sentences.]
## Alternatives Considered
[Optional. Other approaches that were evaluated and why they were rejected. Bullet list.]
## Consequences
**Positive:**
- [benefit 1]
**Negative:**
- [tradeoff 1]
**Notes:**
- [Any neutral observations, migration notes, or future considerations]
# Architecture Decision Records
| # | Title | Status | Date |
|---|-------|--------|------|
| [0001](./0001-example.md) | Example Decision | Accepted | 2026-02-21 |
| Timing | Trigger | Example |
|---|---|---|
| During brainstorming/design | Choosing between alternatives | Clerk vs AshAuth vs Auth0 |
| During implementation | Discovering an unexpected pattern or constraint | RunCalendar business day resolution |
| During PR/review | A review changes the approach | Switching from polling to WebSocket |
Key principle: Write the ADR when the decision is made, not later. Alternatives Considered is most valuable when the analysis is fresh.
See: lib/gs_net/legacy/mnet.ex, See: ADR-0002