webiny-full-stack-architect
What it does
This skill gives your AI the structure for a single extension package that includes backend and admin code. It is for developers building features that need both sides of a Webiny project.
When to use it
- βWhen a feature needs both backend logic and an admin screen in one package.
- βWhen you are setting up the top-level extension that registers both API and admin parts.
- βWhen you want shared domain code used by both the API and admin layers.
Skill link
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/full-stack-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
βCreate a full-stack Webiny extension for product reviews with a backend part and an admin screen.β
5 new skills a week. 1 minute to read.
How it works
The skill explains a top-level component that registers an API entry point and an admin entry point, both backed by a shared domain layer. The details for each side are in the separate API and admin skills.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Full-Stack Extension Skeleton
TL;DR
A full-stack extension bundles API and Admin into a single package with a shared domain layer. The top-level component registers both sides via <Api.Extension> and <Admin.Extension>, which point to separate entry-point files. Each side follows its own layered architecture pattern β see webiny-api-architect and webiny-admin-architect skills for details.
Working Context
This skill applies to both extension developers (working in extensions/) and core developers (working in packages/). The architecture patterns are the same β only the import convention and registration mechanism differ.
Extensions (extensions/) |
Core (packages/) |
|
|---|---|---|
| Imports | webiny/api, webiny/admin, webiny/admin/ui |
@webiny/feature/api, @webiny/app-admin, @webiny/admin-ui |
| Catalog paths | Use the Import: path |
Use the Source: path |
| Registration | <Api.Extension src={...}> / <Admin.Extension src={...}> in webiny.config.tsx |
createFeature registered directly by the package's module initializer |
| Entry point export | Files targeted by Extension src MUST use export default |
No restriction β features are registered programmatically |
| Top-level component | Required β composes <Api.Extension> + <Admin.Extension> |
Not applicable β each package registers its own features |
Detect which context you're in by checking the file path: extensions/ β extension mode, packages/ β core mode.
RULE β Extension Entry Points
Admin extensions CANNOT be directly mounted in
webiny.config.tsxor in any child component tree without going through<Admin.Extension />.
The same rule applies to API extensions β they must go through <Api.Extension />.
These entry-point components are the only way to register code that runs inside the Admin app or the API runtime. They use the src prop to point to a file that will be loaded in the correct execution environment (browser for Admin, Lambda for API). Bypassing these entry points will fail at runtime because the Admin and API contexts (DI containers, routers, GraphQL registries, etc.) are not available outside their respective runtimes.
YOU MUST include the full file path with the .ts or .tsx extension in every src prop. For example, use src={"/extensions/lead/src/index.ts"}, NOT src={"/extensions/lead"}. Omitting the file extension will cause a build failure.
YOU MUST use export default for the createImplementation() call when the file is targeted directly by an Extension src prop. Using a named export (export const Foo = SomeFactory.createImplementation(...)) will cause a build failure. Named exports are only valid inside files registered via createFeature.
// CORRECT β always use entry-point components
<Api.Extension src={import.meta.dirname + "/api/Extension.js"} />
<Admin.Extension src={import.meta.dirname + "/admin/Extension.js"} />
// WRONG β never mount admin/api code directly
<MyAdminComponent /> // Will not have access to Admin DI container
<MyApiFeature /> // Will not have access to API DI container
Package Structure
my-extension/
βββ src/
β βββ index.ts # Single public export
β βββ MyExtension.tsx # Top-level component (registers Api + Admin)
β βββ shared/ # Shared between API and Admin
β β βββ constants.ts # Model IDs, permission names, etc.
β β βββ types.ts # Shared types
β βββ api/ # API-side code β see webiny-api-architect skill
β β βββ Extension.ts
β β βββ domain/
β β βββ features/
β β βββ graphql/
β βββ admin/ # Admin-side code β see webiny-admin-architect skill
β βββ Extension.tsx
β βββ features/
β βββ presentation/
Top-Level Component
The top-lev
FAQ
What are the two entry points?
One for the API and one for the admin app, both registered in the top-level component.
Where do shared rules go?
In a shared domain layer that both sides use.
Does it explain the detailed code for each side?
It refers to the separate API and admin architecture skills for those details.
Details
Original description by the author
Full-stack extension skeleton and registration pattern. Use this skill when creating an extension that spans both API and Admin β the top-level component with Api.Extension and Admin.Extension entry points, shared domain layer, BuildParam declarations, and package structure. References webiny-api-architect and webiny-admin-architect for layer-specific details.
repo: webiny/webiny-js
Popularity
- GitHub stars
- 8.1k
- Ranking position
- #12600
- 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-architect
8.1kTeaches your agent how to build admin screens for the Webiny platform, using its business logic layers and presenter pattern.
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.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.