ソース情報
- リポジトリ
- ww-w-ai/marketplace
- ソースの最終更新活動
- 2026年5月10日 00:50
- 検出された SKILL.md の言語
- 英語
- スター
- 0
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SOC 職業分類に基づく
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/ww-w-ai/marketplace --skill validate-testsコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
Plan and execute multi-feature roadmaps as sequential, concurrent, or mixed sprint clusters. Trigger on sprint planning, run sprints, plan then build, /cowork-sprint, or requests to break an initiative into sprints. Do not use for trivial edits, one-shot fixes, or one feature (use pdca-wf).
USE for ANY single-feature build request. Trigger when the user asks to implement, build, add, or rework one feature end-to-end, supplies a feature Plan or Design for execution, explicitly requests PDCA, or asks to verify implementation completeness. Runs the shared Research, Brief, Plan review, Design review, Do, targeted Check/Act, and Report lifecycle. Also runs execution-only when cowork-sprint supplies reviewed planning artifacts. Do not use for multi-feature initiatives (use cowork-sprint), trivial edits under about 30 minutes, or pure research with no build.
Max plan hit the wall? Report your 5h window data — we're mapping the rate limit formula Anthropic won't publish
| name | validate-tests |
| description | Detects test anti-patterns based on behavior testing principles |
| triggers | ["validate tests","check tests"] |
| user-invocable | true |
| allowed-tools | ["Read","Write","Glob","Grep","Bash"] |
Corresponding rule: testing.md
Statically detect anti-patterns in test code based on behavior-driven testing principles (testing.md). Identify patterns that hurt maintainability, such as implementation-detail testing, excessive mocking, and shared global state.
*.test.*, *.spec.*, test_*, *_test.*)Detect patterns where test names provide no clue to the cause of failure.
Search patterns:
test_\d+$ (names ending only in a number: test_1, test_2)test_it_workstest_functiontest_oktest_successit\(["']works["'] (JS/TS: it('works'))it\(["']should work["']test\(["']test["'] (JS/TS: test('test'))Severity: WARN
Detect patterns that verify call count/existence of internal methods.
Search patterns:
.call_count.called.assert_called_with.assert_called_once.assert_called_once_with.assert_any_call.toHaveBeenCalledTimes (Jest).toHaveBeenCalledWith (Jest)verify(.*).times( (Java Mockito)Severity: WARN
Detect patterns where a single test function uses 4 or more Mock objects.
Search patterns:
Mock() or mock.patch appears 4+ times in a single test functionjest.fn() or jest.mock appears 4+ times in a single test@mock.patch decorators: 4+ on a single test functionSeverity: WARN (when 4 or more)
Detect patterns where test files create instances at module level, sharing state across tests.
Search patterns:
= new (instance creation) -- at the top level of a test file (outside functions/classes)shared_ prefixlet declarations that are mutated by tests (JS/TS)global keyword at the top level of a test fileSeverity: WARN
Detect patterns where unit test files directly call DB connections/queries. Exclude integration test files whose names contain integration, e2e, or integ.
Search patterns:
db.querydb.executedb.sessiondb.connectprisma. (query methods)mongoose.connectconnection.executepool.queryExclusion condition: file name contains integration, e2e, or integ
Severity: WARN
Glob to collect test files (*.test.*, *.spec.*, test_*, *_test.*)Grep each pattern across all test filesRead test files and tally Mock count per functionRead test files and detect instance creation at module level (outside functions/classes)Output the matrix below before generating the final report. Do not proceed until every category has been scanned.
| Category | Status | Items Checked | Findings | Severity | Evidence |
|---|---|---|---|---|---|
| Vague Test Names | ? | ? | ? | WARN | {Glob/Grep, files, pattern} |
| Implementation-Detail Tests | ? | ? | ? | WARN | {Glob/Grep, files, pattern} |
| Excessive Mocks | ? | ? | ? | WARN | {Read, scanned files} |
| Shared Global State | ? | ? | ? | WARN | {Read, scanned files} |
| DB Dependency | ? | ? | ? | WARN | {Grep, files, pattern} |
Status values: PASS (verification complete, no issues), NOT_APPLICABLE (no test files), SKIPPED (plugin issue), SHALLOW (partial scan)
Check every item before writing the report. If any item is unchecked, go back and complete it.
Before writing to .ww-w-ai/devtools/validate-tests/, verify the JSON output:
Generate the validation report in the user's conversation language.
Output detection results as a Markdown table in this format:
===== Test Validation Report =====
| File:Line | Type | Description |
|-----------|------|-------------|
| `src/services/auth.test.ts:15` | Vague Name | `test_1` -- cannot identify failure cause |
| `src/services/order.test.ts:42` | Implementation Detail | `.assert_called_once_with` -- internal-call verification |
| `src/services/payment.test.ts:20` | Excessive Mocks | 6 Mocks used -- design review needed |
| `test_user.py:5` | Global State | `shared_cart = Cart()` -- state shared across tests |
| `src/utils/calc.test.ts:30` | DB Dependency | Direct `db.query` call -- unit test depends on DB |
Total anti-patterns: {N}
Vague Names: {A}
Implementation Detail: {B}
Excessive Mocks: {C}
Global State: {D}
DB Dependency: {E}
===============================
When no anti-patterns are found:
===== Test Validation Report =====
No anti-patterns.
===============================
After generating the test validation report, save results to .ww-w-ai/devtools/validate-tests/:
.ww-w-ai/devtools/validate-tests/ if missinglatest.json -- structured result following templates/schema.jsonlatest.md -- human-readable report following templates/report.template.mdhistory/ -- copy latest.json to .ww-w-ai/devtools/validate-tests/history/{timestamp}.jsonlatest.md is generated in the user's conversation language. JSON field names stay in English regardless of language.
The JSON output enables machine-parseable history tracking and cross-run comparison.
The history/ directory preserves previous executions for trend analysis.
mkdir -p .ww-w-ai/devtools/validate-tests/history). The validation itself is read-only and does not modify project files.legacy, migration, or compat, annotate the result with "(legacy allowance).".toHaveBeenCalledWith can also be used for external-dependency verification (e.g., API calls), so results are presented as advisory.beforeEach/setUp are distributed and tallied against each test.For detailed validation criteria, evidence tables, and examples:
../../docs/specs/testing.md