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:

  1. Creating new tests - Ensure co-location from the start
  2. Moving legacy tests - Migrate from tests/ to co-location
  3. Validating test structure - Audit test organization
  4. Reviewing test PRs - Check test placement compliance
  5. Refactoring tests - Reorganize into co-located pattern
  6. Auditing codebase - Find tests in tests/ directories

Co-Location Standard

Required Pattern

Installs
3
GitHub Stars
1
First Seen
May 11, 2026