一键导入
verify
Build, serve and drive wweb.dev pages in a real browser to verify changes at the rendered surface.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, serve and drive wweb.dev pages in a real browser to verify changes at the rendered surface.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | verify |
| description | Build, serve and drive wweb.dev pages in a real browser to verify changes at the rendered surface. |
Fully static Astro site with React islands — verification means loading the built page in a browser and interacting with the hydrated islands.
yarn install # if server deps are missing (server.mjs needs compression/express)
yarn build # static build → dist/ (TZ=UTC baked in)
yarn serve # prod server on http://localhost:4321 (NOT astro preview)
node server.mjs directly fails under Yarn PnP-adjacent setups — always go
through yarn serve. Run it in the background; probe with
curl -s -o /dev/null -w "%{http_code}" http://localhost:4321/<route>.
No Playwright in the repo. Install playwright-core in a scratch dir and use
the system Chrome (chromium.launch({ channel: 'chrome', headless: true })) —
no browser download needed. Islands are client:visible, so wait for an
island-rendered selector before asserting, and give animations ~1s.
Useful checks for the generator tools:
<style> output (animation-name, position, size).inputValue() for the copyable HTML/CSS codecolumn-reverse on mobile)assetsInlineLimit: 0 in astro.config.mjs) because data-URI fonts violate
CSP font-src 'self' — if data-URI CSP errors reappear, that setting was lost.yarn test:parity needs test/baseline/ (prod HTML snapshots) which is not
checked in; without it the harness ENOENTs. Not a substitute for browser
verification anyway.