standr/architecture
Structural design
AI generates technically layered backends, but the center of gravity is always services/. Everything
lands there because the model has no opinion about where behavior should live. The architecture
plugin adds that opinion.
10 skills
/scan Diagnose structural problems and recommend which skills to apply.
/place Decide where new functionality should live in the backend.
/model Classify a new concept: entity, value object, service, policy, workflow, or helper.
/align-analogy Find analogous existing concepts and design in parallel with them.
/boundary Inspect separation of responsibilities across layers and modules.
/hierarchy-check Verify that concept hierarchy and abstraction levels are consistent.
/symmetry-check Check whether similar backend concepts are represented similarly.
/scale-path Pressure-test a design against the next 3–5 likely use cases.
/pattern-fit Suggest a design pattern only when it genuinely clarifies the structure.
/doctrine Core architectural philosophy loaded as context for all other skills.
Demo
Guided tour: coffee shop pricing
Same domain, two designs. Click any file to see its code. Start the tour to walk through what changes — and why.
The before version is not wrong.
The procedural version works correctly and is easy to follow for the current requirements. The entity-based version is better for a narrower but more important reason: adding a new complement or discount policy is isolated. The difference is not “wrong vs. right”—it’s “works now vs. designed for what comes next.”
Install
Choose your method.
$ npx standr install