一键导入
build-extension
Build, test, and package the Too Many Cooks VSCode extension
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, test, and package the Too Many Cooks VSCode extension
用 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-extension |
| description | Build, test, and package the Too Many Cooks VSCode extension |
| argument-hint | [build|test|package|install] |
| disable-model-invocation | true |
| allowed-tools | Bash |
Builds the Too Many Cooks VSCode extension (too_many_cooks_vscode_extension/).
bash too_many_cooks_vscode_extension/build.sh
This does:
npm run buildnpm run compilevsce package → .vsix filecd too-many-cooks && npm ci && npm run build
cd too_many_cooks_vscode_extension && npm run pretest && npm test
On headless Linux: xvfb-run -a npm test
code --install-extension too_many_cooks_vscode_extension/*.vsix
TypeScript → tsc → VSCode-compatible JS module.