test-write

Create risk-based tests targeting edge cases and failure modes.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/blakeox/llm-skills --skill test-write-blakeox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-write
Source: https://github.com/blakeox/llm-skills/tree/main/skills/test-write
Command: npx skills add https://github.com/blakeox/llm-skills --skill test-write-blakeox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write targeted tests that uncover hidden bugs and edge cases, improving code robustness.

Core Features & Use Cases

  • Risk-Focused Testing: Guides the user to prioritize testing of failure modes, boundary conditions, and critical workflows.
  • Test Infrastructure Analysis: Assists in identifying existing test utilities, test runners, and environment setups to maximize reuse and consistency.
  • Use Case: For example, generating tests that check how a function handles null inputs or network failures, ensuring real bugs are caught early.

Quick Start

Instruct the AI to create tests for a specific function or module based on code analysis and existing coverage gaps.

Frequently Asked Questions about test-write

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write unit tests that catch real bugs instead of just validating code coverage?

To write unit tests that catch real bugs, focus on risk-based testing by prioritizing failure modes, boundary conditions, and critical workflows. This approach targets edge cases and null inputs to detect regressions early rather than just increasing coverage metrics.

What is risk-based testing and how does it identify edge cases in my codebase?

Risk-based testing identifies edge cases by analyzing failure modes and critical paths in your codebase. It prioritizes boundary conditions and error handling to ensure your tests target high-risk areas, catching hidden bugs and validating how functions handle invalid inputs.

How do I generate regression tests that match my existing test infrastructure?

To generate regression tests that match existing infrastructure, analyze your current test utilities, runners, and environment setups. This ensures new tests follow established assertion styles and maximize reuse, maintaining consistency across your software development workflow.

Can I use automated test generation to check network failures and null input handling?

Yes, automated test generation can check network failures and null input handling by creating targeted tests for these failure modes. This validates error handling in critical workflows and ensures real bugs are caught early in the development cycle.

What is the best way to find coverage gaps in critical code paths before deployment?

The best way to find coverage gaps in critical code paths is through risk-focused test generation. By analyzing code and targeting boundary conditions alongside failure modes, you validate error handling and detect regressions in high-risk areas before deployment.