소스 정보
- 저장소
- archibate/dotfiles-opencode
- 최근 소스 활동
- 2026년 2월 22일 07:00
- 감지된 SKILL.md 언어
- 영어
- 스타
- 106
- 포크
- 21
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/archibate/dotfiles-opencode --skill tdd-workflow명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | tdd-workflow |
| description | Use this skill for developing software in TDD (Test-Driven Design). |
A strict 7-step TDD cycle that produces high-quality, well-tested code. Each step must be verified and confirmed before proceeding. Status is only updated after real verification
Core principle: RED (failing test) -> GREEN (minimal implementation) -> REFACTOR.
At the start of each session, before doing anything else:
tdd-summary/ to check for existing step reports (e.g. step-1.md, step-2.md).step-1.md under
an "Assumptions" section rather than asking for clarification.Write tdd-summary/step-1.md:
# Step 1 - Understand Intent
## Functional Requirements
### FR-1: <title>
<description>
### FR-2: <title>
<description>
## Assumptions
- <any ambiguous point and the assumption made>
For each functional requirement, create a scenario document at docs/scenario/<name>.md:
# Scenario: <Title>
- Given: <precondition>
- When: <action>
- Then: <expected outcome>
## Test Steps
- Case 1 (happy path): <brief description>
- Case 2 (edge case): <brief description>
- Case N: ...
## Status
- [x] Write scenario document
- [ ] Write solid test according to document
- [ ] Run test and watch it failing
- [ ] Implement to make test pass
- [ ] Run test and confirm it passed
- [ ] Refactor implementation without breaking test
- [ ] Run test and confirm still passing after refactor
**IMPORTANT**: Only update above status when a step is confirmed complete. Do not hallucinate.
Invariant: Count of FR = count of scenario documents. Verify before continuing.
Write tdd-summary/step-2.md:
# Step 2 - Write Scenario Docs
## Scenario Documents Created
- FR-1: <title> - `docs/scenario/<name>.md`
- ...
For each scenario document:
tests/scenario/test_<name>.py (or equivalent).- [x] Write solid test according to document.After writing, run each test and verify it fails:
- [x] Run test and watch it failing.Invariant: Count of scenario documents = count of test files. Verify before continuing.
Write tdd-summary/step-3.md:
# Step 3 - Write Failing Test
## Failing Tests Created
- FR-1: <title> - `docs/scenario/<name>.md` - `tests/scenario/test_<name>.py`
- ...
For each failing test:
- [x] Implement to make test pass.- [x] Run test and confirm it passed.Write tdd-summary/step-4.md:
# Step 4 - Implement to Make Tests Pass
## Implementations Completed
- FR-1: <title> - `docs/scenario/<name>.md` - Implementation in `<module>`
- ...
All tests now pass. Scenario documents updated.
For each scenario where tests now pass:
- [x] Refactor implementation without breaking test.- [x] Run test and confirm still passing after refactor.Write tdd-summary/step-5.md:
# Step 5 - Refactor for Maintainability
## Refactorings Completed
- FR-1: <title> - `docs/scenario/<name>.md` - <what was improved>
- ...
All tests still pass after refactoring. Scenario documents updated.
Run the complete test suite (all tests, not just those added in this session):
NEVER modify existing tests that are unrelated to the current functional requirements.
Write tdd-summary/step-6.md:
# Step 6 - Regression Test
## Regression Test Results
- Complete test suite executed: `<command>`
- All tests pass: Yes / No
- If regression found: <brief description of fix applied>
Verify that every scenario document has all status checkboxes checked.
Review:
Write tdd-summary/step-7.md:
# Step 7 - Final Review
## Summary
- Functional requirements addressed:
- FR-1: ...
- Scenario documents: `docs/scenario/...`
- Test files: `tests/scenario/...`
- Implementation complete and all tests passing after refactoring.
## How to Test
Run: `<test command>`
Finally, archive the summary folder:
mv tdd-summary/ completed-tdd-archives/tdd-$(date +%Y%m%d-%H%M%S)
TDD workflow complete.
SOC 직업 분류 기준