webiny-full-stack-architect
यह क्या करती है
यह स्किल आपके AI को एक ही extension पैकेज का ढाँचा देती है, जिसमें बैकएंड और एडमिन दोनों कोड हों। यह उन फ़ीचर बनाने वाले डेवलपर्स के लिए है जिन्हें Webiny प्रोजेक्ट के दोनों हिस्से चाहिए।
कब इस्तेमाल करें
- ✓जब किसी फ़ीचर को एक ही पैकेज में बैकएंड लॉजिक और एडमिन स्क्रीन दोनों चाहिए।
- ✓जब आप वह टॉप-लेवल extension सेट कर रहे हों जो API और एडमिन दोनों हिस्से रजिस्टर करता है।
- ✓जब आप चाहते हों कि साझा डोमेन कोड API और एडमिन दोनों लेयर इस्तेमाल करें।
Skill का लिंक
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/full-stack-architect/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“उत्पाद समीक्षाओं के लिए एक फ़ुल-स्टैक Webiny extension बनाइए, जिसमें बैकएंड हिस्सा और एक एडमिन स्क्रीन हो।”
हर हफ़्ते 5 नई skills, 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 और एडमिन आर्किटेक्चर स्किलों का हवाला देती है।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
prd-to-plan
8.1kयह आपके एजेंट को प्रोडक्ट आवश्यकताओं के दस्तावेज़ को छोटे, एंड-टू-एंड स्लाइस की चरणबद्ध योजना में बदलने में मदद करती है, जो Markdown फ़ाइल में सहेजी जाती है।
webiny-admin-architect
8.1kयह आपके एजेंट को Webiny प्लेटफ़ॉर्म के लिए एडमिन स्क्रीन बनाना सिखाती है, उसकी बिज़नेस लॉजिक परतों और presenter पैटर्न का उपयोग करके।
webiny-admin-permissions
8.1kयह आपके एजेंट को Webiny एडमिन स्क्रीन में अनुमति नियंत्रण जोड़ना सिखाती है, जिसमें अपने-आप बनने वाले अनुमति फ़ॉर्म और दिखाने-छिपाने की जाँच शामिल हैं।
webiny-form-model
8.1kयह आपके एजेंट को Webiny में declarative field builder, layouts, validation और शर्त वाले नियमों से फ़ॉर्म बनाना सिखाती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।