RS

    Risk-Sized Tests

    by Trindorai

    1

    Decide which tests a change actually needs and write them well — regression tests for bug fixes, sharp edge inputs, deliberate failure paths, minimal mocking.

    Free

    Security scanned

    Works with the AI Agents you already use

    RS

    Risk-Sized Tests

    Example session with this skill installed

    Add tests for the discount calculation fix I just made.

    • Read your context and instructions
    • Compiled the risk-sized tests

    Tests to add (bug fix + money → regression test plus boundaries):

    • applies_no_discount_below_threshold — 99.99, the boundary that was wrong
    • applies_discount_at_exact_threshold — 100.00
    • rounds_discount_to_cents — 33.335 → 33.34
    • rejects_negative_total — failure path
      Skipped: no mocks needed; the calculator is pure. Verified the first test fails on the old code.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Agents either skip tests or bury a change under twenty near-identical happy-path cases. This skill makes test coverage match risk.

    What it does

    • Sizing table: what a bug fix, new branch, new endpoint, refactor, or getter actually needs, with heavier coverage for parsing, money, dates and security checks.
    • Edge-input checklist: empty values, boundaries, duplicates, Unicode, time zones and DST, repeated calls. The agent keeps only what applies.
    • Failure paths on purpose: bad input, timeouts and failing dependencies, asserting the specific error.
    • Writing rules: one behavior per test, names that describe behavior, deterministic tests, and the project's existing framework and helpers.
    • Mock only what you must: fakes for external, slow or nondeterministic things; real in-memory implementations for the rest.
    • Can it fail? Each new test is checked against broken or old code, so it isn't just noise.

    Language- and framework-agnostic.

    Free. Want a second opinion on the tests afterwards? Adversarial Review has a dedicated tests review template.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Decide which tests a change actually needs and write them well — regression tests for bug fixes, sharp edge inputs, deliberate failure paths, minimal mocking.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Risk-Sized Tests on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free