
line-cook
by smileynet
Structured AI workflow execution with guardrails. prep→cook→serve→tidy for Claude Code and OpenCode.
SKILL.md
name: line-cook description: AI-supervised development workflow. Use when running prep, cook, serve, tidy, or work commands, managing beads issues during sessions, or following prep→cook→serve→tidy cycle. Covers workflow orchestration, guardrails, and session management.
Line Cook
Structured AI workflow execution for disciplined development.
When to Use
- Starting a work session with "work" or "/work"
- Running individual workflow steps: "mise", "prep", "cook", "serve", "tidy", "plate"
- Managing beads issues during execution
- Understanding workflow guardrails
Quick Reference
| Command | Purpose |
|---|---|
| "mise" or "plan" | Plan work breakdown before implementation |
| "prep" | Sync git, show ready tasks |
| "cook" | Claim and execute a task with TDD cycle |
| "serve" | AI peer review of completed work |
| "tidy" | Commit, sync beads, push |
| "plate" | Validate completed feature |
| "service" | Full service (mise→prep→cook→serve→tidy→plate) |
| "work" | Quick cycle (prep→cook→serve→tidy) |
Core Workflow
Quick cycle (most common):
prep → cook → serve → tidy
Full service (feature delivery):
mise → prep → cook → serve → tidy → plate
Step-by-Step
- Mise: Plan work breakdown (interactive)
- Prep: Sync state, identify available work
- Cook: Claim task, execute with guardrails, verify completion
- Serve: AI reviews changes
- Tidy: File discovered issues, commit, push
- Plate: Validate feature completion (when applicable)
Guardrails
Line Cook enforces these disciplines:
- Sync before work - Always start with current state
- One task at a time - Focus prevents scope creep
- Verify before done - Tests pass, code compiles
- File, don't block - Discovered issues become new beads
- Push before stop - Work isn't done until it's pushed
TDD Cycle with Quality Gates
Cook phase follows Red-Green-Refactor with automatic quality checks:
RED: Write failing test
- Write test for the feature
- Verify test fails
- Taster agent reviews test quality
- Address critical issues before proceeding
GREEN: Implement minimal code
- Write simplest code to make test pass
- Verify tests pass
- No refactoring yet
REFACTOR: Clean up code
- Improve structure while tests pass
- Ensure tests still pass after refactoring
Quality Gates (must pass before completion):
- Tests pass (project-specific test command)
- Code builds (project-specific build command)
- Test quality approved by taster agent
- Code quality approved by sous-chef agent (serve phase)
Beads Integration
Line Cook uses beads for task management:
bd ready # Find unblocked tasks
bd update <id> --status in_progress # Claim task
bd show <id> # Get task context
bd close <id> # Complete task
bd sync # Sync with git
Parking Lot Pattern
Tasks under "Retrospective" or "Backlog" epics are excluded from auto-selection. Explicit selection still works:
bd update <parked-task-id> --status in_progress
Error Handling
If a step fails:
- Prep fails: Fix sync issues, retry
- Cook fails: Continue to tidy to save progress
- Serve fails: Review skipped, continue to tidy
- Tidy fails: Create bead for follow-up
- Plate fails: Note incomplete, create follow-up bead
Reference
For full documentation, see:
README.mdin project root - Philosophy and installationsteering/*.mdfiles - Workflow instructions
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon
