starwards-tdd

Official

Build Starwards features right, test-first, every time.

Authorstarwards
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Inconsistent testing practices lead to bugs, regressions, and unreliable code. This skill enforces a strict Test-Driven Development (TDD) workflow for Starwards, ensuring every piece of production code is backed by a failing-then-passing test.

Core Features & Use Cases

  • Red-Green-Refactor Cycle: Guides you through writing failing tests, implementing minimal code to pass, and then refactoring.
  • Starwards-Specific Testing: Covers Jest unit/integration tests, Playwright E2E tests, Colyseus state sync, and @gameField decorators.
  • Use Case: When adding a new ship system like a cloaking device, this skill ensures you write the failing test first, then implement the system, guaranteeing its functionality and preventing future bugs.

Quick Start

"I need to add a new cloaking device system. Guide me through the TDD process."

Dependency Matrix

Required Modules

jestplaywrightcolyseus

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: starwards-tdd
Download link: https://github.com/starwards/starwards/archive/main.zip#starwards-tdd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository