standards-tests

Write focused unit and integration tests with mocked external dependencies.

1.8k|153|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/maxritter/claude-pilot --skill standards-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: standards-tests
Source: https://github.com/maxritter/claude-pilot/tree/main/pilot/skills/standards-tests
Command: npx skills add https://github.com/maxritter/claude-pilot --skill standards-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams write focused tests for core user flows with clear names, behavior-focused assertions, and mocked external dependencies, ensuring fast feedback and reliable code.

Core Features & Use Cases

  • Write minimal, targeted tests for primary paths (happy path) and critical business logic.
  • Use descriptive test names following the pattern test_<function><scenario><expected_result>.
  • Mock external dependencies (databases, APIs, file systems) to isolate units and speed up tests.
  • Apply TDD and integration testing strategies when features reach logical completion points.
  • Use this skill during feature development, refactoring, and when planning test coverage.

Quick Start

Start by identifying the feature's critical paths, then create concise, behavior-focused tests that mock external systems and verify expected outcomes.

Frequently Asked Questions about standards-tests

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

FAQPage Schema
How do I write focused unit tests for core user flows?

To write focused unit tests for core user flows, identify critical paths and create concise, behavior-focused tests that mock external systems and verify expected outcomes, ensuring fast feedback and reliable code.

How do I mock external dependencies like databases and APIs in integration tests?

Mocking external dependencies like databases and APIs in integration tests isolates units and speeds up test execution. This skill guides test creation by enforcing behavior-first assertions and mocking external systems to ensure fast, deterministic tests.

What is the best way to name test cases for behavior-driven development?

The best way to name test cases for behavior-driven development is using the pattern test_<function>_<scenario>_<expected_result>. This descriptive naming enforces clear communication of test intent and expected behavior.

When should I apply TDD workflows during feature development?

You should apply TDD workflows during feature development and refactoring when features reach logical completion points. This ensures minimal, targeted tests for primary paths and critical business logic are in place.

How do I ensure fast and deterministic test execution when testing external systems?

To ensure fast and deterministic test execution when testing external systems, mock external dependencies such as databases, APIs, and file systems. This isolates the units under test and removes unpredictable external latency.