test-guidelines

Community

Master test writing, review, and debugging for robust code.

Authorssiumha
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers overcome the challenges of writing high-quality tests, effectively reviewing existing ones, and efficiently debugging failures. It ensures code reliability and promotes adherence to best practices, saving time and reducing complexity in the development lifecycle.

Core Features & Use Cases

  • Test Creation Workflow: Guides you through analyzing target code, planning test strategies (like AAA pattern), and writing new tests incrementally. Use it when you need to add new features or fix bugs and want to ensure proper test coverage.
  • Test Review & Refactoring: Provides a comprehensive checklist to review existing test code, identify issues such as excessive mocking, lack of independence, or test-bypassing patterns. Ideal for improving code quality and maintainability.
  • Debugging Failed Tests: Offers a structured approach to diagnose and resolve test failures, helping you distinguish between actual implementation bugs and issues within the test itself. Use it when your CI/CD pipeline fails or a local test run shows unexpected results.

Quick Start

Help me write unit tests for the new user authentication module, focusing on happy paths and edge cases.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: test-guidelines
Download link: https://github.com/ssiumha/dots/archive/main.zip#test-guidelines

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.