What problem does it solve?
Building admin-side extensions for Webiny requires following a strict layered architecture (UseCase/Repository/Gateway, Presenter/ViewModel) with dependency injection, and getting the patterns wrong leads to features that cannot be resolved or consumed from React.
Core Features & Use Cases
- Headless Feature Patterns: Guides creation of business-logic features in
admin/features/ using createAbstraction, createFeature, and the UseCase → Repository → Gateway layering.
- Presentation Layer Patterns: Covers MobX-based presenters, ViewModels, React hooks via useFeature, and component rules like createReactiveComponent and one-component-per-file.
- Use Case: When adding a new admin screen that loads data via GraphQL, use this Skill to scaffold the gateway, repository, presenter, and hook with correct DI registration, singleton scoping, and the mandatory resolve function.
Quick Start
Ask the AI to create a new Webiny admin feature with a presenter, repository, and GraphQL gateway following the admin architecture patterns.