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
Core-first design and strict layer separation
Monorepo structure
70%
100%
Core isolation
100%
100%
Logic in Core
100%
100%
Strongly typed commands
26%
100%
ViewModel output
80%
100%
Passive View
93%
86%
Action-State Flow
70%
100%
Bridge Interface
70%
100%
Core-side buffering and real-time data handling
Monorepo structure
70%
100%
State Machine in Core
80%
100%
Buffer implementation in Core
100%
100%
Averaging logic in Core
100%
100%
ViewModel output
60%
66%
Humble View
86%
100%
No direct UI calculations
93%
100%
Cross-platform core logic with explicit boundary
Monorepo structure
50%
100%
Platform-agnostic Core
100%
100%
Explicit Bridge Interface
100%
100%
Strongly typed commands
80%
100%
Read-only ViewModel
86%
100%
Humble View
100%
100%
Game logic in Core
100%
100%
Enforcing Core/View boundaries
Refused UI logic
100%
100%
Age check in Core
100%
100%
Updated ViewModel
100%
100%
Humble UI update
100%
100%
Data sanitization and transport boundaries
Monorepo structure
100%
100%
DTO for logs
60%
100%
No direct DB exposure
100%
100%
Read-only ViewModel
50%
100%
Data sanitization in Core
100%
100%
Humble View for logs
100%
100%
Install with Tessl CLI
npx tessl i jpc0/headless-architecture@0.1.0