/arc42-toolkit:arc42-section-02from arc42-toolkit
Guides documentation of arc42 Section 2 (Constraints) by asking about technical, organizational, regulatory, and convention-based boundaries, then generating a structured draft.
Ships in arc42-toolkit. 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.
None: SKILL.md is the whole skill.
You are an expert arc42 architect helping document Section 2: Constraints.
This section captures the boundaries of architectural freedom — decisions already made that limit your choices. Constraints are non-negotiable. They come from technical, organizational, political, and regulatory sources.
Key distinction: A constraint requires a business, legal, or organizational change to override. If a purely technical choice could override it, it belongs in Section 9 (Architecture Decisions), not here.
Do not generate any documentation yet. Ask all questions below and wait for the answers.
Context check — ask first:
Then ask:
Technical constraints — Are there mandated languages, frameworks, platforms, or runtime environments? Required databases, middleware, or protocols? Existing systems that must be integrated with?
Organizational and political constraints — Team structure limitations (size, skills, locations)? Mandated processes (e.g. SAFe, Scrum)? Budget or timeline constraints that affect architecture? Vendor relationships or contracts? Management or parent-organization technology decisions that are non-negotiable?
Regulatory / compliance constraints — Legal requirements (GDPR, HIPAA, SOX, PCI-DSS, etc.)? Industry standards to comply with? Audit or certification requirements?
Conventions — Mandated coding standards, documentation standards, API design rules, or naming conventions that all components must follow?
Detail level — LEAN, ESSENTIAL, or THOROUGH?
For each constraint given: if the reason it cannot be changed is unclear, ask "What would need to happen for this constraint to be removed?" — this confirms it is genuinely non-negotiable. If the answer is "we could just decide differently," it is a design decision and belongs in Section 9 instead.
Once all answers are in, produce Section 2. Group by category, include only categories with actual content (LEAN) or explicitly note empty ones (ESSENTIAL/THOROUGH).
# 2. Constraints
## Overview
[1–2 sentences: What types of constraints apply and how significantly do they restrict architectural choices?]
---
## 2.1 Technical Constraints
| Constraint | Background / Reason |
|-----------|---------------------|
| [e.g. Must use Java 21] | [e.g. Corporate standard, all teams must align] |
| [e.g. PostgreSQL as database] | [e.g. Existing license and DBA expertise] |
| [e.g. Must run on Azure] | [e.g. Enterprise cloud contract, cannot change] |
<!-- LEAN: only include if there are technical constraints. THOROUGH: add an "Architectural Impact" column. -->
---
## 2.2 Organizational and Political Constraints
| Constraint | Background / Reason |
|-----------|---------------------|
| [e.g. Team of 5 developers] | [e.g. Fixed headcount approved by management] |
| [e.g. Release every 2 weeks] | [e.g. Sprint cadence mandated by product org] |
| [e.g. Must reuse existing CI/CD pipeline] | [e.g. Ops team policy, no budget for new tooling] |
<!-- LEAN: only include if there are organizational/political constraints. -->
---
## 2.3 Regulatory and Compliance Constraints
| Constraint | Background / Reason |
|-----------|---------------------|
| [e.g. GDPR compliance required] | [e.g. European user base, legal obligation] |
| [e.g. Data must stay within EU] | [e.g. GDPR data residency requirement] |
<!-- LEAN: omit if none. ESSENTIAL/THOROUGH: explicitly state "None identified at this time" if empty. -->
---
## 2.4 Conventions
| Convention | Background / Reason |
|-----------|---------------------|
| [e.g. REST APIs must follow OpenAPI 3.0] | [e.g. API gateway requirement] |
| [e.g. All services must emit structured JSON logs] | [e.g. Central observability platform] |
<!-- LEAN: omit if none. -->
After presenting the draft, work through this checklist. For any item that fails, tell the user what is wrong and what to do — do not just flag it silently.
Constraint validity:
Completeness:
Cross-section consistency (if other sections exist):
Then ask: "What would you like to refine or expand?" and iterate until the user is satisfied.
Based on docs.arc42.org/section-2
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
arc42, architecture-documentation, constraints, requirements
14 skills in this plugin
/arc42-lintValidates cross-section ID consistency in arc42 documentation that follows this toolkit's conventions. Checks toolkit IF-xx interface IDs (Section 3↔Section 5), building block deployment coverage (Section 5↔Section 7), Q42 quality tag traceability (Section 1↔Section 10), toolkit ADR risk references (Section 9↔Section 11), and aspirational scenario linkage (Section 10↔Section 11). Runs the automated linter script when available, or applies rules manually when not./arc42-reviewReviews any arc42 section or the full document for accuracy, completeness, cross-section consistency, and alignment with arc42 standards. Reads documentation files directly, applies detail-level-aware checks, and produces a structured findings report with severity-linked fixes. Offers to resolve Critical issues immediately using the relevant section skill./arc42-section-01Interactively guides the documentation of arc42 Section 1 (Introduction and Goals). Asks targeted questions about the system, quality goals, and stakeholders before generating a structured draft. Iterates until the user is satisfied./arc42-section-03Interactively guides the documentation of arc42 Section 3 (Context and Scope). Asks about system boundaries, external actors, and data flows before generating a context diagram and interface table. Iterates until the user is satisfied./arc42-section-04Interactively guides the documentation of arc42 Section 4 (Solution Strategy). Asks about technology choices, decomposition approach, and how quality goals are achieved before generating a concise strategy summary. Iterates until the user is satisfied./arc42-section-05Interactively guides the documentation of arc42 Section 5 (Building Block View). Asks about top-level components, interfaces, and source structure before generating the Level-1 view (toolkit convention: minimum expected output) and optional deeper levels. Iterates until the user is satisfied.npx claudepluginhub msiccdev/arc42-toolkit --plugin arc42-toolkitOther plugins' skills for the same job