test-story-coupling

Official

Ensure component, test, and story file consistency.

Authorynotradio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces strict naming conventions and file presence requirements to ensure that every user-facing component has corresponding test and story files, preventing technical debt and improving maintainability.

Core Features & Use Cases

  • Enforces Naming Conventions: Ensures component, test, and story files use exact, case-sensitive naming.
  • Verifies File Completeness: Checks for the presence of test files for utilities and migration scripts, and both test and story files for user-facing components.
  • Use Case: When developing a new UserProfileCard component, this skill ensures you create UserProfileCard.tsx, UserProfileCard.test.tsx, and UserProfileCard.stories.tsx with matching names, or that UserProfileCard.stories.tsx includes interaction tests.

Quick Start

Run the pre-commit hook to validate test and story file coupling for staged component files.

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: test-story-coupling
Download link: https://github.com/ynotradio/site/archive/main.zip#test-story-coupling

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 223,000+ vetted skills library on demand.