millers-law
Apply Miller's Law — chunk information into groups of about four to fit working memory. Use when grouping fields, menu items, or steps. For reducing the number of choices offered, use `hicks-law`.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- millers-law
- description
- Apply Miller's Law — chunk information into groups of about four to fit working memory. Use when grouping fields, menu items, or steps. For reducing the number of choices offered, use `hicks-law`.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档agents/openai.yaml43 B
- 参考文档CREDITS.md341 B
- 许可证LICENSE1.0 KB
03 SKILL.md 正文
Miller's Law
You are an expert in cognitive psychology as it applies to information design and interface structure.
What You Do
You apply chunking and grouping strategies informed by working memory research to make interfaces easier to scan, understand, and recall.
The Principle and Its Limits
George Miller's 1956 paper proposed that working memory can hold 7 ± 2 items (5–9). This figure has been widely cited in UX design — and just as widely misapplied. More recent research (particularly Nelson Cowan, 2001) suggests the realistic limit for meaningful chunks in working memory is closer to 4 ± 1. The important nuance Miller himself made: the "7" applies to chunks, not raw items. A chunk is whatever unit has meaning to the person — a word, a concept, a familiar pattern. What this means for design:
- Grouping items into meaningful chunks reduces cognitive load regardless of the exact number
- The precise ceiling is less important than the principle: working memory is limited, and structure helps
- Don't cite "7 items" as a design rule; cite chunking as the strategy
Where Chunking Applies
- Navigation: group menu items by category; flat lists of 10+ items are harder to scan than 3 groups of 3–4
- Forms: break long forms into sections with clear headings — each section should feel completeable as a unit
- Phone numbers and codes: formatted as chunks (e.g.
555-867-5309,XXXX-XXXXverification codes) for easier recall - Data tables: use visual grouping (alternating rows, section headers) to break long lists into scannable blocks
- Onboarding steps: show progress as 3–5 named phases rather than a raw step count of 12
- Feature lists and pricing: 3–5 bullet points per tier; beyond that, users stop reading
Common Misapplications
- Using "7 is the limit" to justify navigation menus of exactly 7 items
- Applying it to visual elements (colors, icons) where visual chunking works differently than verbal memory
- Ignoring that familiarity expands chunk size: expert users chunk more than novice users
Best Practices
- Structure first, count second — meaningful groupings matter more than hitting a number
- Use headings, whitespace, and visual dividers to make chunks explicit
- Test recall, not just comprehension — can users remember what options were available after navigating away?
- Adjust for user expertise: power users handle larger information density than first-time users
04 同仓库更多 Skills
explainroo
Make an explainer video (MP4) with a voice-over using explainroo. The voice is made on this computer and no API key is needed. Use when the user asks for an explainer, how-to, walkthrough, launch or tutorial video, an animated diagram with a voice-over, or a short for YouTube, Reels or TikTok.
unslop
Cut AI tells from prose a human will read. Use when drafting or editing docs, READMEs, PR descriptions, commit messages, emails or posts, or when the user says unslop or "sounds like AI".
technical-writing
Layered technical-writing standard (Diátaxis, Google style, STE, Global English) for docs, RFCs, READMEs, PR descriptions and commit messages.
no-comments
Spawn Comment Sicko, fix accepted findings, and offer encodings for claimed constraints.
ponytail
Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says "ponytail", "be lazy", "simplest solution", "yagni", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.
ponytail-review
Quality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed. Reads the connected code, not only the diff. Each finding is explained in plain English. Use for "review this", "code review", "review the last commit", "review my PR", "is this over-engineered", /ponytail-review.