Skip to main content
DocsAI reviewed Jul 21, 2026

DOC-DESIGN-DOCS

Guide creation and maintenance of Software Architecture (SAD) and Design Descriptions (SDD) that support safety, traceability, and compliance.

v1.1.01 install

Unsigned, install at your own risk

Unverified

This 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-docs
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/meddev-skills-doc-design-docs/SKILL.md

Setup guide →
0Save

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)

  1. 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.
  2. Interface Architecture [Class B, C]: Document interfaces between items and between items and external hardware/software. Rationale: 5.3.2, 5.3.6 b.
  3. 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.
  4. Risk-Control Segregation [Class C]: Identify segregation between items required for risk control and how effectiveness is ensured. Rationale: 5.3.5.
  5. Unit Decomposition [Class B, C]: Subdivide software to software units per architecture. Rationale: 5.4.1.
  6. 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.
  7. Traceability: Link design elements to requirements, hazards, and tests. Rationale: 5.3.6, 7.3.3.
  8. 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 to REQ-###, 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
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
meddev-authenticationDefine secure user/device authentication, session management, and RBAC suitable for medical device risk profiles. Use when working on authentication in medical device software.0 installsmeddev-state-machinesDefine explicit, testable state machines with safe states, controlled transitions, and error handling suited to medical device safety classes. Use when working on state machines in medical device software.0 installsmeddev-change-controlDefine controlled change-request workflow for software: impact analysis, approvals, verification scope, and regulatory submission flags. Configuration identification and baselines are in DOC-SCM (IEC 62304 Clause 8.1, 8.3); approved implementation and re-verification align with 8.2. Use when working on change control in medical device software.0 installsCONN-USBImplement safe USB device connectivity: class selection, enumeration handling, data validation, electrical and safety considerations.0 installsmeddev-ai-ml-medical-device-softwareAddress machine learning inside the regulated product (not LLM coding assistants): Good Machine Learning Practice (GMLP), training/validation data integrity, Predetermined Change Control Plans (PCCP) where applicable, drift monitoring, and linking models to ISO 14971 and software lifecycle controls. Use when working on ai ml medical device software in medical device software.0 installsTEST-HILValidate software with real or representative hardware, sensors, actuators, and timing, to uncover integration and safety issues not visible in simulation.0 installs

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.