Back to list
CyanAutomation

judokon-test-author

by CyanAutomation

A web-based judo-themed card battle game - with simplified stats, vibrant design, and fast-paced gameplay.

1🍴 0📅 Jan 23, 2026

SKILL.md


name: judokon-test-author description: Writes and updates automated tests for JU-DO-KON! using Vitest and Playwright. Use whenever logic, state, or behaviour changes.

Skill Instructions

This skill makes verification mandatory.

Inputs / Outputs / Non-goals

  • Inputs: changed logic, affected features, relevant test locations.
  • Outputs: updated tests, coverage notes, targeted test commands.
  • Non-goals: full suite runs without need or DOM-mutation tests.

What this skill helps accomplish

  • Protect game logic from regressions
  • Validate state transitions and rules
  • Ensure feature flags behave correctly

When to use this skill

  • Adding or modifying battle logic
  • Changing state machines
  • Introducing new features or flags
  • Fixing bugs

Testing principles

  1. No logic change without tests
  2. Test behaviour, not implementation
  3. State transitions must be explicit
  4. Feature flags require on/off coverage

Test execution

  • Prefer targeted runs: npx vitest run tests/<path>.test.js
  • Use npm run test:battles:classic or npm run test:battles:cli when relevant.

DOM discipline

  • Do not mutate DOM directly in tests; use component APIs or user-level events.

Required test types

  • State transition tests
  • Rule evaluation tests
  • Feature flag toggle tests
  • Smoke tests for entry wiring

Expected output

  • New or updated test files
  • Clear test descriptions
  • Coverage-aware suggestions when gaps exist

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon