基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/woocommerce/woocommerce-ios --skill mocks命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | mocks |
| description | Start or stop the WireMock API mock server for UI testing and E2E verification. |
| user-invocable | true |
| allowed-tools | Bash |
| argument-hint | [start|stop] |
Manage the WireMock mock server that serves API responses for UI tests and E2E verification.
Requires Java (brew install openjdk if missing).
./API-Mocks/scripts/start.sh 8282 &
sleep 3
Verify it's running:
curl -s http://localhost:8282/__admin/ > /dev/null && echo "WireMock running on port 8282" || echo "WireMock failed to start"
If Java is not installed, report the prerequisite and stop.
./API-Mocks/scripts/stop.sh 8282
Uses WireMock's graceful shutdown endpoint. Falls back to kill-by-port if the shutdown endpoint is unreachable:
kill $(lsof -ti:8282) 2>/dev/null
Modules/Sources/APIMocks/Resources/mappings/Modules/Sources/APIMocks/Resources/__files/API-Mocks/scripts/start.shstart.sh)Launch the WooCommerce app on a simulator already authenticated into a given store (site credentials, application password, or WPCom), skipping the manual login UI. Meant to be referenced by other skills/workflows that need a logged-in session fast, but also directly runnable.
Debug a failing test or build error in WooCommerce iOS
Evaluate WooAIAssistant against a structured scenario suite with hard invariants + LLM-as-judge rubric scoring. Runs live against the demo store + gpt-5.1 via the woo-mobile-ai backend wrapper, writes a JSONL run record, compares against stored baselines, and surfaces regressions. Always delegated to a subagent so the main context only sees the markdown report.