shade-use-primitives
यह क्या करती है
यह स्किल AI एजेंट को हाथ से लिखी layout classes के बजाय Shade के layout building blocks इस्तेमाल करने को कहती है। यह उन डेवलपर्स के लिए है जो इंटरफ़ेस बनाते हैं और एक जैसी spacing और संरचना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Shade आधारित ऐप में कोई स्क्रीन, सेक्शन या पंक्ति का लेआउट बनाते हैं।
- ✓जब आपको एलिमेंट्स के बीच spacing, alignment, stacking या wrapping करनी हो।
- ✓जब आपका मन किसी साधारण wrapper में layout classes जोड़ने का हो।
Skill का लिंक
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-use-primitives/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपने settings पेज के फ़ॉर्म फ़ील्ड्स को Shade के layout blocks से बराबर spacing के साथ लगाना चाहता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर wrapper के लिए एक layout block चुनता है, जैसे vertical समूह के लिए Stack या पंक्तियों के लिए Inline। वह gap और padding Shade के नामित spacing steps से सेट करता है, और class names सिर्फ़ वहीं इस्तेमाल करता है जहाँ props कवर नहीं करते।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Shade use primitives
Layout in Ghost UI reads by intent: Stack, Inline, Box, Grid,
Container and Text replace hand-written flex and grid classes. The rules
live in Primitives.
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
- Check for a larger shape first. A whole page starts from
shade-page-templates; a recurring product shape may already be a pattern in Patterns. - Pick the primitive for each wrapper with Use a primitive when.
- Set gaps and padding from the Spacing scale.
- Reserve
classNamefor what the props don't cover.
Self-check
- No wrapper element in your diff carries only layout classes.
- Spacing on primitives uses the named steps, and direction, gap, alignment and justification come from props.
- Nothing in Don't applies to your diff.
अक्सर पूछे जाने वाले सवाल
मुख्य layout blocks कौन से हैं?
स्किल Stack, Inline, Box, Grid, Container और Text को building blocks बताती है।
क्या मुझे अब भी flex या grid classes लिखनी चाहिए?
स्किल कहती है कि layout को उसके इरादे से पढ़ा जाना चाहिए, इसलिए primitives ज़्यादातर हाथ से लिखी flex और grid classes की जगह लेते हैं।
क्या पूरे पेज के लिए कोई शॉर्टकट है?
हाँ। पूरा पेज एक page template से शुरू होता है, और दोहराए जाने वाले आकार पहले से एक pattern के रूप में हो सकते हैं।
जानकारी
लेखक का मूल विवरण
Lay out Ghost UI with Shade's layout primitives. Use when laying out a screen, section or row, or when spacing, aligning, stacking or wrapping elements.
repo: TryGhost/Ghost
लोकप्रियता
- GitHub स्टार
- 56k
- रैंकिंग में स्थान
- #3287
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
tinybird-cli-guidelines
56kस्थानीय विकास, branch काम, build, deploy और डेटा संभालने के लिए आपके एजेंट को Tinybird CLI कमांड में मार्गदर्शन देती है।
tinybird
56kआपके एजेंट को datasources, pipes, endpoints और materialized views के लिए Tinybird फ़ाइल फ़ॉर्मेट, SQL नियम और प्रदर्शन के तरीके सिखाती है।
build-ghost-app
56kआपके एजेंट को Vite और React से Ghost ऐप बनाने, उसे Ghost Admin से जोड़ने, और उसका manifest और install लिंक सेट करने में मदद करती है।
build-ghost-app-ui
56kआपके एजेंट को Ghost के डिज़ाइन सिस्टम Shade से Ghost ऐप की स्क्रीन बनाने में मदद करती है, और उसे सही दस्तावेज़ और स्किल की ओर भेजती है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।