test-co-location-enforcer
Installation
SKILL.md
Test Co-Location Enforcer
Enforce co-located test structure with .spec.ts suffix and prevent tests/ directory usage.
When to Use This Skill
Activate this skill when:
- Creating new tests - Ensure co-location from the start
- Moving legacy tests - Migrate from tests/ to co-location
- Validating test structure - Audit test organization
- Reviewing test PRs - Check test placement compliance
- Refactoring tests - Reorganize into co-located pattern
- Auditing codebase - Find tests in tests/ directories