design-system
ما الذي تفعله
تعتني هذه المهارة بنظام التصميم الخاص بفريق، بما فيه الرموز والمكونات والأنماط. وهي مخصصة لأصحاب أنظمة التصميم والفرق التي تريد أن تبقى واجهاتها متسقة.
متى تستخدمها
- ✓عندما تريد فحص نظام تصميم بحثًا عن تسميات غير متسقة أو قيم مكتوبة يدويًا.
- ✓عندما يحتاج مكون إلى توثيق يغطي متغيراته وحالاته وملاحظات إمكانية الوصول.
- ✓عندما تريد تصميم نمط جديد يناسب النظام الموجود.
رابط المهارة
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/design/skills/design-system/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“راجع نظام التصميم لدينا بحثًا عن تسميات غير متسقة وألوان مكتوبة يدويًا في المكونات.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفحص الوكيل رموز النظام ومكوناته وأنماطه بحثًا عن المشكلات والفجوات. ثم يكتب التوثيق أو يقترح نمطًا جديدًا يتبع القواعد الموجودة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
/design-system
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Manage your design system — audit for consistency, document components, or design new patterns.
Usage
/design-system audit # Full system audit
/design-system document [component] # Document a component
/design-system extend [pattern] # Design a new component or pattern
Components of a Design System
Design Tokens
Atomic values that define the visual language:
- Colors (brand, semantic, neutral)
- Typography (scale, weights, line heights)
- Spacing (scale, component padding)
- Borders (radius, width)
- Shadows (elevation levels)
- Motion (durations, easings)
Components
Reusable UI elements with defined:
- Variants (primary, secondary, ghost)
- States (default, hover, active, disabled, loading, error)
- Sizes (sm, md, lg)
- Behavior (interactions, animations)
- Accessibility (ARIA, keyboard)
Patterns
Common UI solutions combining components:
- Forms (input groups, validation, submission)
- Navigation (sidebar, tabs, breadcrumbs)
- Data display (tables, cards, lists)
- Feedback (toasts, modals, inline messages)
Principles
- Consistency over creativity — The system exists so teams don't reinvent the wheel
- Flexibility within constraints — Components should be composable, not rigid
- Document everything — If it's not documented, it doesn't exist
- Version and migrate — Breaking changes need migration paths
Output — Audit
## Design System Audit
### Summary
**Components reviewed:** [X] | **Issues found:** [X] | **Score:** [X/100]
### Naming Consistency
| Issue | Components | Recommendation |
|-------|------------|----------------|
| [Inconsistent naming] | [List] | [Standard to adopt] |
### Token Coverage
| Category | Defined | Hardcoded Values Found |
|----------|---------|----------------------|
| Colors | [X] | [X] instances of hardcoded hex |
| Spacing | [X] | [X] instances of arbitrary values |
| Typography | [X] | [X] instances of custom fonts/sizes |
### Component Completeness
| Component | States | Variants | Docs | Score |
|-----------|--------|----------|------|-------|
| Button | ✅ | ✅ | ⚠️ | 8/10 |
| Input | ✅ | ⚠️ | ❌ | 5/10 |
### Priority Actions
1. [Most impactful improvement]
2. [Second priority]
3. [Third priority]
Output — Document
## Component: [Name]
### Description
[What this component is and when to use it]
### Variants
| Variant | Use When |
|---------|----------|
| [Primary] | [Main actions] |
| [Secondary] | [Supporting actions] |
### Props / Properties
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| [prop] | [type] | [default] | [description] |
### States
| State | Visual | Behavior |
|-------|--------|----------|
| Default | [description] | — |
| Hover | [description] | [interaction] |
| Active | [description] | [interaction] |
| Disabled | [description] | Non-interactive |
| Loading | [description] | [animation] |
### Accessibility
- **Role**: [ARIA role]
- **Keyboard**: [Tab, Enter, Escape behavior]
- **Screen reader**: [Announced as...]
### Do's and Don'ts
| ✅ Do | ❌ Don't |
|------|---------|
| [Best practice] | [Anti-pattern] |
### Code Example
[Framework-appropriate code snippet]
Output — Extend
## New Component: [Name]
### Problem
[What user need or gap this component addresses]
### Existing Patterns
| Related Component | Similarity | Why It's Not Enough |
|-------------------|-----------|---------------------|
| [Component] | [What's shared] | [What's missing] |
### Proposed Design
#### API / Props
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| [prop] | [type] | [default] | [description] |
#### Variants
| Variant | Use When | Visual |
|---------|----------|--------|
| [Variant] | [Scenario] | [Description] |
#### States
| State | Behavior | Notes |
|-------|----------|-------|
| Default | [Description] | — |
| Hover | [Description] | [Interaction] |
| Disabled | [Description] | Non-interactive |
| Loading | [Description] | [Animation] |
#### Tokens Used
- Colors: [Which tokens]
- Spacing: [Which tokens]
- Typography: [Which tokens]
### Accessibility
- **Role**: [ARIA role]
- **Keyboard**: [Expected interactions]
- **Screen reader**: [Announced as...]
### Open Questions
- [Decision that needs design rev
الأسئلة الشائعة
ما الأجزاء التي يتكون منها نظام التصميم؟
رموز التصميم كالألوان والمسافات، ومكونات بمتغيراتها وحالاتها، وأنماط كالنماذج والتنقل.
ما المبدأ الأساسي؟
الاتساق قبل الإبداع، حتى لا يعيد الفريق اختراع الأجزاء نفسها.
هل يستطيع توثيق مكون واحد فقط؟
نعم. يستطيع توثيق متغيرات مكون واحد وحالاته وملاحظات إمكانية الوصول فيه.
التفاصيل
الوصف الأصلي من المؤلف
Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.
repo: TencentCloud/Octop
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11638
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
polite-greeting
11kيساعد وكيلك على بدء المحادثة بتحية قصيرة ودودة ومهذبة، ثم الانتقال بسرعة إلى ما تحتاجه.
medical-source-failover
11kيساعد وكيلك على إيجاد الإرشادات الطبية الصينية الموثوقة ومعلومات الأدوية والوثائق الصحية العامة عندما يكون المصدر الرئيسي محجوبًا أو بطيئًا.
cowork-plugin-customizer
11kيساعد وكيلك على تكييف إضافة Claude موجودة لتناسب أدوات مؤسسة وسير عملها، باستبدال العناصر النائبة وتعديل المهارات والإعدادات.
create-cowork-plugin
11kيساعد وكيلك على بناء إضافة Claude جديدة من الصفر عبر أسئلة موجهة، تغطي المهارات والوكلاء والخطافات وحزمة جاهزة للتثبيت.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.