wordpress-router
Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow/skill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging).
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o wordpress-router.zip https://jpskill.com/download/17343.zip && unzip -o wordpress-router.zip && rm wordpress-router.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17343.zip -OutFile "$d\wordpress-router.zip"; Expand-Archive "$d\wordpress-router.zip" -DestinationPath $d -Force; ri "$d\wordpress-router.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
wordpress-router.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
wordpress-routerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 2
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
WordPress Router
どのような時に使うか
このスキルは、ほとんどの WordPress タスクの開始時に、以下の目的で使用します。
- これがどのような種類の WordPress コードベースであるかを識別する(プラグイン vs テーマ vs ブロックテーマ vs WP core のチェックアウト vs フルサイト)。
- 適切なワークフローとガードレールを選択する。
- 最も関連性の高いドメインスキルに委譲する。
必要な入力
- リポジトリのルート(現在の作業ディレクトリ)。
- ユーザーの意図(何を変更したいか)と制約(WP のバージョンターゲット、WP.com の仕様、リリース要件)。
手順
- プロジェクトトリアージスクリプトを実行します。
node skills/wp-project-triage/scripts/detect_wp_project.mjs
- トリアージの出力を読み、以下を分類します。
- 主要なプロジェクトの種類。
- 利用可能なツール(PHP/Composer、Node、@wordpress/scripts)。
- 存在するテスト(PHPUnit、Playwright、wp-env)。
- バージョンのヒント。
- ユーザーの意図 + リポジトリの種類に基づいて、ドメインワークフローにルーティングします。
- 意思決定ツリーについては、
skills/wordpress-router/references/decision-tree.mdを参照してください。
- 意思決定ツリーについては、
- 変更を加える前にガードレールを適用します。
- 不明な場合は、バージョンの制約を確認します。
- ビルド/テストには、リポジトリの既存のツールと規約を優先します。
検証
- 重要なファイルを作成または再構築する場合は、トリアージスクリプトを再実行します。
- トリアージの出力が推奨するリポジトリの lint/test/build コマンドを実行します(利用可能な場合)。
失敗モード / デバッグ
- トリアージが
kind: unknownを報告する場合は、以下を検査します。- ルートの
composer.json、package.json、style.css、block.json、theme.json、wp-content/。
- ルートの
- リポジトリが巨大な場合は、スキャン範囲を狭めるか、トリアージスクリプトに無視ルールを追加することを検討してください。
エスカレーション
- ルーティングがあいまいな場合は、1 つ質問します。
- 「これは WordPress プラグイン、テーマ(クラシック/ブロック)、またはフルサイトのリポジトリのいずれを意図していますか?」
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
WordPress Router
When to use
Use this skill at the start of most WordPress tasks to:
- identify what kind of WordPress codebase this is (plugin vs theme vs block theme vs WP core checkout vs full site),
- pick the right workflow and guardrails,
- delegate to the most relevant domain skill(s).
Inputs required
- Repo root (current working directory).
- The user’s intent (what they want changed) and any constraints (WP version targets, WP.com specifics, release requirements).
Procedure
- Run the project triage script:
node skills/wp-project-triage/scripts/detect_wp_project.mjs
- Read the triage output and classify:
- primary project kind(s),
- tooling available (PHP/Composer, Node, @wordpress/scripts),
- tests present (PHPUnit, Playwright, wp-env),
- any version hints.
- Route to domain workflows based on user intent + repo kind:
- For the decision tree, read:
skills/wordpress-router/references/decision-tree.md.
- For the decision tree, read:
- Apply guardrails before making changes:
- Confirm any version constraints if unclear.
- Prefer the repo’s existing tooling and conventions for builds/tests.
Verification
- Re-run the triage script if you create or restructure significant files.
- Run the repo’s lint/test/build commands that the triage output recommends (if available).
Failure modes / debugging
- If triage reports
kind: unknown, inspect:- root
composer.json,package.json,style.css,block.json,theme.json,wp-content/.
- root
- If the repo is huge, consider narrowing scanning scope or adding ignore rules to the triage script.
Escalation
- If routing is ambiguous, ask one question:
- “Is this intended to be a WordPress plugin, a theme (classic/block), or a full site repo?”
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (2,227 bytes)
- 📎 references/decision-tree.md (2,642 bytes)