// Master index for Starwards development workflow - shows when to use each skill, workflow diagram, and how skills integrate together
| name | starwards-workflow |
| description | Master index for Starwards development workflow - shows when to use each skill, workflow diagram, and how skills integrate together |
| version | "2025-11-05T00:00:00.000Z" |
| author | Claude (based on Starwards project analysis) |
| related_skills | ["using-superpowers","starwards-tdd","starwards-debugging","starwards-ci-debugging","starwards-verification","starwards-monorepo","starwards-colyseus","writing-plans","executing-plans"] |
This is the master index for all Starwards Claude skills. Use this to understand the complete development workflow and when to activate each skill.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STARWARDS WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโ
โ NEW TASK โ
โโโโโโโโฌโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. PLANNING PHASE โ
โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โ
โ โ writing-plans โโโโโโโโโถโ executing-plans โ โ
โ โ (if complex) โ โ (batch execution)โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 2. DEVELOPMENT PHASE (Red-Green-Refactor) โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ starwards-tdd โ โ
โ โ โข Write failing test (RED) โ โ
โ โ โข Verify it fails correctly โ โ
โ โ โข Minimal implementation (GREEN) โ โ
โ โ โข Verify it passes โ โ
โ โ โข Refactor & repeat โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โ (if test fails unexpectedly) โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ starwards-debugging โ โ
โ โ Phase 1: Root cause investigation โ โ
โ โ Phase 2: Pattern analysis โ โ
โ โ Phase 3: Hypothesis testing โ โ
โ โ Phase 4: Implementation โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 3. VERIFICATION PHASE โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ starwards-verification โ โ
โ โ โข npm run test:types (TypeScript) โ โ
โ โ โข npm run test:format (ESLint/Prettier) โ โ
โ โ โข npm run build (all modules) โ โ
โ โ โข npm test (unit/integration) โ โ
โ โ โข npm run test:e2e (Playwright) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 4. COMPLETION PHASE โ
โ โ
โ โข Git commit with descriptive message โ
โ โข Push to feature branch โ
โ โข Create PR (if ready) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SUPPORTING SKILLS (use as needed throughout) โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ โstarwards-monorepoโ โstarwards-colyseusโ โusing-superpowersโ
โ โBuild order โ โ@gameField โ โSkill discovery โ โ
โ โ3-terminal setup โ โState sync โ โMandatory use โ โ
โ โModule deps โ โJSON Pointer โ โAnnouncements โ โ
โ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Skill | When to Use | Key Activities |
|---|---|---|
| using-superpowers | Start of ANY conversation | Check for relevant skills, announce usage |
| writing-plans | Complex multi-step feature | Create detailed implementation roadmap |
| executing-plans | Following a plan | Batch execution with checkpoints |
| starwards-tdd | Implementing ANY feature/fix | Write test first, RED-GREEN-REFACTOR |
| starwards-debugging | Encountering bugs/failures | 4-phase systematic root cause analysis |
| starwards-ci-debugging | GitHub Actions CI failures | Install gh CLI, download logs, analyze errors |
| starwards-verification | Before claiming "done" | Run full test suite, verify evidence |
| starwards-monorepo | Build issues, workspace setup | Understand module dependencies, build order |
| starwards-colyseus | State sync issues, multiplayer | @gameField patterns, room architecture |
1. using-superpowers โ Announce using starwards-tdd
2. starwards-monorepo โ Ensure core watch mode running (Terminal 1)
3. starwards-tdd:
a. Write unit test (modules/core/test/shield.spec.ts) โ RED
b. Implement system (modules/core/src/ship/shield.ts) โ GREEN
c. Add to ShipState with @gameField
d. Write integration test with ShipTestHarness โ RED
e. Create manager, add to update loop โ GREEN
4. starwards-colyseus โ Verify @gameField decorator order
5. starwards-verification โ Run npm test, npm run build
6. Commit: "feat: add shield system with recharge mechanics"
1. using-superpowers โ Announce using starwards-tdd
2. starwards-monorepo โ Ensure all 3 terminals running
3. starwards-tdd:
a. Write E2E test (modules/e2e/test/shield-widget.spec.ts) โ RED
b. Create widget (modules/browser/src/widgets/shield.ts) โ GREEN
c. Register in Dashboard
d. Test with data-id selector
4. starwards-verification โ Run npm run test:e2e
5. Commit: "feat: add shield status widget to engineering screen"
1. starwards-debugging:
Phase 1: Investigate (read error, reproduce, check changes)
Phase 2: Pattern analysis (find working examples, compare)
Phase 3: Hypothesis (form single hypothesis, test minimally)
Phase 4: Implementation (see step 2 below)
2. starwards-tdd:
a. Write failing test reproducing bug โ RED
b. Implement fix โ GREEN
3. starwards-verification โ Full test suite
4. Commit: "fix: shield strength not syncing to clients"
1. starwards-colyseus โ Review state sync patterns
2. starwards-tdd:
a. Write MultiClientDriver test โ RED
b. Add @gameField to state
c. Implement command handler
d. Test with 2+ clients โ GREEN
3. starwards-verification โ npm test, npm run test:e2e
4. Commit: "feat: multi-crew shield power distribution"
1. starwards-debugging โ Phase 1: Check which module failing
2. starwards-monorepo:
- Verify build order (core โ others)
- Check if core watch mode running
- Try fresh build: npm run clean && npm run build
3. If still broken โ starwards-debugging Phase 2-4
4. starwards-verification โ Verify clean build
| From Skill | To Skill | When |
|---|---|---|
| using-superpowers | ANY | Start of conversation |
| writing-plans | executing-plans | Plan complete, ready to implement |
| executing-plans | starwards-tdd | Implementing each task in plan |
| starwards-tdd | starwards-debugging | Test fails unexpectedly |
| starwards-debugging | starwards-tdd | Found root cause, write test for fix |
| starwards-tdd | starwards-verification | Implementation complete |
| starwards-verification | (commit) | All checks pass |
| starwards-monorepo | starwards-tdd | Setting up dev environment |
| starwards-colyseus | starwards-tdd | Implementing state sync feature |
| starwards-colyseus | starwards-debugging | State sync not working |
using-superpowers (master skill)
โโโ ALL other skills
starwards-tdd
โโโ starwards-monorepo (understand build workflow)
โโโ starwards-colyseus (when testing state sync)
โโโ starwards-debugging (when tests fail)
starwards-debugging
โโโ starwards-tdd (write test for fix)
โโโ starwards-monorepo (debug build issues)
โโโ starwards-colyseus (debug state sync)
starwards-verification
โโโ starwards-monorepo (understand test commands)
โโโ starwards-tdd (verification patterns)
Before responding to ANY user message:
Example:
User: "Add a new cloaking device system to ships"
Claude:
1. Checks skills โ starwards-tdd matches (implementing new feature)
2. Reads starwards-tdd skill
3. Announces: "I'm using starwards-tdd to implement the cloaking device"
4. Follows TDD cycle: write test โ verify RED โ implement โ verify GREEN
| User Says | Activate Skill |
|---|---|
| "Add X", "Implement Y", "Create Z" | starwards-tdd |
| "Fix bug", "X is broken", "Not working" | starwards-debugging |
| "Is it done?", "Does it work?", "Can I commit?" | starwards-verification |
| "Build fails", "Can't find module", "Import error" | starwards-monorepo |
| "State not syncing", "@gameField issue" | starwards-colyseus |
| "Plan out X", "How should I implement Y?" | writing-plans |
| "Follow this plan..." | executing-plans |
Skills:
Development workflow in 4 steps:
When stuck:
Remember: using-superpowers is MANDATORY at start of every conversation.