मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)8.1k · #12574

webiny-admin-architect

यह क्या करती है

यह स्किल आपके AI को Webiny एडमिन इंटरफ़ेस के लिए फ़ीचर बनाते समय मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जो Webiny प्लेटफ़ॉर्म के लिए एक्सटेंशन लिख रहे हैं।

कब इस्तेमाल करें

  • ✓जब आप Webiny एडमिन पैनल में बिज़नेस लॉजिक और स्क्रीन वाला फ़ीचर बना रहे हों।
  • ✓जब आपको एडमिन कोड को फ़ीचर, presenter और कंपोनेंट में व्यवस्थित करना हो।
  • ✓जब आप Webiny एक्सटेंशन के लिए कोई फ़ीचर रजिस्टर कर रहे हों या एडमिन बिल्ड पैरामीटर सेट कर रहे हों।

Skill का लिंक

https://github.com/webiny/webiny-js/blob/next/skills/user-skills/admin/admin-architect/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/webiny/webiny-js/blob/next/skills/user-skills/admin/admin-architect/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Webiny में एक नया एडमिन पेज बनाइए जो ऑर्डर की सूची दिखाए, प्लेटफ़ॉर्म के फ़ीचर और presenter पैटर्न का पालन करते हुए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल परतदार संरचना समझाती है। बिज़नेस लॉजिक headless फ़ीचर में रहता है, जबकि स्क्रीन presenters और hooks इस्तेमाल करती हैं, और हर फ़ीचर एक 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 फ़ंक्शन चाहिए?

हाँ। स्किल कहती है कि सभी फ़ीचर एक देने चाहिए, ताकि इंटरफ़ेस उन्हें एक्सेस कर सके।

headless और presentation फ़ीचर में क्या फ़र्क है?

Headless फ़ीचर बिना इंटरफ़ेस के बिज़नेस लॉजिक रखते हैं, जबकि presentation फ़ीचर presenters, hooks और कंपोनेंट जोड़ते हैं।

क्या यह बाहरी एक्सटेंशन पर भी लागू होता है?

हाँ। एक्सटेंशन डेवलपर्स और कोर डेवलपर्स के लिए पैटर्न एक जैसे हैं, केवल imports अलग होते हैं।

जानकारी

लेखक का मूल विवरण

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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

prd-to-plan

8.1k

यह आपके एजेंट को प्रोडक्ट आवश्यकताओं के दस्तावेज़ को छोटे, एंड-टू-एंड स्लाइस की चरणबद्ध योजना में बदलने में मदद करती है, जो Markdown फ़ाइल में सहेजी जाती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

webiny-admin-permissions

8.1k

यह आपके एजेंट को Webiny एडमिन स्क्रीन में अनुमति नियंत्रण जोड़ना सिखाती है, जिसमें अपने-आप बनने वाले अनुमति फ़ॉर्म और दिखाने-छिपाने की जाँच शामिल हैं।

कोडिंगवेबसाइट और UI (frontend)

webiny-form-model

8.1k

यह आपके एजेंट को Webiny में declarative field builder, layouts, validation और शर्त वाले नियमों से फ़ॉर्म बनाना सिखाती है।

कोडिंगवेबसाइट और UI (frontend)

webiny-new-entry-wizard

8.1k

यह आपके एजेंट को Webiny CMS में नई एंट्री के लिए कस्टम सेटअप विज़ार्ड जोड़ना सिखाती है, जो पहले कुछ फ़ील्ड लेता है और फिर एंट्री फ़ॉर्म पहले से भरता है।

कोडिंगवेबसाइट और UI (frontend)

मिलती-जुलती skills