microsoft/duroxide/duroxide-code-coverage

Claude Code and agent skill by microsoft/duroxide

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Measure and improve code coverage in the Duroxide durable execution runtime. Use when asked about coverage, testing coverage, running llvm-cov, or improving test coverage percentages.

Install

npx vskill@latest install microsoft/duroxide/duroxide-code-coverage

SKILL.md

The same SKILL.md was published earlier as microsoft/duroxide/duroxide-code-coverage.

Duroxide Code Coverage

Guidance for measuring and improving code coverage in the Duroxide codebase.

Quick Commands

bash
# Summary (recommended for quick checks)
cargo llvm-cov nextest -p duroxide --all-features --summary-only
# Detailed per-file report
cargo llvm-cov nextest -p duroxide --all-features
# HTML report (opens in browser)
cargo llvm-cov nextest -p duroxide --all-features --html --open
# Install llvm-cov if needed
cargo install cargo-llvm-cov

Coverage Targets

MetricTargetNotes
Lines>90%Primary metric
Regions>85%Branch coverage
Functions>80%Often lower due to unused helpers

Priority Files

When coverage drops, focus on these files:

  1. src/providers/error.rs - Target 100%, error classification
  2. src/runtime/observability.rs - Target 90%, metrics correctness
  3. src/providers/sqlite.rs - Target 85%, reference implementation
  4. src/providers/instrumented.rs - Target 75%, observability wrapper
  5. src/providers/management.rs - Note: default trait impls inflate gaps

Adding Tests

Gap TypeLocation
Management APItests/coverage_improvement_tests.rs
Provider validationtests/sqlite_provider_validations.rs
Observabilitytests/observability_tests.rs
SQLite edge casessrc/providers/sqlite.rs (inline tests)

Test Patterns

Management API
rust
#[tokio::test]
async fn test_management() {
let store = Arc::new(SqliteProvider::new_in_memory().await.unwrap());
let mgmt = store.as_management_capability().unwrap();
assert!(mgmt.list_instances().await.is_ok());
}
Metrics
rust
#[tokio::test]
async fn test_metrics() {
use duroxide::runtime::observability::{MetricsProvider, ObservabilityConfig};
let metrics = MetricsProvider::new(&ObservabilityConfig::default()).unwrap();
metrics.record_orchestration_failure("Orch", "1.0", "app_error", "cat");
assert_eq!(metrics.snapshot().orch_application_errors, 1);
}
Provider Errors
rust
#[tokio::test]
async fn test_error() {
let err = ProviderError::retryable("op", "msg");
assert!(err.is_retryable());
}

Troubleshooting

  • "no such command: llvm-cov" → cargo install cargo-llvm-cov
  • Coverage seems low → Use -p duroxide (not --workspace)
  • Stale data → cargo llvm-cov clean --workspace

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 23 Jun 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
158
Repository forks
54
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/microsoft/duroxide/duroxide-code-coverage/badge)](https://verified-skill.com/skills/microsoft/duroxide/duroxide-code-coverage)

Something wrong with this skill or its page? Tell us.