tdd-guardian

Enforce TDD discipline on test suites across Jest, Vitest, PyTest, GoTest, JUnit, and XCTest.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/monicajeon28/GMcruise --skill tdd-guardian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-guardian
Source: https://github.com/monicajeon28/GMcruise/tree/main/.claude/skills/tdd-guardian
Command: npx skills add https://github.com/monicajeon28/GMcruise --skill tdd-guardian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

테스트 작성 시 TDD 원칙이 자동으로 적용되지 않거나 비효율적으로 작성되는 문제를 자동으로 탐지하고 적용합니다. 이 스킬은 테스트 파일 작업 시 TDD 원칙이 항상 제어되도록 돕습니다.

Core Features & Use Cases

  • TDD 원칙 자동 적용: .test.ts/.spec.ts/.test_.py 파일 작업 시 자동 적용. Fake Test 탐지, 80% 커버리지 게이트. 템플릿과 모듈 템플릿 지원.
  • Jest/Vitest/PyTest/JUnit 템플릿 로드 및 필요한 문서만 로드하는 선택적 로딩 전략.
  • 테스트 구조 개선 및 커버리지 게이트를 통해 품질 보장.

Quick Start

새 테스트 파일을 생성하고 테스트 작성 시 TDD Guardian가 자동으로 원칙을 적용하도록 설정합니다.

Frequently Asked Questions about tdd-guardian

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce TDD principles automatically across my test files?

TDD Guardian automatically enforces TDD discipline by detecting file patterns (*.test.ts, *.spec.ts, *_test.py, *_test.go, *Test.java) and validating coverage gates (80% line, 70% branch), explicit assertions, and minimal mocking across Jest, Vitest, PyTest, GoTest, and JUnit frameworks.

Can TDD Guardian detect fake or ineffective tests in my test suite?

Yes. TDD Guardian identifies fake tests, validates that assertions are explicit rather than implicit, and flags tests that don't meet TDD standards. It applies these checks automatically when you work in test files matching its activation patterns.

What test frameworks and languages does TDD Guardian support?

TDD Guardian supports Jest, Vitest, PyTest, GoTest, JUnit, and XCTest. It recognizes test files across TypeScript, Python, Go, and Java through file-pattern and keyword detection in both Korean and English.

How do I set up TDD Guardian for a new test file?

Create a test file matching TDD Guardian's patterns (*.test.ts, *.spec.ts, *_test.py, etc.). The Skill auto-activates and loads the appropriate template—Jest, Vitest, PyTest, or JUnit—then applies TDD principles as you write tests.

What coverage thresholds does TDD Guardian enforce?

TDD Guardian enforces 80% line coverage and 70% branch coverage as minimum gates. It also validates that tests use explicit value assertions and minimize mocking to ensure meaningful test coverage.

Does TDD Guardian work with existing test templates and documentation?

Yes. TDD Guardian integrates with existing documentation, templates, and code patterns. It loads only relevant documentation for your framework and applies consistent TDD discipline across multiple languages and frameworks.