webiny-admin-architect
하는 일
이 스킬은 Webiny 관리자 인터페이스의 기능을 만들 때 AI를 안내합니다. Webiny 플랫폼의 확장 기능을 쓰는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Webiny 관리자 패널에서 비즈니스 로직과 화면이 있는 기능을 만들 때.
- ✓관리자 코드를 기능, 프레젠터, 컴포넌트로 정리해야 할 때.
- ✓Webiny 확장 기능을 위해 기능을 등록하거나 관리자 빌드 매개변수를 설정하는 경우.
스킬 링크
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/admin/admin-architect/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Webiny 관리자에 주문 목록을 보여 주는 새 페이지를 만들어 주세요. 플랫폼의 기능 및 프레젠터 패턴을 따라 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 계층 구조를 설명합니다. 비즈니스 로직은 헤드리스 기능에 두고, 화면은 프레젠터와 훅을 사용하며, 모든 기능은 인터페이스가 쓸 수 있도록 resolve 함수를 제공합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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} />
자주 묻는 질문
모든 기능에 resolve 함수가 필요한가요?
네. 인터페이스가 기능에 접근할 수 있도록 모든 기능이 이를 제공해야 한다고 스킬이 설명합니다.
헤드리스 기능과 프레젠테이션 기능은 무엇이 다른가요?
헤드리스 기능은 인터페이스 없이 비즈니스 로직만 담고, 프레젠테이션 기능은 프레젠터, 훅, 컴포넌트를 더합니다.
외부 확장 기능에도 적용되나요?
네. 확장 개발자와 핵심 개발자 모두 같은 패턴을 쓰며, 가져오기 경로만 다릅니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 8.1k
- 순위
- #12574
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
prd-to-plan
8.1k에이전트가 제품 요구사항 문서를 작고 끝까지 이어지는 조각들로 된 단계별 계획으로 바꿔 Markdown 파일로 저장하도록 돕습니다.
webiny-admin-permissions
8.1k에이전트에게 Webiny 관리자 화면에 권한 제어를 추가하는 법을 가르칩니다. 스키마에서 권한 양식을 자동 생성하고 표시 여부를 확인합니다.
webiny-form-model
8.1k에이전트에게 선언형 필드 빌더, 레이아웃, 검증, 조건부 규칙으로 Webiny 양식을 만드는 법을 가르칩니다.
webiny-new-entry-wizard
8.1k에이전트에게 Webiny CMS에서 새 항목을 만들 때 필드를 먼저 받고 양식을 미리 채우는 마법사를 추가하는 법을 가르칩니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.