/digital-innovation-agents:architecturefrom digital-innovation-agents
Creates architecture decision records (post-hoc or full MADR), arc42 constraints doc, system maps, and plan-context.md. Use for architecture, ADR, tech stack, or solution design proposals.
Ships in digital-innovation-agents. 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.
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.
feature/<item-id-lower>-<slug>, then run create-issue and
open-draft-pr via tools/github-integration/flow.py. Full
procedure: skills/project-conventions/references/team-workflow.md.feature: and epic: in
frontmatter. Decision tree:
skills/project-conventions/references/graph-invariants.md.src/ARCHITECTURE.map. New module gets
a README.md at the module root. Templates in templates/.## Implementation Notes appendix._devprocess/rules/technical.md (max 150),
design.md (max 100 if UI), domain.md (max 100). Hard cap
500 lines total. Templates in templates/.depends-on: [ID, ...] in frontmatter. Graph
stays acyclic. Details: graph-invariants.md.FOR / WHO / THE / IS A placeholders left over.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.
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.
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.
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.
Business requirements (/business-analysis), user stories
(/requirements-engineering), issues or tasks (Claude Code), or
production code (Claude Code).
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.
One ADR per Critical ASR, capped per the completeness rule above.
Write arc42.md from the CONSTRAINTS template (cap 40). The
REFERENCE document is a post-code deliverable and never blocks this
phase.
Write the ref index per the rules above (cap 20).
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.
plan-context.md, and every ref there resolves to an existing ADR.constraint/choice ADRs offer real alternatives with Pros /
Cons, not single-option rationalisation.decisions/README.md rows match the ADRs' applies-to/read-when
frontmatter.Produced / updated:
- _devprocess/architecture/ADR-*.md: {count} ADRs (statuses)
- _devprocess/architecture/arc42.md: arc42 draft
- _devprocess/requirements/handoff/plan-context.md: tech stack
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.
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> -> coding
After 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.
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.
Architecture, ADR, arc42, Architecture Decision, Tech Stack, Solution Design, System Design, plan-context, Architecture Review, Building Blocks, Deployment
templates/ADR-TEMPLATE.md (opens in a new tab)templates/ARCHITECTURE-MAP-TEMPLATE.md (opens in a new tab)templates/DECISIONS-README-TEMPLATE.md (opens in a new tab)templates/JSDOC-HEADER-TEMPLATE.md (opens in a new tab)templates/MODULE-README-TEMPLATE.md (opens in a new tab)templates/RULES-DESIGN-TEMPLATE.md (opens in a new tab)templates/RULES-DOMAIN-TEMPLATE.md (opens in a new tab)templates/RULES-TECHNICAL-TEMPLATE.md (opens in a new tab)templates/SYSTEM-MAP-TEMPLATE.md (opens in a new tab)templates/arc42-CONSTRAINTS-TEMPLATE.md (opens in a new tab)templates/arc42-REFERENCE-TEMPLATE.md (opens in a new tab)templates/plan-context-TEMPLATE.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
architecture, adr, arc42, system-map, plan-context, decision-records
npx claudepluginhub pssah4/digital-innovation-agents --plugin digital-innovation-agents13 skills in this plugin
/business-analysisCondenses a structured dialog about problem, users, and scope into a short BA record that feeds requirements engineering. Use when the user mentions "Business Analysis", "BA", "Problem Analysis", "Personas", "Define Scope", "Explore", "How might we", "Value Proposition", or starts a new project without a clear requirement.
/codingHandoff and bug-capture skill: loads plan-context and design artifacts, reviews them critically against the real codebase, and keeps artifacts in sync during and after implementation. TDD is the default. Use for "implement", "code", "build feature", "realize plan-context", "Bug gefunden", "es gibt einen Fehler", "Fix erfassen".
/consistency-checkOther plugins' skills for the same job