test-story-coupling
OfficialEnsure 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
UserProfileCardcomponent, this skill ensures you createUserProfileCard.tsx,UserProfileCard.test.tsx, andUserProfileCard.stories.tsxwith matching names, or thatUserProfileCard.stories.tsxincludes 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.