一键导入
cook
ALWAYS activate this skill before implementing EVERY feature, plan, or fix.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ALWAYS activate this skill before implementing EVERY feature, plan, or fix.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis.
Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal (Explore) and external (Gemini/OpenCode) agents.
Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.
Manage MCP servers - discover, analyze, execute tools/prompts/resources. Use for MCP integrations, intelligent tool selection, multi-server management, context-efficient capability discovery.
Brainstorm solutions with trade-off analysis and brutal honesty. Use for ideation, architecture decisions, technical debates, feature exploration, feasibility assessment, design discussions.
Review code quality, receive feedback with technical rigor, verify completion claims. Use before PRs, after implementing features, when claiming task completion. Includes scout-based edge case detection.
| name | cook |
| description | ALWAYS activate this skill before implementing EVERY feature, plan, or fix. |
| version | 2.1.1 |
End-to-end implementation with automatic workflow detection.
Principles: YAGNI, KISS, DRY | Token efficiency | Concise reports
/cook <natural language task OR plan path>
IMPORTANT: If no flag is provided, the skill will use the interactive mode by default for the workflow.
Optional flags to select the workflow mode:
--interactive: Full workflow with user input (default)--fast: Skip research, scout→plan→code--parallel: Multi-agent execution--no-test: Skip testing step--auto: Auto-approve all stepsExample:
/cook "Add user authentication to the app" --fast
/cook path/to/plan.md --auto
| Input Pattern | Detected Mode | Behavior |
|---|---|---|
Path to plan.md or phase-*.md | code | Execute existing plan |
| Contains "fast", "quick" | fast | Skip research, scout→plan→code |
| Contains "trust me", "auto" | auto | Auto-approve all steps |
| Lists 3+ features OR "parallel" | parallel | Multi-agent execution |
| Contains "no test", "skip test" | no-test | Skip testing step |
| Default | interactive | Full workflow with user input |
See references/intent-detection.md for detection logic.
[Intent Detection] → [Research?] → [Review] → [Plan] → [Review] → [Implement] → [Review] → [Test?] → [Review] → [Finalize]
Default (non-auto): Stops at [Review] gates for human approval before each major step.
Auto mode (--auto): Skips human review gates, implements all phases continuously.
Claude Tasks: Utilize all these tools TaskCreate, TaskUpdate, TaskGet and TaskList during implementation step.
| Mode | Research | Testing | Review Gates | Phase Progression |
|---|---|---|---|---|
| interactive | ✓ | ✓ | User approval at each step | One at a time |
| auto | ✓ | ✓ | Auto if score≥9.5 | All at once (no stops) |
| fast | ✗ | ✓ | User approval at each step | One at a time |
| parallel | Optional | ✓ | User approval at each step | Parallel groups |
| no-test | ✓ | ✗ | User approval at each step | One at a time |
| code | ✗ | ✓ | User approval at each step | Per plan |
✓ Step [N]: [Brief status] - [Key metrics]
Human review required at these checkpoints (skipped with --auto):
Always enforced (all modes):
project-manager subagent → update plan/phase status to completedocs-manager subagent → update ./docs if changes warrantTaskUpdate → mark all Claude Tasks completegit-manager subagent| Phase | Subagent | Requirement |
|---|---|---|
| Research | researcher | Optional in fast/code |
| Scout | scout | Optional in code |
| Plan | planner | Optional in code |
| UI Work | ui-ux-designer | If frontend work |
| Testing | tester, debugger | MUST spawn |
| Review | code-reviewer | MUST spawn |
| Finalize | project-manager, docs-manager, git-manager | MUST spawn all 3 |
CRITICAL ENFORCEMENT:
Task(subagent_type="[type]", prompt="[task]", description="[brief]")references/intent-detection.md - Detection rules and routing logicreferences/workflow-steps.md - Detailed step definitions for all modesreferences/review-cycle.md - Interactive and auto review processesreferences/subagent-patterns.md - Subagent invocation patterns