DOC-DESIGN-DOCS
Guide creation and maintenance of Software Architecture (SAD) and Design Descriptions (SDD) that support safety, traceability, and compliance.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install meddev-skills-doc-design-docsManual setup by platform
Claude Code
~/.claude/skills/meddev-skills-doc-design-docs/SKILL.md
Instructions
Design Documentation (SAD/SDD)
Purpose
Guide creation and maintenance of Software Architecture (SAD) and Design Descriptions (SDD) that support safety, traceability, and compliance.
When to Apply
- New systems/features; major refactors; architecture changes.
- Prior to safety classification decisions and verification planning.
Requirements (testable)
- Architecture from Requirements [Class B, C]: Document structure and software items that implement software requirements; verify architecture implements requirements including risk controls. Rationale: 5.3.1, 5.3.6 a.
- Interface Architecture [Class B, C]: Document interfaces between items and between items and external hardware/software. Rationale: 5.3.2, 5.3.6 b.
- SOUP Specifications [Class B, C]: For each SOUP item, document functional/performance needs for intended use and required system hardware/software to run it. Rationale: 5.3.3–5.3.4, 5.3.6 c.
- Risk-Control Segregation [Class C]: Identify segregation between items required for risk control and how effectiveness is ensured. Rationale: 5.3.5.
- Unit Decomposition [Class B, C]: Subdivide software to software units per architecture. Rationale: 5.4.1.
- Detailed Design [Class C]: Document unit and interface design sufficient for correct implementation; verify against architecture without contradiction. Rationale: 5.4.2–5.4.4.
- Traceability: Link design elements to requirements, hazards, and tests. Rationale: 5.3.6, 7.3.3.
- Updates: Keep design docs current with code under change/configuration control. Rationale: prevent drift.
Recommended Practices
- Use lightweight but structured docs; diagrams with textual descriptions.
- Keep a living “architecture decisions” log for significant choices.
- Version diagrams; keep source (e.g., PlantUML) in repo.
Patterns
Architecture snippet (YAML):
component: pump_control
class: Class C
interfaces:
- name: ui_cmd_queue
type: message_queue
validation: len, CRC, bounds
hazards: [HZ-07]
controls: [RISK-CTRL-19]
SOUP entry:
name: tiny-rtos
version: 1.4.2
role: scheduler
known_issues:
- id: TR-77
mitigation: disable nested mutex
verification: TEST-RTOS-12
Anti-Patterns (risks)
- Outdated design docs after code changes -> risk: audit gaps, wrong verification scope.
- Missing interface specs -> risk: integration defects.
- Undocumented SOUP -> risk: unmanaged vulnerabilities.
- No mapping to requirements/hazards -> risk: traceability failure.
Verification Checklist
- Class B/C: architecture implements requirements and supports interfaces (5.3.6).
- Class B/C: SOUP functional and platform needs documented.
- Class C: segregation for risk control documented (5.3.5).
- Class C: detailed unit/interface design and verification against architecture (5.4).
- Design elements linked to requirements/hazards/tests.
- Docs updated with changes; under
DOC-SCM/ change control.
Traceability
- Use IDs for design elements (
DES-###) linked toREQ-###,HZ-###,TEST-###. - Keep diagrams and text under version control; include in baselines/releases.
References
- IEC 62304:2006+A1:2015, 5.3–5.4 (architectural and detailed design).
- ISO 14971:2019 (hazard linkage).
DOC-SW-REQ,ARCH-SAFETY-CLASS,REG-IEC62304-SWRM.- FDA/MDR tech file expectations (architecture, SOUP).
Changelog
- 1.1.0 (2026-05-21): Split 5.3 architecture vs 5.4 detailed design; SOUP and Class C segregation aligned to IEC 62304.
- 1.0.0 (2026-01-04): Initial design documentation skill with architecture views, SOUP, and traceability.
Audit History
- 2026-01-04: Audit performed. Verified:
- IEC 62304 architecture/design documentation requirements accurate
- ISO 14971 hazard linkage requirements correct
- FDA/MDR tech file expectations appropriately noted
Security
Reviews (0)
Related skills
Browse all →More from Medical Device Skills
View source →More Docs skills
Browse category →Frequently asked questions about DOC-DESIGN-DOCS
What does the DOC-DESIGN-DOCS skill do?
Guide creation and maintenance of Software Architecture (SAD) and Design Descriptions (SDD) that support safety, traceability, and compliance. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the DOC-DESIGN-DOCS skill?
Run `npx @skills-hub-ai/cli install meddev-skills-doc-design-docs` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/meddev-skills-doc-design-docs/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does DOC-DESIGN-DOCS work with?
DOC-DESIGN-DOCS runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the DOC-DESIGN-DOCS skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use DOC-DESIGN-DOCS after installing it?
In Claude Code, type `/meddev-skills-doc-design-docs` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the DOC-DESIGN-DOCS skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.