一键导入
setup
Install development tools (claude | playwright)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install development tools (claude | playwright)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Builds all artifacts for this repo. Use when the user asks to build, compile, or produce artifacts, or when verifying that the project compiles cleanly.
Prepares the current branch for CI by running the exact same checks locally, fixing issues at each step. Use before pushing a branch or when the user wants to verify the branch will pass CI.
Searches for duplicate code, duplicate tests, and dead code, then safely merges or removes them. Use when the user says "deduplicate", "find duplicates", "remove dead code", "DRY up", or "code dedup". Requires test coverage — refuses to touch untested code.
Fix a bug using test-driven development. Use when the user reports a bug, describes unexpected behavior, wants to fix a defect, or says something is broken. Enforces a strict test-first workflow where a failing test must be written and verified before any fix is attempted.
Formats all code in this repo using dart format. Use when the user asks to format code, fix formatting, or before committing changes.
Runs all linters and format checks, then fixes any issues found. Use when the user asks to lint, check code quality, or fix linting errors.
| name | setup |
| description | Install development tools (claude | playwright) |
| disable-model-invocation | true |
| allowed-tools | Bash |
Install Playwright with Chromium.
Usage: /setup <tool>
playwright — Install Chromium and Playwright for website E2E testingSets up Playwright with Chromium for running the website's E2E test suite.
Install website npm dependencies (includes @playwright/test):
cd website && npm ci
Install Chromium browser and OS dependencies:
cd website && npx playwright install --with-deps chromium
This installs the Chromium binary plus required system libraries (libgbm, libasound, etc.).
Verify installation:
cd website && npx playwright --version
--with-deps installs the OS packages automatically.~/.cache/ms-playwright/. Delete this to force a clean reinstall.website/tests/ and configured in website/playwright.config.js.http://localhost:8080 (Eleventy dev server).Run the website tests:
cd website && npm test
Or with UI mode:
cd website && npm run test:ui