Detect runtime defects (memory, concurrency, timing, performance, power) via dynamic tools and instrumentation in medical device software.
When to Apply
New features touching memory/concurrency/timing.
Pre-release test campaigns; after major refactors.
Requirements (testable)
Memory Checks: Run dynamic memory error detection (ASan/Valgrind-like on host or target tools) for host-testable code. Rationale: catch leaks/overflows/use-after-free.
Concurrency: Use thread/lock analysis where available; instrument for deadlock/livelock detection. Rationale: concurrency safety.
Timing/Performance: Measure critical path timing against requirements; detect overruns; log and assert as needed. Rationale: safety timing.
Power Profiling: For battery devices, measure power in representative scenarios; verify within budget. Rationale: safety/availability.
Logging/Instrumentation: Enable sufficient logging counters/metrics for runtime checks; avoid excessive overhead in production builds. Rationale: observability.
Recommended Practices
Use hardware tracing/profiling (ETM/ITM) where available.
Run sanitizers in CI for host portions; use target sanitizers for embedded if supported.
Automate performance/timing tests in integration rigs.
Run npx skillmds@latest add aminalam/dynamic-analysis in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Dynamic Analysis It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
AminAlam (@aminalam) published this skill. Their other Agent Skills are listed on their SkillMD profile.