Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add morodomi/tdd-skills --skill wordpress-qualitygit clone --depth 1 https://github.com/morodomi/tdd-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/morodomi/tdd-skills/wordpress-quality)<a href="https://agentmods.dev/skills/morodomi/tdd-skills/wordpress-quality"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/wordpress-quality/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/morodomi/tdd-skills/wordpress-quality"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/wordpress-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.00663 |
| Opus 5.5 | $0.00014 | $0.00265 |
| Sonnet 5.5 | $0.00007 | $0.00133 |
| Haiku 4.5 | $0.00003 | $0.00066 |
Grade A, and why
wordpress-quality scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
WordPress Quality Check
WordPress/Bedrock プロジェクト固有の品質チェックツール。
汎用PHPツールは tdd-php 参照。
Commands
| ツール | コマンド | 用途 |
|---|---|---|
| PHPStan | ./vendor/bin/phpstan analyse |
静的解析(phpstan-wordpress) |
| WPCS | ./vendor/bin/phpcs --standard=WordPress |
コーディング規約 |
| PHPUnit | ./vendor/bin/phpunit |
テスト実行 |
WP_UnitTestCase Helpers
| ヘルパー | 用途 |
|---|---|
$this->factory()->user->create() |
ユーザー作成 |
$this->factory()->post->create() |
投稿作成 |
$this->go_to($url) |
URL遷移シミュレート |
wp_set_current_user($id) |
現在ユーザー設定 |
Test Categories
Unit vs Integration
| カテゴリ | 対象 | 例 |
|---|---|---|
| Unit | 単一クラス、フック不使用 | Helper, Utility |
| Integration | WordPress環境依存 | Hook, REST API, CPT |
テスト配置
tests/
├── unit/ # 単体テスト(WP不要)
│ └── HelperTest.php
└── integration/ # 統合テスト(WP必要)
├── HookTest.php
└── RestApiTest.php
Hook Tests
class HookTest extends WP_UnitTestCase
{
public function test_filter_modifies_content(): void
{
add_filter('the_content', 'my_content_filter');
$result = apply_filters('the_content', 'Hello');
$this->assertStringContainsString('Modified', $result);
}
}
REST API Tests
class RestApiTest extends WP_UnitTestCase
{
public function test_get_items(): void
{
$admin = $this->factory()->user->create(['role' => 'administrator']);
wp_set_current_user($admin);
$request = new WP_REST_Request('GET', '/wp/v2/posts');
$response = rest_do_request($request);
$this->assertEquals(200, $response->get_status());
}
}
Quality Standards
| 項目 | 目標 |
|---|---|
| PHPStan Level | 6+(phpstan-wordpress) |
| カバレッジ | 90%+ |
| WPCS | エラー0 |
Reference
- 詳細: reference.md
- 汎用PHP: tdd-php プラグイン
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 92 lines · 34 tokens per session scan A 5c26fda7cb02
wordpress-quality is a skill published in the GitHub repository morodomi/tdd-skills (9 stars, last pushed 9mo ago), licensed MIT. It adds 34 tokens to every session and 663 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
wordpress-quality compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wordpress-qualitymorodomi/tdd-skills | Skill | 9 | 9mo ago | MIT | A | 34 | Claude Code |
| test-masterJeffallan/claude-skills | Skill | 13k | today | MIT | A | 104 | Claude Code |
| migrate-xunit-to-xunit-v3dotnet/skills | Skill | 6.5k | today | MIT | A | 149 | Claude Code |
| go-testingGentleman-Programming/gentle-ai | Skill | 9.8k | yesterday | MIT | A | 26 | Claude Code, Codex |
| dart-testdartsim/dart | Skill | 1.2k | yesterday | BSD-2-Clause | A | 18 | Claude Code, Codex |
| restore-internals-seams-in-finally-blocks-after-each-testZaxbyHub/opencode-swarm | Skill | 557 | today | MIT | A | 26 | OpenCode |
| test-generatorrshankras/claude-code-apple-skills | Skill | 928 | 27d ago | MIT | A | 33 | Claude Code |