webiny-full-stack-architect
하는 일
이 스킬은 백엔드 코드와 관리자 코드를 함께 담는 하나의 확장 패키지 구조를 AI에게 줍니다. 프로젝트의 두 측면을 모두 필요로 하는 기능을 만드는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓한 기능에 백엔드 로직과 관리자 화면이 모두 필요할 때.
- ✓API 부분과 관리자 부분을 모두 등록하는 최상위 확장 기능을 설정할 때.
- ✓API와 관리자 양쪽이 쓰는 공유 도메인 코드를 원하는 경우.
스킬 링크
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/full-stack-architect/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“백엔드 부분과 관리자 화면을 갖춘 제품 리뷰용 풀스택 Webiny 확장 기능을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 API 진입점과 관리자 진입점을 모두 등록하는 최상위 컴포넌트를 설명합니다. 두 진입점 모두 공유 도메인 계층을 기반으로 합니다. 각 쪽의 자세한 내용은 별도의 API 및 관리자 아키텍처 스킬에 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
두 진입점은 무엇인가요?
API용 하나와 관리자 앱용 하나이며, 둘 다 최상위 컴포넌트에 등록됩니다.
공유 규칙은 어디에 두나요?
API와 관리자 계층이 모두 쓰는 공유 도메인 계층입니다.
각 쪽의 자세한 코드도 설명하나요?
각 쪽의 세부 사항은 별도의 API 및 관리자 아키텍처 스킬을 참고하라고 안내합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 8.1k
- 순위
- #12600
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
prd-to-plan
8.1k에이전트가 제품 요구사항 문서를 작고 끝까지 이어지는 조각들로 된 단계별 계획으로 바꿔 Markdown 파일로 저장하도록 돕습니다.
webiny-admin-architect
8.1k에이전트에게 Webiny 플랫폼의 관리자 화면을 비즈니스 로직 계층과 프레젠터 패턴으로 만드는 방법을 가르칩니다.
webiny-admin-permissions
8.1k에이전트에게 Webiny 관리자 화면에 권한 제어를 추가하는 법을 가르칩니다. 스키마에서 권한 양식을 자동 생성하고 표시 여부를 확인합니다.
webiny-form-model
8.1k에이전트에게 선언형 필드 빌더, 레이아웃, 검증, 조건부 규칙으로 Webiny 양식을 만드는 법을 가르칩니다.