wordpress-plugin-to-emdash
यह क्या करती है
यह स्किल WordPress प्लगइन का व्यवहार, कंटेंट प्रकार और सहेजा गया डेटा EmDash कंटेंट मैनेजमेंट सिस्टम में ले जाने में मदद करती है। यह उन साइट मालिकों और डेवलपर्स के लिए है जो WordPress छोड़कर EmDash पर जा रहे हैं।
कब इस्तेमाल करें
- ✓जब आप WordPress से EmDash पर साइट ले जा रहे हैं और एक प्लगइन के फ़ीचर साथ लाने हैं।
- ✓जब आपको तय करना है कि कोई फ़ीचर साइट के schema में, उसके कोड में या किसी प्लगइन में जाए।
- ✓जब WordPress प्लगइन ऐसा डेटा सहेजता है जो स्थानांतरण के दौरान बचाना ज़रूरी है।
Skill का लिंक
https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-plugin-to-emdash/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे WordPress इवेंट्स प्लगइन को, उसके कस्टम पोस्ट प्रकार और बुकिंग फ़ॉर्म सहित, EmDash पर ले जाने में मदद कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट प्लगइन के फ़ीचर, डेटा, hooks और एडमिन स्क्रीन जाँचता है, फिर हर ज़िम्मेदारी EmDash में सही जगह पर रखता है। कोड लिखने से पहले वह डेटा, अनुमति और migration की ज़रूरतें नोट करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Port a WordPress plugin to EmDash
Preserve the plugin's user-visible behavior and data model without translating PHP line by line. WordPress and EmDash divide responsibilities differently, so first decide whether each feature belongs in site schema, Astro code, a sandboxed plugin, or a trusted native plugin.
Load creating-plugins before implementing plugin code. Load building-emdash-site when the port changes collections, seeds, queries, or frontend templates. Those skills define the current APIs; this skill covers migration decisions.
Understand the source
Inspect the plugin source, installation behavior, database changes, hooks, REST endpoints, scheduled work, admin screens, shortcodes or blocks, frontend output, permissions, and external services. Identify behavior that users rely on separately from WordPress-specific implementation.
Record:
- required content and configuration data;
- actions that mutate or publish data;
- authorization and trust boundaries;
- background or retry behavior;
- frontend and administrator interactions;
- import, migration, and rollback needs;
- license obligations for copied assets or code.
If the source, expected behavior, or target EmDash environment is missing, report the gap instead of inventing an equivalent.
Assign each responsibility
| WordPress responsibility | EmDash destination |
|---|---|
| Custom post type, taxonomy, or metadata | Collection, taxonomy, and fields created through the site schema or seed |
| Site-wide presentation setting | Site setting read by Astro templates |
| Plugin-owned user settings | ctx.settings; declare credentials as encrypted secret fields |
| Plugin-owned cursors, caches, or internal state | Plugin-scoped ctx.kv |
| Plugin-owned queryable records | Declared ctx.storage.<collection> storage |
| Content discovery, translation, or publication | Capability-gated ctx.content and ctx.schema; policy hooks and actions have separate authority |
| Runtime taxonomy or redirect management | ctx.taxonomies or ctx.redirects with narrow read/write capability |
| Comment administration | ctx.comments; reads expose personal data and moderation uses expected status |
| WordPress REST endpoint | Declared plugin route with explicit methods, inputs, headers, and response mode |
| Scheduled event | cron hook and ctx.cron scheduling |
| Admin page or form | Block Kit for sandboxed plugins; React only for a trusted native plugin |
| Post editor metabox or saved-entry action | admin.editorPanels or admin.editorActions on private routes |
| User or author lookup | ctx.users with users:read |
| Outbound HTTP request | ctx.http.fetch() with network:request and an allowedHosts entry |
| Media operation | Separate metadata, byte-read, metadata-write, and upload/delete authorities |
WP_Query or template tag |
EmDash content API in Astro site code |
| Shortcode or editor block | Existing Portable Text content where possible; a custom Portable Text block requires a trusted native plugin |
| Raw head markup or sc |
अक्सर पूछे जाने वाले सवाल
क्या यह PHP को लाइन-दर-लाइन अनुवाद करती है?
नहीं। यह उपयोगकर्ता को दिखने वाले व्यवहार और डेटा को बचाने पर ध्यान देती है, क्योंकि WordPress और EmDash काम अलग तरह बाँटते हैं।
अगर प्लगइन का लाइसेंस कॉपी करने पर रोक लगाए तो?
स्किल कॉपी किए कोड या एसेट पर लाइसेंस दायित्वों की जाँच शामिल करती है।
क्या यह विज़ुअल थीम भी कवर करती है?
नहीं। विज़ुअल थीम का पोर्ट एक अलग काम है, और यह स्किल प्लगइन के फ़ंक्शनलिटी के लिए है।
जानकारी
लेखक का मूल विवरण
Analyze and port WordPress plugin behavior, custom post types, shortcodes, admin workflows, and stored data to current EmDash extension points. Use for WordPress-plugin migrations or when deciding which behavior belongs in an EmDash plugin, site schema, seed, or Astro code. Do not use for visual theme ports without plugin functionality.
repo: emdash-cms/emdash
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11250
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
adversarial-reviewer
14kयह आपके एजेंट को कोड बदलाव में छिपे बग और असुरक्षित मान्यताएँ खोजने में मदद करती है, जब आप इसे माँगें तो सामान्य समीक्षा से आगे जाकर।
agent-browser
14kयह आपके एजेंट को असली ब्राउज़र में वेब पेज परखने, उपयोगकर्ता को क्या दिखता है जाँचने, क्रियाएँ सत्यापित करने और सबूत के लिए स्क्रीनशॉट लेने देती है।
building-emdash-site
14kयह आपके एजेंट को Astro पर EmDash CMS प्रोजेक्ट का साइट वाला हिस्सा बनाने में मदद करती है, जिसमें कंटेंट, schema, मेन्यू, taxonomies और डिप्लॉयमेंट शामिल हैं।
creating-plugins
14kयह आपके एजेंट को EmDash CMS के लिए प्लगइन बनाने में मदद करती है, जिसमें सुरक्षित hooks, routes, स्टोरेज और एडमिन इंटरफ़ेस हों।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।