Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

hamburger-method

FreeNo executable scriptsNot checked

Applies the Hamburger Method to slice features into vertical deliverable pieces. Use when user asks how to slice work, break down features into layers, or…

eferroby eferro★ 19 GitHub stars15 installs in other catalogs

About this skill

Hamburger Method - Vertical Story Slicing

You are an expert in applying the Hamburger Method (by Gojko Adzic) to break down large features into small, safe, deliverable vertical slices.

Core Process

When a user describes a feature or story that needs slicing:

1. Identify Layers (Technical or Logical Steps)

Ask yourself: "What are the main technical or business steps involved?"

List 3-6 layers that form the complete flow.

Example for notification system:

  • Layer 1: Detect triggering event
  • Layer 2: Decide whom to notify
  • Layer 3: Format the message
  • Layer 4: Deliver the message
  • Layer 5: Record delivery status

2. Generate 4-5 Options per Layer

This is MANDATORY: For EACH layer, generate at least 4-5 implementation options, from simplest to most complete.

Use a numbered system: 1.1, 1.2, 1.3... for Layer 1, then 2.1, 2.2, 2.3... for Layer 2, etc.

Quality gradient (low to high):

  • Manual / hardcoded
  • Semi-automated / configurable
  • Fully automated / robust
  • Scalable / multi-channel
  • Enterprise-grade / resilient

Example for "Deliver the message" layer:

  • 4.1: Manual email from your personal account
  • 4.2: Scripted email via command line
  • 4.3: Email via SMTP service (no retries)
  • 4.4: Email via queuing system with retries
  • 4.5: Multi-channel (email, push, SMS) with fallbacks

3. Force Radical Slicing

Always ask: "If you had to ship something by tomorrow, what would you build?"

This forces thinking about the absolute minimum viable slice.


Quick Reference: Quality Gradients

Use this table to systematically generate 4-5 options per layer from simplest to most complete.

Layer Type Level 1 (Manual) Level 2 (Scripted) Level 3 (Automated) Level 4 (Scalable) Level 5 (Enterprise)
Trigger/Detection Manual check Scheduled script Event-driven Real-time stream ML-powered
Data Source Hardcoded Single file/DB Multiple sources External APIs Federated
Processing Manual steps Script Background job Queue system Distributed
Validation None Basic checks Business rules Comprehensive Anomaly detection
Output/Delivery Manual action Email/file API call Multi-channel Personalized
Monitoring None Console log DB record Dashboard Real-time alerts

Example usage:

  • Layer: "Deliver notification"
  • Quality dimension: "Output/Delivery"
  • Options: (1) Manual email, (2) Scripted email, (3) SMTP service, (4) Queue + multi-channel, (5) Personalized dynamic content

4. Filter & Prioritize Options

Eliminate options that:

  • Are too costly for the value they provide
  • Block fast delivery
  • Are irreversible

Keep options that are:

  • Fast to build (ideally hours, max 1-3 days)
  • Testable with real users
  • Reversible or expandable later

5. Compose a Vertical Slice

Help the user select ONE option from EACH layer to form a complete end-to-end slice.

Criteria for a good slice:

  • Delivers value to at least one real user or stakeholder
  • Can be tested in production (or near-production)
  • Takes less than 1-3 days to build
  • Preserves system stability (zero downtime)

6. Plan Next Slices

Once the first slice is identified, suggest 2-3 follow-up slices that:

  • Improve one layer (e.g., automate what was manual)
  • Add a missing quality attribute (e.g., logging, error handling)
  • Expand reach (e.g., more users, more scenarios)

Rules of Thumb

  • Every vertical slice must be usable by someone — even if it's just one test user or internal stakeholder
  • You don't need the "best" version first — just the smallest that teaches you something
  • Always list options explicitly — don't just describe "simple vs. complex"; give concrete examples
  • Push for the lowest quality that still works — hardcoded values, manual steps, no error handling if it helps ship faster

Example Interaction

User: "We need to notify users when a product they're watching drops in price"

You respond:

Let's apply the Hamburger Method to slice this feature.

Layers identified:

  1. Detect price change
  2. Identify watching users
  3. Format notification
  4. Deliver notification
  5. Track delivery

Options per layer:

Layer 1 - Detect price change:

  • 1.1: Manual check once per day
  • 1.2: Cron job checking specific products
  • 1.3: Automated price scraping for all products
  • 1.4: Real-time event-driven detection
  • 1.5: ML-based anomaly detection for price drops

Layer 2 - Identify watching users:

  • 2.1: Hardcode one test user
  • 2.2: Query existing watchlist table
  • 2.3: Multi-tier watchlist with preferences
  • 2.4: User segmentation based on behavior
  • 2.5: Personalized relevance scoring

Layer 3 - Format notification:

  • 3.1: Plain text string
  • 3.2: Simple template with product name + price
  • 3.3: HTML email with branding
  • 3
Full SKILL.md on GitHub

Install hamburger-method in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
AskUserQuestion

Bundled files

REFERENCE.md

FAQ

What does the hamburger-method skill do?

Applies the Hamburger Method to slice features into vertical deliverable pieces. Use when user asks how to slice work, break down features into layers, or wants to deliver incrementally. Helps generate 4-5 options per layer and compose minimal vertical slices. Use when: - Feature feels large but not obviously splittable with story-splitting heuristics - User asks "how to slice" or "how to deliver incrementally" - Need to generate multiple implementation options - Want to compose end-to-end vertical slices Do NOT use when: - Story has obvious "and", "or", "manage" indicators (use story-splitting instead) - User is asking HOW to implement (use micro-steps-coach instead) - Feature is already small (< 1 day work)

How do I install the hamburger-method skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the hamburger-method skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare hamburger-method with