smithery.ai

HSM Test Coverage

Analyze test coverage and identify gaps

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,093 B
  • docs SUMMARY.md 64 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

HSM Test Coverage

Test coverage analysis for HSM modules.

Usage

/hsm-coverage [module-number]

What You Do

  1. Run Coverage:

``bash cargo tarpaulin --all --out Lcov ` Or for specific module: `bash cd crates/<module> && cargo tarpaulin --out Lcov ``

  1. Parse Results:

Extract: - Line coverage % - Branch coverage % - Uncovered lines/functions

  1. Compare Against Target:

Target: >90% line coverage per module

  1. Identify Gaps:

Report uncovered code paths with suggestions: ``` Uncovered: src/asymmetric/rsa.rs:145-152 - Error handling for invalid key

Suggested: - testrsainvalidkeysize() - testrsaerror_recovery() ```

  1. Recommend Test Types:

- Unit tests for basic functionality - Property tests for invariants - Fuzz tests for robustness - Integration tests for workflows

Target Coverage

All modules: >90% line coverage