بنقرة واحدة
tdd-check
TDD cycle helper - run test, check result, update increment file
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
TDD cycle helper - run test, check result, update increment file
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Onboard a new contributor to the CineMatch project - setup environment, verify tools, and explain the project
Intelligent just target wrapper with context-aware suggestions for CineMatch
Backlog workflow management - new, start, done commands for incremental delivery. Supports both admin (main branch) and contributor (feature branch) workflows.
Accept a new contributor with write access and close their request issue
Force just check before commit, block if failures
Generate conventional commit messages with emoji, ensure no Co-Authored-By
| name | tdd-check |
| description | TDD cycle helper - run test, check result, update increment file |
Guide through red-green-refactor with explicit test tracking.
/tdd-check [test-path]Run test and guide next step based on result.
Before writing any code, create a test list in the increment file:
## Implementation Plan
### Phase 1: Basic setup
- [ ] test health endpoint returns 200
- [ ] test create room generates 4-digit code
- [ ] test join room adds participant
### Phase 2: Core features
- [ ] test get movies returns static list
- [ ] test submit vote records like/dislike
- [ ] test match found when both like same movie
Rules:
/tdd-check tests/test_feature.py
→ Running: pytest tests/test_feature.py -v
→ ✗ FAILED (expected - we're in red phase)
→ Next: Write minimal code to make it pass
/tdd-check tests/test_feature.py
→ Running: pytest tests/test_feature.py -v
→ ✓ PASSED
→ Next: Refactor while keeping tests green
→ Mark test done in increment file? [Y/n]
/tdd-check tests/test_feature.py
→ Running: pytest tests/test_feature.py -v
→ ✓ PASSED (still green after refactor)
→ Good to go. Next test?
When test passes, offer to check off in increment file:
Found increment file: docs/backlog/in-progress/00043-feature.md
Mark "- [ ] test feature" as done? [Y/n]
→ Updating file...
→ - [x] test feature
/tdd-check [path]Run specific test file.
/tdd-check --redExpect failure (red phase). Warns if test passes unexpectedly.
/tdd-check --greenExpect pass (green phase). Error if fails.
/tdd-check --watchRun in watch mode: re-run on file changes.
Parse Implementation Plan section for test items:
## Implementation Plan
- [ ] test auth middleware rejects invalid tokens
- [ ] test auth middleware accepts valid tokens
- [ ] test auth middleware sets user context
Suggest next test:
Next unimplemented test: "test auth middleware rejects invalid tokens"
Run? [Y/n/specific test]