webiny-admin-architect
What it does
This skill guides your AI when building features for the Webiny admin interface. It is for developers writing extensions for the Webiny platform.
When to use it
- βWhen you are building a feature in the Webiny admin panel with business logic and screens.
- βWhen you need to organize admin code into features, presenters and components.
- βWhen you are registering a feature or setting up the admin build parameters for a Webiny extension.
Skill link
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/admin/admin-architect/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBuild a new admin page in Webiny that lists orders, following the platform's feature and presenter pattern.β
5 new skills a week. 1 minute to read.
How it works
The skill explains the layered structure. Business logic lives in headless features, while screens use presenters and hooks, and every feature exposes a resolve function so the interface can use it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Admin Architecture Patterns
TL;DR
Admin extensions are React components that register headless features (business logic with no UI) and presentation features (MobX presenters, React hooks, components). Headless features live in admin/features/ and follow UseCase β Repository β Gateway layering. Presentation features live in admin/presentation/ and add a Presenter (MobX view model) layer on top. Both use createFeature and createAbstraction from webiny/admin.
All features β both headless and presentation β MUST provide a resolve function in createFeature. This is how the useFeature hook accesses resolved instances from the DI container. Without resolve, the feature cannot be consumed from React.
Working Context
This skill applies to both extension developers (working in extensions/) and core developers (working in packages/). The architecture patterns are identical β only imports differ.
Extensions (extensions/) |
Core (packages/) |
|
|---|---|---|
| Imports | webiny/admin, webiny/admin/ui, webiny/admin/cms/entry/editor |
@webiny/app, @webiny/admin-ui, @webiny/app-headless-cms/... |
| Catalog paths | Use the Import: path |
Use the Source: path |
| MobX wrapper | createReactiveComponent from webiny/admin |
createReactiveComponent from @webiny/app-admin (never import observer from mobx-react-lite directly β the only exception is @webiny/app-admin itself, which is the source of the re-export) |
| Entry point | React component as export default in a file targeted by <Admin.Extension src={...}> |
React component registered by the package initializer |
Detect which context you're in by checking the file path: extensions/ β extension mode, packages/ β core mode.
Admin Directory Structure
admin/
βββ Extension.tsx # Admin entry point (React component)
βββ features/ # Headless features (business logic, no UI)
β βββ EnableThing/
β βββ abstractions.ts
β βββ EnableThingUseCase.ts
β βββ EnableThingRepository.ts
β βββ EnableThingGateway.ts
β βββ feature.ts
βββ presentation/ # Presentation layer (hooks, components, presenters)
βββ CurrentThing/
βββ abstractions.ts # Presenter + ViewModel interfaces
βββ CurrentThingPresenter.ts # MobX-based view model
βββ useCurrentThing.ts # React hook for consumers
βββ feature.ts # createFeature registration
βββ components/ # React UI components
Admin Extension Entry Point
The Admin entry point is a React component that registers features, providers, UI decorators, and config:
// src/admin/Extension.tsx
import React from "react";
import { AdminConfig, RegisterFeature } from "webiny/admin";
import { CurrentThingFeature } from "./presentation/CurrentThing/feature.js";
import { EnableThingFeature } from "./features/EnableThing/index.js";
import { CurrentThingProvider } from "./presentation/CurrentThing/CurrentThingProvider.js";
import { ThingListView } from "./presentation/ThingListView/ThingListView.js";
export const Extension = () => {
return (
<>
{/* Register headless features (use cases, repositories, gateways) */}
<RegisterFeature feature={EnableThingFeature} />
FAQ
Does every feature need a resolve function?
Yes. The skill says all features must provide one so the interface can access them.
What is the difference between headless and presentation features?
Headless features hold business logic with no interface, while presentation features add presenters, hooks and components.
Does this apply to outside extensions too?
Yes. The patterns are the same for extension developers and core developers, only the imports differ.
Details
Original description by the author
Admin-side architecture patterns for Webiny extensions. Use this skill when building frontend features with headless features (UseCase/Repository/Gateway), presentation features (Presenter/ViewModel/hooks/components), MobX-based presenters, RegisterFeature, and Admin BuildParams. Covers the admin/ directory structure for both features/ and presentation/ layers.
repo: webiny/webiny-js
Popularity
- GitHub stars
- 8.1k
- Ranking position
- #12574
- License
- β
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
prd-to-plan
8.1kHelps your agent turn a product requirements document into a phased plan of small end-to-end slices, saved as a Markdown file.
webiny-admin-permissions
8.1kTeaches your agent to add permission controls to Webiny admin screens, including auto-generated permission forms and hide-or-show checks.
webiny-form-model
8.1kTeaches your agent to build forms in Webiny using a declarative field builder, layouts, validation and conditional rules.
webiny-new-entry-wizard
8.1kTeaches your agent to add a custom setup wizard for new Webiny CMS entries, collecting a few fields first and then pre-filling the entry form.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.