Skip to main content

tdd

Build a feature or fix through short red-green-refactor cycles. Use when the user explicitly requests TDD, test-first development, or a red-green-refactor workflow.

소스 정보

저장소
NeverSight/NeverC
최근 소스 활동
2026년 9월 13일 11:17
감지된 SKILL.md 언어
영어
스타
96
포크
11

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
6 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
tdd
description
Build a feature or fix through short red-green-refactor cycles. Use when the user explicitly requests TDD, test-first development, or a red-green-refactor workflow.
# Test-driven development Work in vertical slices: prove one observable behavior with a failing test, implement the smallest coherent change that passes it, then continue with the next behavior. Preserve the user's chosen public interface and existing test conventions. ## Cycle 1. Identify the next externally observable behavior and the narrowest stable test boundary. 2. Write one meaningful test and run it to confirm it fails for the intended reason. 3. Implement enough production code to satisfy that behavior without speculative features. 4. Run the focused test, then the affected suite when the change warrants it. 5. Refactor while green when doing so improves ownership, naming, or duplication. Prefer tests that survive internal refactoring. Mock only at real process, network, time, or nondeterministic boundaries. A test that merely mirrors an implementation detail does not provide useful protection. Read supporting guidance only when the current design needs it: - [Test design](tests.md) - [Mocking boundaries](mocking.md) - [Interface design](interface-design.md) - [Deep modules](deep-modules.md) - [Refactoring while green](refactoring.md) Do not pause for approval between routine cycles when the requested behavior and interface are already clear. Ask only when a missing product or API decision would materially change the result.
GitHub에서 보기