happy-path

Installation
SKILL.md

Happy Path First

Design for the normal user flow. If the happy path is 95% of runtime behavior, it should be 95% of the code a reader sees. Code is read along the main flow; the edge cases bury it.

Start with context. Inspect the existing code, callsites, data flow, and nearby conventions. Understand the real use case before choosing abstractions. Preserve good existing patterns; do not impose a generic architecture.

The examples use one domain, order execution on a trading desk, so the bad and good shapes are comparable. They are written in pseudocode; apply the shapes in whatever language you work in.

Pointers

Installs
19
Repository
krake747/skills
First Seen
Aug 21, 2026