DOC-TEST-DOCS
Define structure and content for test plans, protocols, and reports that support regulatory submissions and internal verification.
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-test-docsManual setup by platform
Claude Code
~/.claude/skills/meddev-skills-doc-test-docs/SKILL.md
Instructions
Test Documentation
Purpose
Define structure and content for test plans, protocols, and reports that support regulatory submissions and internal verification.
When to Apply
- Planning and executing verification/validation across unit, integration, system, and HIL.
- Preparing evidence for submissions or audits.
Requirements (testable)
- Test Plan: Objectives, scope, environment, roles, entry/exit criteria, and traceability to requirements/risks. Rationale: structured verification.
- Protocols: Step-by-step procedures, inputs, expected results, and acceptance criteria; include negative cases. Rationale: repeatability.
- Reports: Actual results, deviations, defects, and conclusion vs acceptance criteria. Rationale: evidence of execution.
- Traceability: Each test case links to requirements/hazards; matrices maintained. Rationale: completeness.
- Configuration Control: Environments, tools, and versions recorded; reproducible setups. Rationale: consistency.
- System Test Records [Class A, B, C]: For system testing, retain protocol reference, pass/fail with anomaly list, software version tested, hardware/software configuration, test tools, date, and tester identity. Rationale: 5.7.5.
- Retest Records [Class A, B, C]: After changes, test documentation includes the same record elements for retest/regression (align with
DOC-PROBLEM-RES). Rationale: 9.8.
Recommended Practices
- Use IDs for test plans (
TPL-###), cases (TC-###), protocols (TPR-###), and reports (TRP-###). - Include data sets and seeds where applicable.
- For automation, capture logs and artifacts (coverage, waveforms, power traces).
Patterns
Test plan snippet (Markdown):
TPL-210: Pump Safety Verification Plan
Scope: Class C control loop, door-open safety
Entry: unit/int tests pass; firmware v1.3.0
Exit: all TC pass; defects triaged; coverage targets met
Trace: REQ-62304-102, HZ-07, RISK-CTRL-19
Protocol entry (table):
Step | Action | Expected
1 | Open door sensor | Motor stops within 50 ms; alarm active
Report excerpt:
TRP-210 Result: PASS
Deviations: None
Defects: DEF-88 (UI lag) - not safety relevant
System test record (YAML):
test_record:
protocol: TPR-SYS-210
result: pass
anomalies: []
software_version: 1.3.0
configuration: hw_rev_B2, host_test_runner_ubuntu22
tools: [hil_runner 2.1, logic_analyzer_fw 0.9]
date: 2026-05-20
tester: jdoe
Anti-Patterns (risks)
- Missing traceability -> risk: unverifiable coverage.
- Only positive tests documented -> risk: gaps in error handling evidence.
- Uncontrolled environments -> risk: irreproducible results.
- Reports without deviations/defects -> risk: incomplete transparency.
Verification Checklist
- Test plan exists with scope, criteria, and traceability.
- Protocols include steps, inputs, expected results (positive/negative).
- Reports capture actual results, deviations, defects, and conclusions.
- Environments/tools/configurations recorded.
- Traceability matrix maintained requirements↔tests.
- System test records include version, configuration, tools, date, tester (5.7.5).
- Retest after changes includes full record fields (9.8).
Traceability
- IDs (
TPL-###,TC-###,TPR-###,TRP-###) linked toREQ-###andHZ-###; stored with release artifacts.
References
- IEC 62304:2006+A1:2015, 5.7.5 (system test records), 9.8 (retest documentation).
DOC-PROBLEM-RES,TEST-INTEGRATION,CICD-RELEASE.- FDA/MDR submission formats for test evidence (device-specific).
Changelog
- 1.1.0 (2026-05-21): Added 5.7.5 and 9.8 mandatory test record fields.
- 1.0.0 (2026-01-04): Initial test documentation skill with plans, protocols, and reports.
Audit History
- 2026-01-04: Audit performed. Verified:
- IEC 62304 verification documentation expectations accurate
- FDA/MDR submission format references appropriate
Security
Reviews (0)
Related skills
Browse all →More from Medical Device Skills
View source →More Docs skills
Browse category →Frequently asked questions about DOC-TEST-DOCS
What does the DOC-TEST-DOCS skill do?
Define structure and content for test plans, protocols, and reports that support regulatory submissions and internal verification. 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-TEST-DOCS skill?
Run `npx @skills-hub-ai/cli install meddev-skills-doc-test-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-test-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-TEST-DOCS work with?
DOC-TEST-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-TEST-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-TEST-DOCS after installing it?
In Claude Code, type `/meddev-skills-doc-test-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-TEST-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.