hamburger-method
Slices features into vertical deliverable pieces using the Hamburger Method. Generates 4-5 implementation options per layer and composes minimal end-to-end…
от nikeyes★ 24 звезды на GitHub
Установить hamburger-method в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Hamburger Method - Vertical Story Slicing
Expert in applying the Hamburger Method (by Gojko Adzic) to break down large features into small, safe, deliverable vertical slices.
When to Use This Skill
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 small-safe-steps instead)
- Feature is already small (< 1 day work)
Core Process
When user describes a feature or story that needs slicing:
1. Identify Layers (Technical or Logical Steps)
Identify 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 this question out loud in your response — do not skip it:
"If you had to ship something by tomorrow, what would you build?"
Then answer it explicitly by naming the specific options (by number) you would pick from each layer. This forces the absolute minimum viable slice, not just a "simple version".
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.
If the user requested multiple outputs or metrics (e.g. "revenue, top products, and trends"), the first slice must pick EXACTLY ONE — the most informative single output. Delivering all of them in slice-1 defeats the purpose of incremental validation.
Criteria for a good slice:
- Delivers value to at least one real user or stakeholder — name them explicitly
- Names the specific decision or question the slice answers for that person
- 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
AskUserQuestion
Вложенные файлы
- references/hamburger-method.md
FAQ
Что делает скилл hamburger-method?
Slices features into vertical deliverable pieces using the Hamburger Method. Generates 4-5 implementation options per layer and composes minimal end-to-end slices. Use when slicing work, breaking down features into layers, or delivering incrementally.
Как установить скилл hamburger-method?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hamburger-method запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…