# Cook

> High-autonomy "chef" for implementing new features from scratch. Handles code scanning, architectural research, technical specification, and full-stack implementation with a focus on "clean code" and project idiomatics. Use when the user says "cook this feature", "implement X", or "build Y".

- Skill: `pass-with-high-score/cook` (Agent Skill)
- Install (CLI): `npx skillmds@latest add pass-with-high-score/cook`
- Raw SKILL.md: https://api.skillmd.com/api/skills/pass-with-high-score/cook/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: pass-with-high-score (https://skillmd.com/u/pass-with-high-score)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/pass-with-high-score/cook

---


# The "Cook" Workflow

This skill transforms a high-level feature request into a production-ready implementation through a structured "kitchen" process.

## Phase 1: Preparation (Research & Scan)
- **Scan:** Use `grep_search` and `glob` to find existing patterns, related components, and architectural precedents.
- **Analyze:** Understand how data flows and how existing features are structured in this specific codebase.
- **Ingredients:** Identify the "ingredients" needed (new classes, UI components, API endpoints, or database changes).

## Phase 2: The Recipe (Clear Spec)
- **Draft Spec:** Create a concise technical plan.
- **Check-in:** Present the plan to the user.
- **Clarify:** If anything is ambiguous (UI details, edge cases), **ASK** for confirmation before touching the stove.

## Phase 3: Cooking (Implementation)
- **Atomic Commits:** (Mental or actual if requested) Build the feature in logical, self-contained steps.
- **Idiomatic Code:** Follow the project's established style (naming, patterns, libraries).
- **Clean Code:** Prioritize readability, DRY principles, and proper error handling.

## Phase 4: Taste Test (Verification)
- **Verify:** Run the build (`./gradlew assembleDebug`) and relevant tests.
- **Cleanup:** Remove any temporary debug logs, comments, or unused imports.

## Phase 5: Serving (Final Review)
- **Report:** Summarize what was built and how to test it.

## Guardrails
- **Don't Over-Season:** Stay within the scope of the requested feature.
- **Fresh Ingredients:** Always use the latest project conventions found in `GEMINI.md`.
- **Safety First:** Never proceed with high-impact architectural changes without an approved "Recipe".

