スキル一覧に戻る
sato-dev1234

reviewing-assertion-quality

by sato-dev1234

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

SKILL.md


name: reviewing-assertion-quality description: "Reviews test code for assertion quality including precision levels, property coverage, and validation patterns. Use as part of parallel test review execution." allowed-tools: Read, Grep, Glob context: fork

Review criteria

Critical

  • Assertion strictness: use exact value assertions when value is known
  • Property coverage: validate all essential properties of result objects
  • Collection size validation: assert size before accessing elements

Standard

  • Greater than zero: use exact count when known
  • Not empty checks: use exact value when known

Supplementary

  • Truthy/Falsy: prefer property-based assertions over boolean checks

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:

## Assertion Quality 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

レビュー

💬

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