agentleFS
2389-research2389-research/test-kitchen/CLAUDE.md

test-kitchen

CLAUDE.md4 starsChanged 48 days agoMITView on GitHub

Test Kitchen provides two gate skills for parallel implementation: Skills need aggressive triggers to work. Skills can't passively detect "uncertainty" or "readiness" - they must claim specific moments in the conversation flow: Both skills present choices to the user, allowing them to opt into parallel execution or continue with standard workflows. Omakase-off has three triggers: When: "I want to build...", "Create a...", "Implement...", "Add a feature...", ANY signal to start building Option 1 (Brainstorm): - If superpowers:brainstorming is installed, use…

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test Kitchen provides two gate skills for parallel implementation:

    line 5
  2. Very specific:

    If superpowers:brainstorming is installed, use it with passive slot detection

    line 78
  3. Distinctive:

    Create implementation plan for EACH approach

    line 84
  4. Distinctive:

    Run scenario tests on all implementations

    line 87
  5. Distinctive:

    When brainstorming proceeds (Option 1), passively track architectural decisions:

    line 114
  6. Distinctive:

    If architectural slots exist → offer to explore in parallel

    line 123
  7. Distinctive:

    If no slots → design complete, hand off to cookoff

    line 124
  8. Distinctive:

    All implement in parallel

    line 143
  9. Distinctive:

    Not offering the choice: - Always present Brainstorm vs Omakase options at entry

    line 215
  10. Distinctive:

    Orphaned worktrees: - Always cleanup losers

    line 228
  11. Distinctive:

    Missing result documentation: - Write result.md with what was tried and why winner won

    line 229
  12. Distinctive:

    Gate check: - All tests pass, design adherence

    line 234
  13. Distinctive:

    Cleanup: - Remove loser worktrees and branches

    line 237
  14. Very specific:

    Finish winner: - Use superpowers:finishing-a-development-branch

    line 238

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Test Kitchen Plugin

Overview

Test Kitchen provides two gate skills for parallel implementation:

SkillGateWhen
test-kitchen:omakase-offEntryFIRST on any build/create/implement request
test-kitchen:cookoffExitAt design→implementation transition

Skills Included

SkillTriggersDescription
test-kitchen:omakase-off(1) FIRST on build/create, (2) During brainstorming on indecision, (3) Explicit requestWraps brainstorming, offers parallel design exploration
test-kitchen:cookoffAt "let's implement" momentsWraps implementation, offers parallel execution

Flow

"Build X" / "Create Y" / "Implement Z"
    ↓
┌─────────────────────────────────────┐
│  OMAKASE-OFF (entry gate)           │
│  Wraps brainstorming                │
│                                     │
│  Choice:                            │
│  1. Brainstorm together             │
│  2. Omakase (3-5 parallel designs)  │
└─────────────────────────────────────┘
    ↓
[Brainstorming / Design phase]
    ↓
Design complete, "let's implement"
    ↓
┌─────────────────────────────────────┐
│  COOKOFF (exit gate)                │
│  Wraps implementation               │
│                                     │
│  Choice:                            │
│  1. Cookoff (2-5 parallel agents)   │
│  2. Single subagent                 │
│  3. Local implementation            │
└─────────────────────────────────────┘
    ↓
[Implementation]

Key Design Principle

Skills need aggressive triggers to work.

Skills can't passively detect "uncertainty" or "readiness" - they must claim specific moments in the conversation flow:

  • Omakase-off: Claims the BUILD/CREATE moment (before brainstorming)
  • Cookoff: Claims the IMPLEMENT moment (after design)

Both skills present choices to the user, allowing them to opt into parallel execution or continue with standard workflows.

Omakase-off (Entry Gate)

Omakase-off has three triggers:

Trigger 1: BEFORE Brainstorming (Short-Circuit Option)

When: "I want to build...", "Create a...", "Implement...", "Add a feature...", ANY signal to start building

Presents:

How would you like to explore this?

1. Brainstorm together - We'll work through the design step by step
2. Omakase - I'll generate 3-5 best approaches, implement in parallel, tests pick winner

Option 1 (Brainstorm):

  • If superpowers:brainstorming is installed, use it with passive slot detection
  • Otherwise, run fallback brainstorming (ask questions, propose options, build toward design)

Option 2 (Omakase):

  1. Quick context gathering (1-2 questions max)
  2. Generate 3-5 best architectural approaches
  3. Create implementation plan for EACH approach
  4. Setup git worktrees for each variant
  5. Dispatch parallel agents (ALL in single message)
  6. Run scenario tests on all implementations
  7. Fresh-eyes review survivors
  8. Present comparison, user picks winner
  9. Cleanup losers, finish winner branch

Trigger 2: DURING Brainstorming (Indecision Detection)

Detection signals:

  • 2+ uncertain responses in a row on architectural decisions
  • Phrases: "not sure", "don't know", "either works", "you pick", "no preference"
  • User defers multiple decisions

When detected, offer omakase:

You seem flexible on the approach. Would you like to:
1. I'll pick what seems best and continue brainstorming
2. Explore multiple approaches in parallel (omakase-off)
   → I'll implement 2-3 variants and let tests decide

Trigger 3: Explicitly Requested

  • "try both approaches", "explore both", "omakase"
  • "implement both variants", "let's see which is better"

Slot Detection During Brainstorming

When brainstorming proceeds (Option 1), passively track architectural decisions:

Classify each decision:

TypeExamplesWorth exploring?
ArchitecturalStorage engine, framework, auth methodYes - different code paths
TrivialFile location, naming, config formatNo - easy to change

At end of brainstorming:

  • If architectural slots exist → offer to explore in parallel
  • If no slots → design complete, hand off to cookoff

Cookoff (Exit Gate)

Triggers: "Let's implement", "Looks good, let's build", "Ready to code", design doc committed, ANY signal to move from design to code

Presents:

How would you like to implement this design?

1. Cookoff (recommended) - N parallel agents, each creates own plan, pick best
   → Complexity: [assessed from design]
2. Single subagent - One agent plans and implements
3. Local - Plan and implement here

Option 1 (Cookoff):

  1. Each agent reads the same design doc
  2. Each agent creates their OWN implementation plan (key insight: don't share plans)
  3. All implement in parallel
  4. Fresh-eyes review on survivors
  5. Compare results, user picks winner
  6. Cleanup losers, finish winner branch

Options 2/3: Standard single-agent or local implementation

Critical: Each Agent Creates Own Plan

Don't share a pre-made implementation plan. Each agent generates their own plan from the design doc, ensuring genuine variation in implementation approaches.

Directory Structure

docs/plans/<feature>/
  design.md                    # From brainstorming

  # Omakase-off creates:
  omakase/
    variant-<slug>/
      plan.md                  # Variant-specific plan
    result.md                  # Omakase results

  # Cookoff creates:
  cookoff/
    impl-1/
      plan.md                  # Agent 1's implementation plan
    impl-2/
      plan.md                  # Agent 2's implementation plan
    impl-3/
      plan.md                  # Agent 3's implementation plan
    result.md                  # Cookoff results and winner

.worktrees/
  variant-<slug>/              # Omakase variant worktree
  cookoff-impl-N/              # Cookoff implementation worktree

Branch Naming

Omakase-off variants:

<feature>/omakase/<variant-slug>

Cookoff implementations:

<feature>/cookoff/impl-N

Skill Dependencies

Both skills orchestrate these (uses fallbacks if not installed):

DependencyUsage
superpowers:brainstormingOmakase-off delegates to this when user picks "Brainstorm"
superpowers:writing-plansEach agent creates their own implementation plan
superpowers:executing-plansExecute plan tasks sequentially with verification
superpowers:dispatching-parallel-agentsDispatch ALL agents in SINGLE message
superpowers:using-git-worktreesCreate worktree per variant/implementation
superpowers:test-driven-developmentAgents follow RED-GREEN-REFACTOR
superpowers:verification-before-completionRun command, read output, THEN claim status
scenario-testing:scenario-testingReal E2E validation
fresh-eyes-review:fresh-eyes-reviewQuality gate before comparison
superpowers:finishing-a-development-branchHandle winner, cleanup losers

Common Mistakes to Avoid

Omakase-off

  • Not triggering FIRST on build/create requests - Omakase-off must claim the build/create moment before brainstorming starts
  • Not offering the choice - Always present Brainstorm vs Omakase options at entry
  • Ignoring slot detection during brainstorming - Track architectural indecision, offer parallel exploration at end
  • Too many variants - Cap at 5-6, ask user to constrain

Cookoff

  • Sharing a pre-made implementation plan - Each agent MUST create their own plan from design doc
  • Dispatching agents in separate messages - Send ALL Task tools in SINGLE message for parallel execution
  • Skipping fresh-eyes - Required before judge comparison
  • Not checking for identical implementations - Diff implementations before judging

Both

  • Orphaned worktrees - Always cleanup losers
  • Missing result documentation - Write result.md with what was tried and why winner won
  • Skipping scenario tests - Real E2E validation is required

Evaluation Pipeline

  1. Gate check - All tests pass, design adherence
  2. Fresh-eyes review - Security/logic check on survivors
  3. Judge comparison - Present metrics, user picks winner
  4. Cleanup - Remove loser worktrees and branches
  5. Finish winner - Use superpowers:finishing-a-development-branch

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.