superforge-test

Solid

Drive implementation through Red-Green-Refactor TDD across Web (Jest, Vitest, Playwright), iOS (Swift Testing, XCTest), and Android (JUnit, Compose Test), verifying each red and green state by actually running the suite. Use when the user says "write tests", "TDD", "test first", "add test coverage", "refactor safely", "テストを書いて", "テスト先に", "TDD", "リファクタリング", "テストが無い", or runs /superforge-test.

Testing & QA 1 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
10
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
81
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Superforge Test — Multi-Platform Test-Driven Development Engine Use this skill when implementing new features or refactoring existing code across Web, iOS, and Android. Code written without tests or written *before* tests violates this workflow. --- ## The Red-Green-Refactor Cycle 1. **RED**: Write a focused failing test targeting the exact contract. 2. **VERIFY RED**: Run the test runner immediately and confirm clean failure for the *expected reason*. 3. **GREEN**: Write the minimal production code to satisfy the test. 4. **VERIFY GREEN**: Re-run the test and confirm clean passing output. 5. **REFACTOR**: Polish code for readability, dynamic layout, and performance without breaking tests. --- ## Test Runners by Platform - **Web (JS/TS)**: `npm test -- path/to/spec.test.ts` (Jest / Vitest / Playwright). - **iOS Native**: `xcodebuild test -scheme <Scheme> -destination 'platform=iOS Simulator,name=iPhone 16'` or `swift test`. - **Android Native**: `./gradlew test` (Unit tests) or `./gradlew connectedCheck` (Espresso/Compose UI tests). --- ## Artifact Tests are the artifact. When `docs/plan.md` exists, fill in the proof line of each task with the exact command that proves it, so an unattended run can verify itself without a human interpreting the output. ## Delegate when a sharper skill is installed `test-driven-development`, `tdd-feature`, `tdd-bug-fix` (discipline) · `tdd-refactor-guard`, `characterization-test-generator` (refactor safety) · `test-generator`, `te...

Details

Author
takaoumehara
Repository
takaoumehara/superforge-skill
Created
3 days ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category