ワンクリックで
profile-wp-functions
Profile WordPress to identify functions suitable for Rust replacement.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Profile WordPress to identify functions suitable for Rust replacement.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Add a WordPress function replacement. Full workflow from WP source to Rust implementation, testing, and registration.
Benchmark a change to prove it is faster. Runs Criterion and PHP benchmarks before and after, compares results, and rejects regressions.
Debug when a Rust implementation produces different output than the WordPress fixture. Identifies the exact behavioral difference and fixes it.
Build the extension for PHP 8.3, install in the WordPress profiling stack, and verify it works end-to-end.
| name | profile-wp-functions |
| description | Profile WordPress to identify functions suitable for Rust replacement. |
| disable-model-invocation | true |
cd profiling && docker compose up -d
./profiling/setup-wordpress.sh # if not already installed
SPX UI: http://localhost:8080/?SPX_UI_URI=/&SPX_KEY=dev
curl -H "Cookie: SPX_ENABLED=1; SPX_KEY=dev" http://localhost:8080/
curl -H "Cookie: SPX_ENABLED=1; SPX_KEY=dev" http://localhost:8080/patina-benchmark/
curl -H "Cookie: SPX_ENABLED=1; SPX_KEY=dev" http://localhost:8080/?s=lorem
For each function using >0.5% wall time or >50 calls/request, score on:
Score >= 70: implement. Also note if pluggable, if it calls apply_filters, if it depends on DB/state (skip those).
cd profiling && docker compose down