architecture
Skill41 starsChanged 4 months agoMITView on GitHub
Creates architecture decision records (post-hoc by default, full MADR for constraints), the arc42 constraints doc, navigation artifacts (SYSTEM-MAP, decisions router), and plan-context.md as ref index. Use for "architecture", "ADR", "arc42", "tech stack", "solution design", "plan-context". Proposals only; /coding decides.
82 other projects use a version of this.
Adopted by
Most recently taken up by
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- wellwelwel/lagunetheir own version, first seen Oct 4, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Oct 4, 2026
- fabiandistler/agentstheir own version, first seen Sep 30, 2026
- afonsoft/skillstheir own version, first seen Sep 30, 2026
- rafaelh/skillstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use deployment-procedures, behavioral-modes and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xfstudioSkilldeployment-procedures
Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.
Also in 5 projects that use this
xfstudioSkillbehavioral-modes
AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
Also in 4 projects that use this
tiendatworkSkill2d-games
2D game development principles. Sprites, tilemaps, physics, camera.
Also in 3 projects that use this
tiendatworkSkill3d-games
3D game development principles. Rendering, shaders, physics, cameras.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
- +1 more from xfstudio
- +5 more from tiendatwork
Other versions82 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 82
- iOfficeAI/AionUi★ 33ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- ktnyt/cclsp★ 675same name
- patrickjaja/claude-desktop-extra★ 657same name
- FerroxLabs/wayland★ 608same name
- owainlewis/blueprint★ 410same name
- microsoft/powerplatform-build-tools★ 308same name
- techygarg/lattice★ 197same name
- sd0xdev/sd0x-harness★ 191same name
- wellwelwel/lagune★ 172same name
72 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- business-analysisSkill
- codingSkill
- consistency-checkSkill
- dia-bootstrapSkill
- dia-guideSkill
- dia-realignSkill
- dia-setupSkill
- humanizerSkill
- project-conventionsSkill
- requirements-engineeringSkill
- security-auditSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 74 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 62
Every ADR carries kind, reversal-cost, applies-to, and read-when in frontmatter (templates/ADR-TEMPLATE.md).
- Distinctive: line 102
Test, 2 for PoC, 3 for MVP.
- Distinctive: line 131
If unresolved dialog questions remain, ask once via AskUserQuestion: address now, defer, or record as open issues.
- Very specific: line 140
Write arc42.md from the CONSTRAINTS template (cap 40).
- Distinctive: line 146
Write the ref index per the rules above (cap 20).
- Very specific: line 150
If the design reveals a gap, contradiction, or impossible constraint in a FEATURE spec, stop the current ADR.
- Distinctive: line 159
Every Critical ASR has a matching ADR.
- Very specific: line 187
Run the phase-end commit per skills/project-conventions/references/team-workflow.md section "Phase-end commit (binding)".
- Distinctive: line 202
After the commit lands:
“Common” is measured: kept by at least 6 in 10 of the 74 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architect
You turn requirements into architecture proposals: ADRs, the arc42
constraints doc, and a compact plan-context.md ref index for
/coding. In the lean profile this skill is the core of the
workflow: it owns the rules in AGENTS.md, SYSTEM-MAP.md, and the
post-hoc decision records behind decisions/README.md.
Input: Epics, Features, ASRs, NFRs from Requirements Engineering
(full profile), or the running codebase (lean, post-hoc).
Output: ADRs, arc42 constraints, plan-context.md, navigation
artifacts.
Hard rules
- Branch and item check first. Identify the active item, verify
feature/<item-id-lower>-<slug>, then runcreate-issueandopen-draft-prviatools/github-integration/flow.py. Full procedure:skills/project-conventions/references/team-workflow.md. - Triage every change: New FEATURE, IMP, FIX, or ADR. Ask once if
ambiguous. FIX and IMP require
feature:andepic:in frontmatter. Decision tree:skills/project-conventions/references/graph-invariants.md. - Backlog row before artifact body. Status, phase, claim, last-change, refs live in the row, not in frontmatter. See skills/project-conventions/SKILL.md#canonical-specs (Backlog vocabulary, Frontmatter spec).
- Wayfinder is the only place for current code paths. New concept
from an ADR adds a row to
src/ARCHITECTURE.map. New module gets aREADME.mdat the module root. Templates intemplates/. - ADR abstraction. Core sections (Context, Decision Drivers,
Considered Options, Decision, Consequences) carry no code paths,
file names, line numbers, or signatures. Code-level hints belong
in the optional
## Implementation Notesappendix. - ADR consolidation duty. Before a new ADR, check if an existing one can be merged, amended, or extended. Report consolidation moves in the Handoff Ritual.
- Rule-set owner.
_devprocess/rules/technical.md(max 150),design.md(max 100 if UI),domain.md(max 100). Hard cap 500 lines total. Templates intemplates/. - Dependencies via
depends-on: [ID, ...]in frontmatter. Graph stays acyclic. Details: graph-invariants.md. - Epic hypothesis statements and How-Might-We headings as full
prose, no
FOR / WHO / THE / IS Aplaceholders left over. - Writing style. See skills/project-conventions/SKILL.md#canonical-specs (Writing style). Scan the artifact before save.
ADR completeness (by kind)
Every ADR carries kind, reversal-cost, applies-to, and
read-when in frontmatter (templates/ADR-TEMPLATE.md).
post-hoc(the normal case): decision documented AFTER the implementation that embodies it. Context, Decision, Consequences, Sources (code paths allowed there). Short, like a CDR.choice: a real pre-code choice. Adds Decision drivers; Considered Options recommended.constraint(the exception): pre-decided (compliance, hard to reverse). Full MADR with a mandatory Considered Options table.
Cap per artifact-caps.json. Every Critical ASR maps to exactly one
ADR. A missing kind on legacy ADRs means choice; never rewrite
old ADRs just to add the field. The abstraction rule (no code paths
in core sections) holds for every kind; ## Sources and
## Implementation Notes are the sanctioned homes for paths.
Filename: ADR-{nn}-{slug}.md, 2-digit, kebab-case. Keep
decisions/README.md (router table,
templates/DECISIONS-README-TEMPLATE.md) in sync with the
applies-to/read-when fields.
arc42 scope (split since v4)
Pre-code, always: arc42.md from
templates/arc42-CONSTRAINTS-TEMPLATE.md (quality goals,
constraints, quality scenarios, risks; cap 40, scope: constraints).
Post-code, optional: arc42-REFERENCE.md from
templates/arc42-REFERENCE-TEMPLATE.md, written only when an
auditor or customer audience needs the formal document. Cap-exempt,
allowed to lag; the wayfinder and the ADR catalog stay canonical.
Legacy single-file arc42.md documents keep their old poc/mvp caps.
plan-context.md
Pure reference index, cap 20 lines
(templates/plan-context-TEMPLATE.md): stack refs, ADR impact,
quality refs, and a read-next pointer. It names WHERE decisions live
and never restates them. ADR floor gated by scope: 1 for Simple
Test, 2 for PoC, 3 for MVP. Coder questions travel via BACKLOG-row
notes or PR comments, not via a Dialog section.
Navigation artifacts
SYSTEM-MAP.md (templates/SYSTEM-MAP-TEMPLATE.md) with fast paths
into the code, and src/ARCHITECTURE.map rows for new concepts.
Mandatory in the lean profile, recommended in full.
What you do NOT create
Business requirements (/business-analysis), user stories
(/requirements-engineering), issues or tasks (Claude Code), or
production code (Claude Code).
Workflow
Phase 1: Requirements review
Read
_devprocess/requirements/handoff/architect-handoff.md first.
Scan the ## Dialog section for resolved answers from RE that a
previous session has not seen. Self-answer pending architect
questions from the updated artifacts when possible.
Confirm in one block: scope (Simple Test / PoC / MVP), feature count, ASR count (Critical / Moderate), NFR summary, unresolved dialog questions.
If unresolved dialog questions remain, ask once via AskUserQuestion: address now, defer, or record as open issues.
Phase 2: ADRs
One ADR per Critical ASR, capped per the completeness rule above.
Phase 3: arc42 constraints
Write arc42.md from the CONSTRAINTS template (cap 40). The
REFERENCE document is a post-code deliverable and never blocks this
phase.
Phase 4: plan-context.md
Write the ref index per the rules above (cap 20).
Mid-course requirements discovery
If the design reveals a gap, contradiction, or impossible
constraint in a FEATURE spec, stop the current ADR. Triage the
finding, write a short REQ-REVIEW-{date}.md under
_devprocess/analysis/, add a backlog row, and route the affected
FEATURE back to RE. Other ADRs continue. Architecting around a
broken spec carries the fault into the code.
Quality gates
- Every Critical ASR has a matching ADR.
- Ref integrity: every Accepted ADR appears exactly once in
plan-context.md, and every ref there resolves to an existing ADR. constraint/choiceADRs offer real alternatives with Pros / Cons, not single-option rationalisation.decisions/README.mdrows match the ADRs'applies-to/read-whenfrontmatter.
Handoff Ritual
Part 1: Artifact report
Produced / updated:
- _devprocess/architecture/ADR-*.md: {count} ADRs (statuses)
- _devprocess/architecture/arc42.md: arc42 draft
- _devprocess/requirements/handoff/plan-context.md: tech stackPart 2: Handoff context
Goes into the phase-end commit BODY as short bullets: rejected
alternatives worth remembering, known architectural risks, open
items deferred to /coding, ADR consolidation moves, and the
ref-integrity confirmation.
Part 3: Phase-end commit
Run the phase-end commit per
skills/project-conventions/references/team-workflow.md section
"Phase-end commit (binding)". Canonical message:
chore(arch): <ITEM-ID> ARCH complete
<one-line summary: N ADRs, arc42 constraints, plan-context refs>
<risks and deferred items as short bullets>
Refs: <ITEM-ID>[, ADR-NN, ADR-NN]
DIA-Phase: arch-done
DIA-Handoff: <ITEM-ID> -> codingAfter the commit lands:
python3 tools/github-integration/flow.py tag-phase --item <ID> --phase arch
python3 tools/github-integration/flow.py sync-status --item <ID>sync-status is a no-op outside mode = "github-sync". Skip the
commit silently if the working tree has no changes.
Part 4: Transition question
Ask the user:
"Architecture proposals are ready. Saved to:
- ADRs:
_devprocess/architecture/- arc42:
_devprocess/architecture/arc42.md- plan-context.md:
_devprocess/requirements/handoff/plan-context.mdRecommended next:
/coding. ADRs are proposals;/codingmakes the final call against the real codebase.Shall I start
/codingnow, or review the proposals first?"
On agreement or when running inside /dia-guide, start /coding
and pass the handoff context. On rejection, pause.
Keywords
Architecture, ADR, arc42, Architecture Decision, Tech Stack, Solution Design, System Design, plan-context, Architecture Review, Building Blocks, Deployment
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

