|
| 1 | +--- |
| 2 | +name: the-algorithm |
| 3 | +description: > |
| 4 | + Product-building operating system inspired by Elon Musk's five-step "The Algorithm" — |
| 5 | + question every requirement, delete nonessential work, simplify what remains, accelerate feedback loops, |
| 6 | + and automate last. Use this skill when shaping offers, features, onboarding, pricing, architecture, |
| 7 | + workflow, launch, or automation decisions in The Boring JavaScript Stack. Tailored for founders, |
| 8 | + designers, operators, product engineers, and AI coding agents building real products. |
| 9 | +metadata: |
| 10 | + author: sailscastshq |
| 11 | + version: '1.0.0' |
| 12 | + tags: the-algorithm, product-strategy, mvp, scope, architecture, simplification, delivery, automation, boring-stack |
| 13 | +--- |
| 14 | + |
| 15 | +# The Algorithm |
| 16 | + |
| 17 | +The Algorithm is a subtraction-first way to build products. Its value for builders is not the factory metaphor. It is the sequence: |
| 18 | + |
| 19 | +1. prove the requirement |
| 20 | +2. remove unnecessary work |
| 21 | +3. simplify the surviving path |
| 22 | +4. speed up learning and delivery |
| 23 | +5. automate only after the flow is stable |
| 24 | + |
| 25 | +In The Boring JavaScript Stack, this usually means resisting extra layers and extra surfaces: |
| 26 | + |
| 27 | +- no extra API when a Sails action can render an Inertia page directly |
| 28 | +- no client state system when the database and page props are enough |
| 29 | +- no queue, socket, cache, search service, or microservice until the product truly needs it |
| 30 | +- no second or third pricing idea before the first one proves itself |
| 31 | +- no AI automation over a workflow humans do not yet understand |
| 32 | + |
| 33 | +## When to Use |
| 34 | + |
| 35 | +Use this skill when: |
| 36 | + |
| 37 | +- shaping an MVP, offer, feature spec, onboarding flow, pricing flow, internal tool, or launch plan |
| 38 | +- reviewing a bloated plan and deciding what to cut before implementation |
| 39 | +- deciding how narrow the first version should be |
| 40 | +- simplifying positioning, product promise, or distribution flow |
| 41 | +- choosing whether a page, action, helper, model, queue, websocket, or integration should exist |
| 42 | +- deciding whether to build a public API, background job, realtime feature, or custom client state layer |
| 43 | +- simplifying a tangled React, Vue, or Svelte experience into one clear happy path |
| 44 | +- improving cycle time for prototyping, testing, QA, feedback, and release |
| 45 | +- deciding what should stay manual, what should become a checklist, and what is ready for automation |
| 46 | +- steering an AI coding agent away from premature complexity and toward product outcomes |
| 47 | +- applying discipline to vibe coding so speed does not outrun judgment |
| 48 | + |
| 49 | +## Default Biases |
| 50 | + |
| 51 | +When this skill is active, bias toward: |
| 52 | + |
| 53 | +- one primary actor before many roles |
| 54 | +- one painful job before many adjacent jobs |
| 55 | +- one obvious path before many options |
| 56 | +- one source of truth before mirrored state |
| 57 | +- one vertical slice before broad platform work |
| 58 | +- one manual proof before a permanent automation |
| 59 | + |
| 60 | +## Rules |
| 61 | + |
| 62 | +Read the rule files that match the decision you are making: |
| 63 | + |
| 64 | +- [rules/five-steps.md](rules/five-steps.md) - The five-step sequence translated from manufacturing into builder and product work |
| 65 | +- [rules/product-shaping.md](rules/product-shaping.md) - Applying the algorithm from problem selection through offer, MVP scope, UX, pricing, distribution, and launch |
| 66 | +- [rules/boring-stack-decisions.md](rules/boring-stack-decisions.md) - How to use the algorithm to choose the simplest fitting architecture in this stack |
| 67 | +- [rules/feedback-loops.md](rules/feedback-loops.md) - How to accelerate learning, validation, testing, and release without speeding up waste |
| 68 | +- [rules/automation-last.md](rules/automation-last.md) - What is actually ready for automation, and what should remain manual for now |
| 69 | +- [rules/review-prompts.md](rules/review-prompts.md) - Reusable questions for planning, code review, roadmap pruning, and agent prompts |
0 commit comments