Back to list
metabench

targeted-testing

by metabench

1🍴 0📅 Jan 18, 2026

SKILL.md


name: targeted-testing description: Pick and run the smallest correct validation step (checks → focused Jest by path → broader suites). Use whenever you modify code and need confidence quickly.

Targeted Testing

Scope

  • Select the smallest test/check that proves the change
  • Prevent slow, flaky, or irrelevant test runs
  • Capture evidence in session notes

Inputs

  • Files changed
  • Whether the change is UI server / CLI / DB adapter / crawler
  • Existing check scripts near the code

Procedure

  1. Prefer a local check script first (fast, deterministic, exits cleanly).
  2. Then run the smallest Jest suite by path.
  3. Only then widen to broader suites if needed.
  4. Record the exact commands and outcomes in WORKING_NOTES.md.

If you need browser semantics but don’t want full Jest E2E yet, prefer the single-browser scenario runner:

  • node tools/dev/ui-scenario-suite.js --suite=scripts/ui/scenarios/<suite>.suite.js --scenario=001 --print-logs-on-failure

Validation

  • Official Jest invocation rule (repo policy): use npm run test:by-path <file>.

Escalation / Research request

Ask for dedicated research if:

  • there is no obvious “smallest check” and you need a new check harness
  • the feature spans multiple systems and you need a validation ladder proposal

References

  • Testing quick reference: docs/TESTING_QUICK_REFERENCE.md
  • Validation ladder guidance: AGENTS.md

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