/platform-architecture:bytedesk-adr [decision title]from platform-architecture
Architecture Decision Record (ADR) creation for the ByteDesk Platform. Use this skill whenever an architectural or design decision needs to be documented — new patterns, technology choices, cross-service contracts, infrastructure decisions, or any choice that future engineers (or future Claude sessions) need to understand. Invoke when the user says "write ADR", "create architecture decision", "document this decision", "ADR for", "record why we chose", "document our approach to", or when a significant technical choice is made during implementation.
Ships in platform-architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Creates a properly-formatted Architecture Decision Record (ADR) in the ByteDesk repo's docs/architecture/adr/ directory, numbered sequentially and linked to any related rule files.
The ByteDesk CLAUDE.md mandates reading relevant ADRs before implementing any new feature. ADRs are the primary way decisions survive session boundaries and context window compaction — if it's not in an ADR, it gets rediscovered and relitigated.
Use this exact structure. Omit sections that truly don't apply, but never invent new section names:
# ADR-NNN: <Short Decision Title>
**Date**: YYYY-MM-DD
**Status**: Proposed | Accepted | Deprecated | Superseded by ADR-XXX
**Deciders**: Ryan Helms
**Related Jira**: BDP-N (if applicable)
## Context
[1-3 paragraphs: What problem or situation prompted this decision? What constraints exist?
Include technical context, business context, and any timing pressures.]
## Decision
[1-2 paragraphs: What was decided? Be specific — name the technology, pattern, or approach chosen.
This should be a clear statement a new engineer can act on.]
## Rationale
[Bullet list of reasons this option was chosen over alternatives.]
- Reason 1
- Reason 2
## Alternatives Considered
[Brief list of what else was evaluated and why it was rejected. Can be very short — even one sentence per alternative is enough.]
| Alternative | Why Rejected |
|---|---|
| Option A | [reason] |
| Option B | [reason] |
## Consequences
**Positive**:
- [benefit 1]
**Negative / Trade-offs**:
- [trade-off 1]
**Risks**:
- [risk 1, if any]
## Implementation Notes
[Optional: specific files, patterns, or rules that enforce this decision.
Link to the relevant `.claude/rules/*.md` file if this decision is enforced by a rule.]
ls /Users/kon1790/GitHub/bytedesk-platform/docs/architecture/adr/ | sort
001, 002, … 042NNN-short-kebab-title.mddocs/architecture/adr/NNN-short-kebab-title.mdIf this ADR introduces or enforces a pattern that should be checked during code review, mention the applicable rule file in the Implementation Notes section. If a new rule file is warranted, create it in .claude/rules/ and update the rules index in CLAUDE.md.
After writing the ADR:
docs/architecture/adr/NNN-title.mdgit add docs/architecture/adr/NNN-title.md && git commit -m "docs(adr): add ADR-NNN short title"What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin platform-architecture3 skills in this plugin
/bytedesk-architecture-decomposeApplication decomposition → Structurizr C4 modeling orchestrator. Use for partition-scoped codebase analysis (C1–C3), incremental diagram growth, ADR-constrained modeling, and indexed progress across iterations. Uses graphify + architecture-sync for platform work./bytedesk-architecture-syncStructurizr C4 drift gate for ByteDesk Platform. Use when editing src/ByteDesk.* services, shared contracts/infra, or Helm service topology; before commit or PR when architecture-relevant paths change; when pre-commit or Stop hook reports architecture-sync violations; or when updating docs/architecture/workspace.dsl. Wraps architecture-sync.mjs and platform-local Structurizr DSL validation.Other plugins' skills for the same job