Back to list
smileynet

line-cook

by smileynet

Structured AI workflow execution with guardrails. prep→cook→serve→tidy for Claude Code and OpenCode.

1🍴 0📅 Jan 25, 2026

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

CommandPurpose
"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

  1. Mise: Plan work breakdown (interactive)
  2. Prep: Sync state, identify available work
  3. Cook: Claim task, execute with guardrails, verify completion
  4. Serve: AI reviews changes
  5. Tidy: File discovered issues, commit, push
  6. 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.md in project root - Philosophy and installation
  • steering/*.md files - Workflow instructions

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon