一键导入
run-verification
Run the complete dev.tools pre-commit verification pipeline
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the complete dev.tools pre-commit verification pipeline
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add or update an app in the dev.tools software installer catalog
Add a prompt or skill to the dev.tools prompts collection (TypeScript catalog workflow)
Add a new tool page to dev.tools — covers ToolView, Editor, and Custom patterns
Scaffold a new tool page in dev.tools following the established pattern
Internal dev.tools project conventions — state, styling, contexts, typing, and code style rules
Extend the LLM VRAM calculator — add quant families, update formulas, add test anchors
| name | run-verification |
| description | Run the complete dev.tools pre-commit verification pipeline |
Run these steps in order. Every step must exit 0 before proceeding.
Dev server must be running for verify:ui. Start it if needed:
npm run dev # leave running in a separate terminal; default port 3000
1. Format + lint + test:
npm run verify
Expected: ✓ Prettier · ✓ ESLint · ✓ Jest (coverage) — all pass.
2. Static export build:
npm run build
Expected: build completes without TypeScript or webpack errors.
3. Service worker precache:
npm run validate:sw
Expected: all routes appear in public/sw.js precache manifest. Fix any missing routes before committing.
4. Interactive Chrome verification:
npm run verify:ui
Expected: exits 0 — zero overflow / console-error / font / Monaco-height failures across 24 routes × 3 widths × 2 themes. Screenshots saved to .tmp/verify-screens/. If failures, use Chrome DevTools MCP (mcp__plugin_chrome-devtools-mcp_chrome-devtools__*) to inspect root cause.
5. Stage and commit:
git add -A
git commit -m "..."
6. Verify clean tree:
git status
Expected: nothing to commit, working tree clean. If any files remain, Prettier or the build generated them — stage and amend the commit.
npm run verify:smoke # interaction smoke tests only (faster than full verify:ui)
npx jest test/path/to/file.test.ts # single test file
BASE_URL=http://localhost:3000 npm run verify:ui # explicit base URL