AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Wordpress Quality

skill-morodomi-tdd-skills-wordpress-quality · by morodomi

WordPress品質チェック。PHPStan/WPCS/PHPUnit実行時に使用。「WordPressの品質チェック」「WP テスト」で起動。

— No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-morodomi-tdd-skills-wordpress-quality

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-morodomi-tdd-skills-wordpress-quality)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 7mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Wordpress Quality? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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](reference.md)
  • 汎用PHP: tdd-php プラグイン

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.