essential-test-design

Official

Test behavior, not implementation

Authorgrowilabs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tests that are tightly coupled to implementation details create false positives and false negatives, undermining their ability to detect real regressions. This Skill helps authors and reviewers shift focus from internal mechanics to the observable contract so tests remain valuable across refactors.

Core Features & Use Cases

  • Behavior-first guidance: Emphasizes asserting observable outcomes and boundary conditions rather than spying on internal calls.
  • Decision framework: A short checklist to define the contract, the regression to catch, and whether a test would survive internal refactoring.
  • Common scenarios: Practical patterns for async delays, debounce/throttle logic, data transformation, side effects (API/DB), and retry logic, with recommendations for fakes, mocks at boundaries, and boundary assertions.
  • Reviewer aid: Use during test reviews to identify brittle assertions and convert them into robust contract tests.

Quick Start

Ask the assistant to review a failing or flaky test and rewrite assertions so they verify the observable behavior boundary rather than implementation details.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: essential-test-design
Download link: https://github.com/growilabs/growi/archive/main.zip#essential-test-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.