一键导入
build-website
Build, serve, and test the Too Many Cooks documentation website (Eleventy + Playwright)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, serve, and test the Too Many Cooks documentation website (Eleventy + Playwright)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prepares the current branch for CI by running the exact same steps locally and fixing issues. If CI is already failing, fetches the GH Actions logs first to diagnose. Use before pushing, when CI is red, or when the user says "fix 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.
Audit spec/plan documents against the codebase. Ensures every spec section has implementing code, tests, and matching logic. Use when the user says "check specs", "spec audit", or "verify specs".
Creates a pull request with a well-structured description after verifying CI passes. Use when the user asks to submit, create, or open a pull request.
Upgrade all dependencies/packages to their latest versions for the detected language(s). Use when the user says "upgrade packages", "update dependencies", "bump versions", "update packages", or "upgrade deps".
Audits a website for SEO, AI search performance, structured data, mobile usability, broken links, and social media cards. Fixes issues found. Use when the user mentions "audit website", "SEO", "fix search ranking", "AI search", "structured data", "social media cards", or "website performance".
| name | build-website |
| description | Build, serve, and test the Too Many Cooks documentation website (Eleventy + Playwright) |
| argument-hint | [build|dev|test|clean] |
| disable-model-invocation | true |
| allowed-tools | Bash |
Build and test the Too Many Cooks documentation site at website/.
build — Full production build:
cd website && npm run build
dev — Start the dev server with live reload:
cd website && npm run dev
Serves at http://localhost:8080.
test — Run Playwright E2E tests:
cd website && npm test
clean — Remove generated files:
cd website && npm run clean
No args — Default to build then test.
Playwright must be installed first:
cd website && npm ci && npx playwright install --with-deps chromium