मुख्य सामग्री पर जाएँ
Skillpedia
इंटरफ़ेस (UI/UX)56k · #3282

shade-imports

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

यह स्किल AI एजेंट को बताती है कि Shade, Ghost के डिज़ाइन सिस्टम, से कैसे import करें, और उसकी stylesheet लोड करनी है या नहीं। यह उन डेवलपर्स के लिए है जो किसी ऐप में Shade जोड़ रहे हैं।

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

  • ✓जब आप किसी ऐप में Shade import जोड़ते हैं और सही पाथ चाहिए।
  • ✓जब आप किसी नए ऐप में Shade जोड़ते हैं और जानना है कि उसे embedded होना चाहिए या standalone।
  • ✓जब आप standalone Ghost ऐप बनाते हैं और उसके सेटअप चरण चाहिए।

Skill का लिंक

https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-imports/SKILL.md

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

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

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

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

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

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

“मैं अपने Ghost ऐप में Shade जोड़ना चाहता हूँ और पक्का करना चाहता हूँ कि हर component सही पाथ से import हो।”

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

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

एजेंट हर import को Shade की subpath तालिका से मिलाता है, फिर embedded या standalone सेटअप चुनता है। standalone ऐप stylesheet एक बार लोड करता है और अपनी root पर एक ShadeApp रेंडर करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Shade imports

Each Shade layer has its own import subpath, and whether an app loads Shade's stylesheet and ShadeApp depends on who owns its document. The rules live in Shade: Imports.

Docs links use https://shade.ghost.org. If the project's AGENTS.md says where Shade's docs are (another address, or a source folder), use that instead. Fetch web pages with curl -s.

Workflow

  1. Take each import from the subpath table in Imports.
  2. When adding Shade to an app, decide whether it is embedded or standalone with Embedded and standalone setup.
  3. For a standalone app, such as a Ghost app, follow build-ghost-app-ui.

Self-check

  • Every Shade import in your diff names a layer subpath from the table.
  • A standalone app imports Shade's stylesheet once and renders one ShadeApp at its root; an embedded Admin app has neither.
अक्सर पूछे जाने वाले सवाल

embedded और standalone में क्या अंतर है?

Ghost Admin के अंदर embedded ऐप stylesheet और ShadeApp छोड़ देता है, जबकि standalone ऐप दोनों शामिल करता है।

import पाथ कहाँ सूचीबद्ध हैं?

वे Shade के ऑनलाइन दस्तावेज़ के Imports भाग में, एक subpath तालिका में हैं।

क्या कोई त्वरित जाँच है?

हाँ। पक्का करें कि आपके बदलावों में हर Shade import उस तालिका के किसी पाथ से हो।

जानकारी

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

Import Shade from its layer subpaths and set up its stylesheet and ShadeApp for the surface. Use when importing from `@tryghost/shade` or adding Shade to an app.

repo: TryGhost/Ghost

लोकप्रियता

GitHub स्टार
56k
रैंकिंग में स्थान
#3282
लाइसेंस
MIT
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

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