Communityコーディング&開発github.com

FSWP Core Contributor

WordPress Core コントリビューションステージを担当します。Trac チケットの発見・作成、wordpress-develop チェックアウトとテスト環境のセットアップ、コアコーディング規約・インラインドキュメント・後方互換性・テストに従ったパッチや GitHub プルリクエストの作成、チケットコメントの準備をガイドします。ブロックエディター関連の変更は Gutenberg リポジトリへ、セキュリティ報告は非公開プロセスへ振り分けます。fswp-developer からコアパッチ用に呼び出されます。コアワークフローの質問には直接参照してください。

FSWP Core Contributor とは?

このスキルは、WordPress Core にコントリビュートする際のワークフローを包括的に支援します。ユーザーが Trac チケットを検索・作成し、WordPress/wordpress-develop リポジトリの開発用チェックアウトと Docker ベースのテスト環境をセットアップし、コアコーディング規約(PHP、JS、CSS、HTML)、PHPDoc インラインドキュメント、後方互換性、PHPUnit テストを遵守したパッチまたはプルリクエストを作成する手順をガイドします。さらに、脆弱性は非公開プロセスへ、ブロックエディター関連の変更は Gutenberg リポジトリへ、プラグインやテーマのバグは適切なプロジェクトへルーティングする方法も提供します。このスキルは、fswp-developer によってコアパッチ作成時に呼び出されることを想定しており、コアワークフローに関する質問に直接回答するためにも使用できます。最終的に、fswp-qa-engineer を実行して変更がテストに合格し、規約を満たし、後方互換性が保たれていることを確認します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/syncwin/fswp-developer/tree/main/skills/fswp-core-contributor

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

FSWP Core Contributor は何をしますか?

基本原則(常に適用): fswp-developer/references/lean-coding.md(少なく書いて、まず再利用)、fswp-developer/references/coding-standards.md(コーディング規約、ドキュメント、i18n、アクセシビリティ)、および fswp-security-engineer(入力、出力、認可)。

ここに記載されたワークフローの事実は、2026-09-28 時点で Core Contributor Handbook と照合済みです。Core のプロセスは変更される可能性があります。助言を行う前に、fswp-developer/references/official-docs.md で時間に敏感な情報を確認してください。ここで何かを送信することはありません。ユーザー自身がチケットを提出し、プルリクエストを開きます(GitHub の自動化は予約されています。fswp-developer/references/github-foundation.md を参照)。

まず変更をルーティングする

変更箇所送り先
脆弱性Core ハンドブックにリンクされた非公開セキュリティプロセス。公開チケットや PR には決して送りません。その旨を伝えて停止します。
PHP、管理画面、API、テスト、ほとんどの Core コードTrac チケットと、WordPress/wordpress-develop に対するパッチまたはプルリクエスト(このスキル)
ブロックエディター(Gutenberg パッケージ、エディターUI、サイトエディター)WordPress/gutenberg の Issue とプルリクエスト。Core はそこからアップデートを受け取ります。そのリポジトリのコントリビューティングガイドを読んでください。
プラグインやテーマのバグCore ではありません。fswp-maintainer を使用して、そのプロジェクトに報告してください。
ドキュメント該当するハンドブックの Docs チームのプロセス

まずチケットを作成する

  1. Trac(https://core.trac.wordpress.org/)で症状を検索します。チケットの履歴とパッチを読んでください。
  2. チケットが存在しない場合、下書きを作成します。正確なタイトル、WordPress/PHP バージョン、再現手順、期待される動作と実際の動作、そしてそれがバグ(欠陥)であるか機能拡張であるかの理由を記載します。ユーザーが適切なコンポーネントに提出します。
  3. チケット上のワークフローキーワード(例:単体テストの要求)に注意して従ってください。

環境

通常のサイトではなく、開発用チェックアウトを使用します。

  1. WordPress/wordpress-develop をクローンします(正規リポジトリの Git ミラー。正規リポジトリは Subversion で管理されています)。
  2. 標準ワークフローには Docker と Node が必要です。チェックアウトルートから: npm install、npm run build:dev、npm run env:start、npm run env:install を実行します。
  3. PHP テストは npm run test:php で実行します。PHPUnit の引数はダブルダッシュの後に渡します。例: -- --group formatting。@ticket タグが付いたテストはチケット番号でグループとして実行されます。マルチサイトは独自の設定ファイルがあります(-c tests/phpunit/multisite.xml)。AJAX テストは --group ajax で実行します。
  4. Docker 以外のワークフロー(Composer、PHPUnit PHAR)も存在します。ハンドブックの PHPUnit ページを参照してください。

変更を作成する

  • trunk からブランチを作成し、ブランチ名はチケット番号にします(例: 12345-short-description)。変更は 1 つのチケットに集中させてください。
  • コーディング規約: WordPress PHP、JS、CSS、HTML の規約(Yoda 条件、タブ、スペース、エスケープ/サニタイズルールを含む)。変更したファイルで PHPCS を実行します。
  • インラインドキュメント: Core スタイルに従った、新規または変更された関数、フック、クラスに対する PHPDoc。@since はチケットのマイルストーンが示すバージョンに設定します。
  • 後方互換性: Core はパブリックな動作をほとんど壊しません。削除する代わりに非推奨にします(_deprecated_function() など)。フィルターとアクションは安定したままにし、関数シグネチャを維持します。
  • テスト: @ticket タグを付けて、変更前は失敗し変更後は合格する PHPUnit テストを追加または更新します。バグパッチにテストがない場合、通常は追加を求められます。
  • セキュリティとパフォーマンス: 他の WordPress コードと同じルール(fswp-security-engineer、fswp-performance-engineer)が適用され、より高い基準が求められます。
  • 無関係なフォーマット変更やリファクタリングをバンドルしないでください。

提出(ユーザーが行う)

  • Trac チケットに .diff ファイルを添付します。ファイル名はチケット番号にします。または、WordPress/wordpress-develop に対するプルリクエストを開き、チケットを参照させます。プルリクエストはレビュー用に使用され、GitHub 上ではマージされません。コミッターは正規リポジトリを通じてコミットするためです。
  • チケットにコメントを投稿します。パッチの内容、テスト方法、テスターが従う手順、および未解決の質問事項を記載します。references/ticket-comment-template.md を使用してユーザー向けにドラフトを作成します。
  • レビュー、変更要求、遅いサイクルを想定してください。チケット上で返信し、パッチを更新し、trunk にリベースし続けてください。

引き渡す前に確認する

Core チェックリストを使用して fswp-qa-engineer を実行します。再現手順が変更前は失敗し変更後は合格すること、関連するテストグループが合格すること、変更行でコーディング規約がクリーンであること、ドキュメントが存在すること、後方互換性が維持されていることを確認します。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

fswp-api-developer

Domain skill for WordPress REST API and Abilities API work in Full-Stack WP Developer. Covers registering routes with schemas, argument validation and sanitization, permission callbacks, controller classes, exposing post types and meta, authentication (cookie nonce, application passwords), pagination and errors, and registering abilities with input and output schemas and safety annotations. Use for any custom endpoint or machine-readable capability in a plugin or theme.

fswp-architect

Planning stage of Full-Stack WP Developer. Classifies the work (new plugin, new theme, update to an existing plugin or theme, add-on for another product, or WordPress Core patch), triages existing code with a bundled detection script, asks one round of essential questions, does competitive research, and produces one reviewable PRD or change brief with a single approval gate. Also covers Migration mode and multi-session handoff docs. Invoked by fswp-developer before any code is written; consult directly for PRD, change-brief, or handoff-doc questions.

fswp-block-developer

Domain skill for WordPress block editor work in Full-Stack WP Developer. Covers building custom Gutenberg blocks (block.json, static and dynamic rendering, attributes, supports, InnerBlocks, variations, deprecations, block bindings), block patterns, and the Interactivity API (data-wp directives, stores, server-side state), with the @wordpress/scripts build workflow. Use for any custom block, pattern, or front-end interactivity in a plugin or theme.

fswp-devops-engineer

Domain skill for WordPress development tooling in Full-Stack WP Developer. Covers local environments (wp-env with Docker, WordPress Playground and Blueprints), command-line site operations (plugin and theme management, database export, search-replace, cron, scaffolding), coding standards and static analysis (PHPCS with WordPress standards, PHPStan with WordPress stubs), PHP and JS testing setup, and the @wordpress/scripts toolchain. Use when setting up, running, or automating a WordPress dev or test environment.

fswp-maintainer

Change stage for existing WordPress code in Full-Stack WP Developer. Updates, fixes, refactors, and upgrades existing plugins and themes without breaking them, and builds add-ons for products you do not own (WooCommerce extensions, page-builder elements, extensions of other plugins) using hooks instead of edits to third-party files. Covers reading before changing, parity lists, deprecation, host compatibility, upgrade paths, and patch delivery. Invoked by fswp-developer after an approved change brief; consult directly for safe-change or add-on questions.

fswp-qa-engineer

Verification stage of Full-Stack WP Developer. Runs the mechanical gate for plugins and themes (house-rule scripts, PHP lint, PHPCS with WordPress standards, PHP compatibility, PHPStan with WordPress stubs), the manual checklist, PRD or change-brief scenario tests, and the pre-release check. Reports PASS, FAIL, or NOT RUN and never implies a skipped check passed. Invoked by fswp-developer after a build and again before delivery; consult directly to audit any plugin or theme folder.

fswp-reviewer

Independent review stage of Full-Stack WP Developer. Reviews a finished WordPress plugin, theme, add-on, or Core patch through a security lens (WordPress-specific vulnerabilities, REST and AJAX authorization with an API risk map, AI-generated-code risks), a quality lens (error handling, data and upgrade safety, performance, i18n, accessibility, comment accuracy, test gaps, class and type design, scope), and an optional lean lens for trimming over-engineering, reporting only high-confidence findings in a fixed format. Invoked by fswp-developer after the verify gate, normally through the fswp-code-reviewer agent; consult directly to review or optimize any WordPress code.

fswp-theme-developer

Theme build stage of Full-Stack WP Developer. Builds custom WordPress themes - block themes (theme.json, templates, template parts, patterns, style variations), classic themes (template hierarchy, functions.php, theme supports), hybrids, and child themes - with accessibility, escaping, and directory readiness built in, plus a scaffold script. Invoked by fswp-developer after an approved PRD for a new theme; consult directly for a specific theme pattern. For changes to an existing theme use fswp-maintainer.

syncwin/fswp-plugin-developer

Plugin build stage of Full-Stack WP Developer. House standards and code templates for real WordPress plugins (not shortcode snippets) - folder anatomy, activation/uninstall lifecycle, custom post types and tables, admin UI tiers, front-end output on the Atomic Framework, REST and cron, i18n, distribution, and the Tier 3 React admin stack - plus a scaffold script. Also the base structure for add-ons. Invoked by fswp-developer after an approved PRD; consult directly for a specific plugin build pattern.

関連スキル