一键导入
wp-rocket-frontend-architecture
Use this skill when changing admin JavaScript, CSS, or HTML/Twig templates in WP Rocket.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when changing admin JavaScript, CSS, or HTML/Twig templates in WP Rocket.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
User-facing entry point for the wp-rocket issue workflow. Invoke directly to start a delivery run from a GitHub issue number, URL, or raw description. Runs inline in your conversation context; spawns specialist agents (ticket-writer, grooming-agent, challenger, backend-agent, frontend-agent, release-agent, lead-reviewer, qa-engineer) as isolated sub-agents; invokes supporting skills (knowledge-graph, dod, docs, issue-workflow) inline. Routes based on structured JSON outputs from each agent, manages loop counters, handles escalations, and maintains a live HTML run log.
Use this skill when adding or modifying WordPress abilities
Adversarially review a grooming spec before implementation starts. Finds hidden risks, unvalidated assumptions, and missing dependencies. Standalone entry point for the challenger agent.
Check a change against WordPress.org plugin rules and PHPCS standards.
Update developer-facing documentation to reflect code changes on the current branch. Runs as an inline skill inside backend-agent and frontend-agent (step 2.5 of the internal sequence) after implementation and before DOD. Receives the explicit list of changed files from the implementation agent. No-op if no public API changes occurred.
Run the Definition of Done checklist for the current wp-rocket branch and report PASS/WARN/FAIL with evidence. Two modes: layer 1 (self-correction inside backend-agent / frontend-agent — resolves FAILs before handoff) and layer 2 (independent orchestrator gate — fresh perspective after handoff). Pass layer: "1" or layer: "2" when invoking.
| name | wp-rocket-frontend-architecture |
| description | Use this skill when changing admin JavaScript, CSS, or HTML/Twig templates in WP Rocket. |
Guidelines for JavaScript, CSS, and template changes in WP Rocket's admin UI.
onclick, onchange, etc.) — use addEventListener.innerHTML assignments — use textContent or createElement/appendChild.views/.assets/js/.wp_localize_script to pass PHP data to JS — never inline <script> blocks with data.fetch with the localized nonce for REST calls.wp.ajax for legacy AJAX (admin-ajax.php) if already present in the area.assets/js/.assets/css/.