跳到正文
cccskills
免费在 GitHub 公开

architecture-decision

Creates an Architecture Decision Record (ADR) documenting a significant technical decision, context, alternatives, and consequences.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane星标 3(GitHub 3 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.4 KB
  • templates/adr.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

architecture-decision — ADR Authoring

→ Read templates/adr.md for the full ADR document skeleton with all sections

Parse Arguments

  • --review [full|lean|solo] → or read production/review-mode.txt → default lean
  • Retrofit mode: arg starts with retrofit <path> → read existing ADR, show section status, fill only missing sections (Status, ADR Dependencies, Engine Compatibility, GDD Requirements). Never modify existing content
  • No argument → ask for title before proceeding

Phase 0: Load Engine Context (ALWAYS FIRST)

  1. Read the engine version from the project: ProjectSettings/ProjectVersion.txt (Unity) or EngineAssociation in the .uproject (Unreal). For Unreal, also read docs/unreal/project-context.md if /ue-project-context has run
  2. Identify domain from title (Physics, Rendering, UI, Audio, etc.)
  3. If the engine version is newer than what you know reliably, say so before proposing engine APIs
  4. No engine detected → ask the user which engine and version

Phase 1: Context Gathering

  1. Scan docs/architecture/ for next ADR number
  2. Read related code, existing ADRs, GDDs from design/gdd/
  3. Architecture Registry Check (BLOCKING): Read docs/registry/architecture.yaml, present locked constraints. If proposed decision contradicts registered stance → surface conflict, offer align/supersede/exception. Don't proceed until resolved

Phase 2: Collaborative Design

Derive assumptions from context, then confirm/adjust via AskUserQuestion:

  • Problem statement, 2-3 alternatives, GDD linkage, dependencies, Status=Proposed
  • After confirmation, separate AskUserQuestion for any schema/data design questions
  • ADR Dependencies: depends on, enables, blocks (or "None" for each)

Phase 3: Generate ADR

Use template from templates/adr.md. Fill all sections from gathered context.

Reviews (before saving)

ReviewWhen
Engine SpecialistAlways (if engine configured) — validate idiomatic approach, deprecated APIs
TD-ADR (technical-director)full mode only — architectural coherence

GDD Sync Check

Before write approval, scan GDDs for naming inconsistencies with ADR interfaces. Surface as warning block if found, offer to update GDD in same pass.

Phase 4: Write

AskUserQuestion for write approval. Write to docs/architecture/adr-[NNNN]-[slug].md.

Phase 5: Update Architecture Registry

Scan ADR for new stances (state ownership, interface contracts, performance budgets, forbidden patterns). Present candidates. BLOCKING — don't write registry without explicit approval.

Phase 6: Closing

List remaining priority ADRs as options. Include "Start writing GDDs" if all prereqs done.

Always include: "Run /architecture-review in a fresh session (never same session as authoring)."

Update blocked stories to Ready if this ADR unblocks them.

Protocol

  • Derive assumptions first, confirm via AskUserQuestion (not open-ended questions)
  • Never generate ADR until user confirms assumptions
  • Registry entries are append-only (supersede old, add new)
  • Retrofit mode: only add missing sections, never modify existing

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

查看 SebastianLuser 的全部技能

报告此技能的问题