lets-build-pyramids
Skill1 starsChanged 19 days agoMITView on GitHub
Architecture review for a feature before it is built. Apply when planning or approving a feature, service, endpoint, job, cache or data model, and when asked 'will this scale', 'how should we design this', 'is this the right architecture' or 'what breaks at 10x'. Researches how others solved it, compares real alternatives with numbers, and stress-tests the choice.
In this repository17 other files it gives its agents.
- broooooSkill
- did-we-break-itSkill
- finish-the-prSkill
- fix-it-properlySkill
- just-tell-meSkill
- next-time-fasterSkill
- no-added-commentsSkill
- onmywatchSkill
- plan-the-big-oneSkill
- sharpenSkill
- show-meSkill
- statechartSkill
- talk-is-cheapSkill
- trust-issuesSkill
- trust-me-broSkill
- walk-me-throughSkill
- you-get-meSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Read the code, schema and docs the feature touches, whole.
- Distinctive: line 21
Write the goal in one sentence as an outcome, and the hard constraints.
- Distinctive: line 28
Look up how mature systems and well-known engineering write-ups solve it, and what the libraries or platforms in this stack already offer.
- Distinctive: line 73
Every number has its source or its arithmetic.
- Distinctive: line 74
Do not build for scale nobody needs.
- Very specific: line 75
If the requirement itself looks wrong, switch to /trust-issues.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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.
Files
lets-build-pyramids
A pyramid is designed from the base, sized for the weight it will carry, and still standing 4,500 years later. Design features the same way.
Feature to review: $ARGUMENTS. If that is empty, review the one in the conversation.
A checklist filled in from memory is not a design review. This skill is research and thinking first; the answer comes last.
1. Ground it
Find out what is really there before you reason about it.
- Read the code, schema and docs the feature touches, whole. Note the patterns this codebase already uses for the same kind of problem.
- Get the real numbers: rows, users, tenants, requests per second, payload sizes, growth per month. Query or measure them. If you cannot, ask for them once, and state the assumption you use meanwhile.
- Write the goal in one sentence as an outcome, and the hard constraints.
2. Research how others solved it
Most features are a known problem in disguise: a queue, a fan-out, a counter, an audit trail, a sync, a search, a rate limit.
- Name the known problem this is.
- Look up how mature systems and well-known engineering write-ups solve it, and what the libraries or platforms in this stack already offer. Search the web and the official docs; do not rely on memory.
- Cite each source in one line: what it does and what it teaches here.
3. Look at it from every side
Walk the feature through each view and write what that person would worry about:
| View | Asks |
| User | What do they feel when it is slow, wrong or down? |
| Data | Who owns it, how it grows, what must stay consistent, what can be stale. |
| Operator at 3am | How it fails, how you notice, how you recover, what a retry does. |
| Security and tenants | Who can see what; can one tenant hurt another? |
| Cost | Money per request or per run, today and at 100x. |
| Next year | The three requirements most likely to come next. Does this design bend or break for them? |
4. Design real alternatives
Sketch at least three designs that differ in architecture, not in detail. Include the most boring one that could work and one bolder one.
For each: a small diagram (ASCII or Mermaid), how data flows, and where it first breaks.
Then compare them in a scale table: one row per design, columns for today, 10x and 100x. In each cell put the number that limits that design (storage, writes per second, latency, memory or cost) and whether it still holds. Under the table, show the arithmetic for each number. A table that stops at today's size is not a comparison.
5. Pre-mortem the winner
Pick the design. Then assume it is a year later and it failed badly. Write the three most likely reasons. Change the design for each one, or write it down as a known ceiling with the size where it bites and the upgrade path.
6. Report
This report is a walkthrough the reader asked for. Give every section below in full, even when a brevity style is active; lead with the verdict, then the sections.
| Section | Content |
| Problem | Goal, constraints, real numbers, and which known problem this is. |
| What others do | Sources and what each teaches. |
| Options | The designs, diagrams and the scale table at today, 10x and 100x. |
| Choice | The winner, why each other lost, and what was surprising. |
| Pre-mortem | The failure reasons and what you changed. |
| Build order | Numbered steps, foundation first, each with how it is checked. |
| Unknown | What you could not check, and how to check it. |
Quality bar
- At least one insight the reader would not have reached alone. If the review only confirms the first idea, dig further.
- Every number has its source or its arithmetic.
- Do not build for scale nobody needs; a written ceiling beats a premature system.
- If the requirement itself looks wrong, switch to
/trust-issues.
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
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.

