Use this skill whenever the user discusses application architecture, clean architecture, separating business logic from UI, or cross-platform/WASM-based development. It enforces the 'Headless Core & Passive View' pattern, ensuring that the 'Core' (Business Logic) is platform-agnostic and the 'View' (UI) is a 'Humble Object' that only reflects state.
95
Quality
93%
Does it follow best practices?
Impact
99%
1.13xAverage score across 5 eval scenarios
This skill implements a strict separation between the Application (Business Logic, State, Rules) and the Presentation (UI, Inputs, Rendering).
SubmitForm { data }).DashboardState { graphs: [...] }).Detailed code examples and pattern implementations are found in references/patterns.md.
validate(draft) -> returns Errors.validate(), and displays errors from the Core state.When generating code or designing systems:
/core for logic, /ui for presentation, and /shared or /bridge for interfaces).if user.is_admin), refuse and move it to the Core, exposing a property in the ViewModel instead.Install with Tessl CLI
npx tessl i jpc0/headless-architecture@0.1.0