claude-design-system
ما الذي تفعله
تبني هذه المهارة نظام تصميم أو هوية علامة تجارية كملفات محلية، تشمل الألوان والخطوط والمكونات والشعارات. وهي مناسبة للمصممين والفرق الذين يحتاجون إلى نظام بصري مشترك وقابل للتحرير.
متى تستخدمها
- ✓عندما تريد نظام تصميم أو هوية علامة تجارية بالرموز والخطوط والمكونات.
- ✓عندما تريد نظام تصميم مبنياً على تنسيقات قاعدة كود موجودة.
- ✓عندما تريد تصفح رموز العلامة التجارية وخطوطها وأصولها وتحريرها في مكان واحد.
رابط المهارة
https://github.com/JimLiu/baoyu-design/blob/main/dsh-plugins/dsh-claude-design-system/skills/claude-design-system/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ نظام تصميم لعلامة تجارية لمقهاي، بالألوان والخطوط ومجموعة شعار.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يكتب وكيلك فهرس النظام وملفات الرموز ودليل العلامة ومعاينات المكونات في مجلد، ثم يفتح صفحة محلية تستطيع فيها تحرير الرموز والأصول.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Design System — a system kept in local files
This skill is a local build of the claude.ai Design System artifact type: the rules below are the type's own, with
the Artifact tool replaced by files on disk and this skill's scripts/artifact.mjs (The calls). A design system is a
folder, <root>, that keeps its content in ITS OWN FILES under <root>/project/; icons and images are uploads
(project/_blobs/), named by the index. The page (scripts/editor/, served by artifact.mjs open) reads those files
and saves the user's edits back into them.
Write only under <root>/project/: a file elsewhere never shows; never write inside project/_blobs/. (A file you
draft only to upload it sits in <root>/src/: Creating, step 2.)
A system kept in files
Its index is project/design-system.json, nothing else, holding a createdOnFiles or
convertedFrom object, the marker (read it first; no project/design-system.json: an empty
system, see Creating; for a clean-up, stop and say so):
{"v":3, "layout":"files", "createdOnFiles":{"v":1,"at":"2026-09-14T18:20:00Z"}, "title":"Acme", "namespace":"Acme", "libraries":[{"name":"react","version":"18"},{"name":"react-dom","version":"18"}], "sections":{}, "groups":["Logos","Icons"], "assetGroups":{"Logos":{"name":"Logos","tile":"l","order":[],"files":{}}}, "blobs":{}, "docs":{"readme":"project/README.md","sections":[]}}.
"editing": "off" in the index turns off editing on the page; it, or a source entry not marked upgraded, has the page offer a clean-up (“Finish setting up”, was “Finish the migration”). Asked for one in words, not by its button, first ask if they want its files reorganized into this format. Then do so by Revising. Files the format has no place for (kits, some foundations pages) stay put. Keep authors' words; add nothing in their voice. Pictures, fonts and scripts stay files, moved where format.md puts them, paths repaired: upload none, inline none, whatever else these pages say. Remove files only by craft.md's Move aside. Remove editing and source in the LAST write, once files follow format.md. Other changes are just made, both kept. "editing": "code": synced from code (page read-only). Asked to change it, have them edit the code and rerun /design-sync in Claude Code (from-code.md, end).
Everything under assets/<Group>/
that is not text (icons, logos, images, SVG too, video, PDF) is an asset upload,
named by a record assetGroups.<Group>.files.<file>: {"name", "blob": "<id>", "size", "type"}:
name = its path below the group folder (acme-mark.svg), the key the same with bytes outside
[A-Za-z0-9_./-] written ~ + two hex; <id> from the /_blob/<id> the upload returned; size in
bytes; type its media type (upload --group prints the record, its key and next steps). A group's order lists those names in tile order; groups orders the
groups. Leave sections, blobs and docs to the page (new index: {}, {}, {"sections":[]}).
To revise: write only the project/ paths you change. The
index is written ONCE, LAST in your work, never in the small steps before it (a write
replaces the whole file: a copy read earlier would undo a rename, or drop the record of an icon a
person added meanwhile): read it right before, change those (its lastChange and the keys your
change touches: title, libraries, an asset record), keep every other key and the marker. A system YOU start (no index yet) gets project/design-system.json
with createdOnFiles exactly so, at = now. A project/design-system.json with no marker
is not an index: the page opens read-only; say so, write nothing over it.
What a system holds
path under project/ |
what | notes |
|---|---|---|
design-system.json |
the index (above) | title IS the system's name; written LAST |
tokens.json |
the tokens object | written whole |
README.md, other *.md sections |
the brand book | other *.md outside components/ and archived/ are further sections (max 24) |
components/<Comp>/README.md |
guidelines | |
components/<Comp>/preview.html |
the live preview | |
components/bundle.js·bundle.css·index.d.ts·lib/*.js |
the bundle, stylesheet, types, libraries | as files |
assets/<Group>/<file> |
images (SVG too), video, PDF: uploads the index names; a text file (a group's README.md, a .json): a file |
the first folder is the group; SVG shows via <img> only |
fonts/<file> |
font files | listed by tokens.json `t |
الأسئلة الشائعة
أين يُحفظ نظام التصميم؟
يُحفظ كملفات محلية في مجلد، ويحفظ المحرر التغييرات فيها.
هل يمكن إنشاؤه من الكود؟
نعم. يمكن بناؤه من تنسيقات قاعدة كود موجودة.
هل يتضمن أيقونات وصوراً؟
نعم. تُرفع الأيقونات والصور وتُحفظ كأصول داخل النظام.
التفاصيل
الوصف الأصلي من المؤلف
Create and revise design systems in the Design System artifact format (project/design-system.json, tokens.json, a README brand book, component previews, fonts and asset groups) as local files, then open them in a local design-system page where the user can browse and edit tokens, type, components and assets. Use when the user asks for a design system or brand kit in this format, built from a code repository, a design tool or scratch, names claude-design-system or the Design System type, or wants to revise a folder that holds project/design-system.json. claude-slides and claude-design install t
repo: JimLiu/baoyu-design
الشعبية
- نجوم GitHub
- 5.9k
- الترتيب
- #14532
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
claude-dashboard
5.9kيساعد وكيلك على بناء لوحة تحكم حية مدعومة بالبيانات من رسوم بيانية وأرقام وجداول، مع لوحة مصادر تبيّن أصل كل رقم.
claude-design
5.9kيساعد وكيلك على إنشاء لوحة تصميم قابلة للتحرير من عدة لوحات فنية، تستطيع عرضها جنباً إلى جنب وتعديلها في محرر محلي.
claude-slides
5.9kيساعد وكيلك على إنشاء العروض التقديمية وتعديلها كملفات قابلة للتحرير، تُفتح في محرر شرائح محلي يعرض العرض ويصدّره إلى PDF أو HTML أو PowerPoint.
dataviz
5.9kيعلّم وكيلك تصميم مخططات ورسوم بيانية ولوحات تحكم واضحة، مع اختيار نوع المخطط المناسب وألوان سهلة الوصول ومتسقة.
مهارات مشابهة
brand-discovery
280kيساعد على تحديد هوية العلامة التجارية من خلال مقابلات منظمة. ينشئ دليلًا كاملًا يتضمن هدف العلامة وجمهورها وشخصيتها.
brand-voice
280kينشئ ملف كتابة بناءً على نصوص العلامة الفعلية. يضمن أن يبقى المحتوى والتواصل بأسلوب متسق وأصيل.
design-md
260kيعلّم وكيلك كتابة ملف DESIGN.md والتحقق منه وتصديره، وهو ملف يسرد ألوان العلامة وخطوطها وأسلوبها بصيغة تقرؤها أدوات الذكاء الاصطناعي.