All skills
simota avatar

/radar

@e307415
by shingo imotasimota/agent-skills85 stars
15

Adding edge-case tests, repairing flaky tests, and improving coverage. Use when test gaps need filling or regressions need guarding. Supports JS/TS, Python, Go, Rust, and Java.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/radar

This session only. Nothing lands on disk.

referenceunit-testing.md

≈370 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Unit-Test Architecture Delta

Purpose: Scope and handoff contract for Radar unit. General AAA structure, test-double definitions, and naming conventions are model-known.

Scope

  • unit: establish or repair unit-test architecture, boundaries, determinism, and double selection.
  • coverage: fill measured gaps using the existing architecture.
  • edge: extend an existing suite with boundary and failure cases.
  • integration: use when real DB, cache, queue, filesystem, or downstream protocol behavior is part of the claim.
  • Voyager owns browser-level journeys; Siege owns resilience programs.

Required Decisions

  • Identify the observable unit boundary and collaborators.
  • Choose the weakest sufficient double; do not mock values or private internals.
  • Inject clocks, IDs, randomness, I/O, and repositories rather than patching global state.
  • Preserve repository naming and fixture conventions.
  • Record any production seam needed to make the unit deterministic.

Verification

  • No real network, wall clock, filesystem, database, or sleep inside unit tests.
  • Same seed and input produce the same result.
  • Assertions prove outcomes or necessary collaborator contracts, not implementation trivia.
  • Shared mutable fixtures and order-dependent tests are absent.

Handoff

  • Production globals or mixed concerns -> Zen with the required seams.
  • Surviving mutants -> Radar mutation.
  • Real infrastructure required for the claim -> Radar integration.

Source: SKILL.md on GitHub

1 warning13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The 'radar' skill is a comprehensive testing assistant designed to improve code reliability through various testing methodologies such as unit, integration, and mutation testing. It follows industry best practices and uses standard tooling. A low-severity finding is noted regarding the inherent risk of indirect prompt injection when the agent processes project source code, which is mitigated by strong requirements for test isolation and independent verification.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    4/14 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/radar