test

Generate unit test designs and templates using Khorikov's four-pillar approach.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Gami19/rd-strands-agents --skill test-gami19
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/Gami19/rd-strands-agents/tree/main/strands-py/backend/agent/skills/pr/test
Command: npx skills add https://github.com/Gami19/rd-strands-agents --skill test-gami19

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps software teams design, generate, and review high-value unit tests guided by Vladimir Khorikov's four-pillar principles, reducing flaky tests and speeding feedback.

Core Features & Use Cases

  • Analyze code to categorize complexity and guide the appropriate test approach (output-value tests, state-based tests, or mocks) for maximal value.
  • Provide AAA-pattern templates, natural-language test naming, and anti-pattern guidance to improve readability, maintainability, and guardrails.
  • Generate runnable templates for Python (pytest) and TypeScript (jest/vitest), plus a structured test-design document and a validation plan.

Quick Start

Specify a target module and run the skill to generate a complete 4-pillar unit-test design and templates.

Frequently Asked Questions about test

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

FAQPage Schema
How do I design high-value unit tests that avoid flakiness and maximize feedback speed?

High-value unit tests are designed using Vladimir Khorikov's four-pillar principles to categorize module complexity and select output-value, state-based, or mock-based testing strategies, reducing flakiness and speeding feedback loops.

When should I use mocks versus state-based tests for my modules?

Use mocks versus state-based tests by analyzing your target modules to determine the appropriate testing strategy based on the module's complexity, behavior type, and dependencies to maximize overall test value.

Can I generate pytest and jest unit test templates automatically?

Yes, you can generate runnable pytest and jest or vitest unit test templates automatically by specifying a target module, which produces structured AAA-pattern templates and a formal test-design document.

What is the AAA pattern for structuring unit test designs?

The AAA pattern structures tests into Arrange, Act, and Assert phases, providing natural-language test naming and anti-pattern guidance to improve unit test readability and maintainability.

Does this approach work with TypeScript and Python testing frameworks?

Yes, this approach works with TypeScript and Python testing frameworks by generating runnable test templates for pytest, jest, and vitest, alongside a quality-assurance plan with recommended checks.

What are common unit testing anti-patterns and how do I avoid them?

Common unit testing anti-patterns are addressed through a quality-assurance plan that provides anti-pattern guidance and recommended checks, helping software teams improve readability, maintainability, and guardrails.