Back to list
do-ops885

testing

by do-ops885

Dermatology GOAP Orchestrator

0🍴 0📅 Jan 25, 2026

SKILL.md


name: testing description: Implements comprehensive test suite using Vitest for unit tests and Playwright for E2E tests with safety interception scenarios license: MIT compatibility: opencode metadata: audience: developers workflow: development

What I do

I maintain the test suite for the clinical pipeline. I write and run unit tests with Vitest (jsdom) and E2E tests with Playwright. I ensure >80% code coverage and specifically test "Safety Interception" scenarios.

When to use me

Use this when:

  • You need to write or run tests for the codebase
  • You're verifying safety calibration triggers correctly
  • You're debugging test failures or coverage gaps

Key Concepts

  • Vitest: Unit test framework with jsdom environment
  • Playwright: E2E browser testing framework
  • Safety Interception: Tests for low-confidence path routing
  • 80% Coverage: Minimum coverage requirement

Source Files

  • tests/unit/*.test.ts: Unit tests using Vitest
  • tests/e2e/*.spec.ts: E2E tests using Playwright
  • tests/setup.ts: Test polyfills and configuration
  • tests/components/*.test.tsx: Component tests

Code Patterns

  • Unit tests: Import components, test in isolation
  • E2E tests: Simulate complete user workflows
  • Test setup: Polyfills for crypto, ResizeObserver

Commands

npm run test              # Run all Vitest tests
npm run test -- path      # Run single test file
npx playwright test       # Run E2E tests
npx playwright test --ui  # Run E2E with UI mode

Operational Constraints

  • Maintain >80% coverage on all new code
  • Write E2E scenarios for Safety Interception
  • Never skip test failures - fix the code or the test

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon