# Risk-Sized Tests

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

Risk-Sized Tests is a free AI agent skill on Agensi by Trindorai. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Trindorai](https://www.agensi.io/creators/trindorai)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/risk-sized-tests
- Tags: testing-debugging, code-quality-review

## 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.

## Requires

Nothing beyond your AI agent.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Risk-Sized Tests skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Risk-Sized Tests do?

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

### Which AI agents support Risk-Sized Tests?

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.

### How do I use Risk-Sized Tests?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
