スキル一覧に戻る
sato-dev1234

reviewing-flaky-patterns

by sato-dev1234

0🍴 1📅 2026年1月18日
GitHubで見るManusで実行

SKILL.md


name: reviewing-flaky-patterns description: "Detects test flakiness patterns including timing issues, environmental dependencies, state pollution, and non-deterministic behaviors. Use as part of parallel test review execution." allowed-tools: Read, Grep, Glob context: fork

Review criteria

Critical

  • Fixed sleep/wait: use condition-based waiting instead
  • Race conditions: await all async operations
  • Shared static state: avoid mutable static/global state in tests
  • Test order dependency: tests must be independent

Standard

  • Insufficient timeouts: use reasonable timeouts (>= 1s)
  • Hardcoded paths: use OS-agnostic paths
  • Environment variables: provide fallback values
  • Missing cleanup: match setup with teardown

Supplementary

  • Random values: use fixed test data
  • Current time: mock time in tests
  • External API calls: mock external services

Review workflow

Copy this checklist and track your progress:

Progress:
- [ ] Step 1: Parse GATHERED_INFO, TICKET_PATH, and CONFIG
- [ ] Step 2: Load project knowledge
- [ ] Step 3: Check criteria and detect violations
- [ ] Step 4: Score each finding (0-100)
- [ ] Step 5: Generate report

Step 1: Parse GATHERED_INFO, TICKET_PATH, and CONFIG

Parse from task prompt:

  • GATHERED_INFO: test code changes to review
  • TICKET_PATH: target ticket folder path
  • CONFIG: project configuration

Step 2: Load project knowledge

Run: python ~/.claude/scripts/resolve_knowledge.py --refs "${TICKET_PATH}/knowledge-refs.md" --workflow "/test-review" --base "${CONFIG.BASE_PATH}"

  • On success/partial: use knowledge[].content for context
  • On failure: continue without knowledge

Step 3: Check criteria and detect violations

Check each criterion in Review criteria section against GATHERED_INFO and detect violations.

Step 4: Score each finding (0-100)

For each finding, assign confidence score based on evidence strength:

  • 100: Absolutely certain, definitely real
  • 75: Highly confident, real and important
  • 50: Moderately confident, real but minor
  • 25: Somewhat confident, might be real
  • 0: Not confident, false positive

Step 5: Generate report

Output format:

## Flaky Patterns Review

Found X issues:

1. [Score: 95] Description

   file:line

2. [Score: 82] Description

   file:line

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

レビュー機能は近日公開予定です