kalarislabs/skill-doctor/rust-testing

Claude Code and agent skill by kalarislabs/skill-doctor

Trust tier 3
  • community
Source check pending

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

How to write Skill Doctor tests — unit, integration, CLI, fixtures, determinism, additive-only. Use when adding tests, fixtures, snapshots, or changing cargo test layout.

Install

npx vskill@latest install kalarislabs/skill-doctor/rust-testing

SKILL.md

Testing

Canonical policy: TESTING.md. Do not invent a second harness.

Placement

KindWhere
Unit#[cfg(test)] next to the code
Integrationcrates/<name>/tests/
CLI / exit codestests/cli/ against the compiled binary
Fixturestests/fixtures/{benign,attack,hard_negative,evasion}/
Real malwaretests/fixtures/real_malware/, #[ignore], REAL_MALWARE=1

Detector PR checklist (all four)

  1. Engine or YARA rule
  2. Positive fixture (must fire)
  3. Hard-negative (must not fire)
  4. Test asserting both

Always-on property tests

  • Determinism: two scans, equal SHA-256 of JSON.
  • Additive-only: L1 CRITICAL + L2 "benign" → CRITICAL remains.
  • Offline: --offline makes zero network syscalls (at least: no reqwest constructed).
  • Malformed skill: does not panic.

Forbidden

  • Network in unit tests.
  • thread::sleep for sandbox.
  • Snapshots with timestamps or absolute paths.
  • Live secrets. Use canaries like AKIA_TEST_CANARY.
  • Speed assertions in the every-commit suite (see rust-perf).

Security

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

Quality evaluation

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

Source

Popularity

Repository stars
13
Repository forks
1
7-day trend score
18

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 VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kalarislabs/skill-doctor/rust-testing/badge)](https://verified-skill.com/skills/kalarislabs/skill-doctor/rust-testing)

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