ui-skills
Build Consistent User Interfaces with Design Constraints
AI agents often produce inconsistent UI code across different sessions. This skill provides opinionated design constraints and patterns to ensure consistent, accessible interface generation every time.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "ui-skills". Generate a card component using ui-skills patterns
النتيجة المتوقعة:
A reusable Card component with consistent padding, border radius, shadow tokens, and support for header, body, and footer slots. Includes hover states and accessibility attributes.
استخدام "ui-skills". Create a modal dialog following ui-skills constraints
النتيجة المتوقعة:
A Modal component with focus trap, escape key handling, backdrop click detection, and proper ARIA roles for screen readers.
التدقيق الأمني
آمنThis skill contains documentation-only content (SKILL.md) with no executable code. Static analysis flagged URLs and patterns that are false positives - the URLs are GitHub repository references in documentation, not network requests. No security risks detected.
درجة الجودة
ماذا يمكنك بناءه
Frontend Developer Building a Design System
Use this skill to generate consistent component patterns that follow established design principles and accessibility standards.
AI Agent Creating UI Components
Enable AI coding assistants to produce UI code that adheres to your team's design constraints and patterns.
Startup Team Standardizing UI Development
Establish a shared vocabulary of UI patterns for small teams without dedicated design resources.
جرّب هذه الموجهات
Using the ui-skills patterns, generate a button component with primary, secondary, and disabled states. Include accessibility attributes and focus states.
Apply ui-skills constraints to create a text input component with label, placeholder, error state, and validation messaging. Follow WCAG guidelines.
Using ui-skills patterns, create a navigation component that works across desktop and mobile. Include keyboard navigation and screen reader support.
Apply ui-skills constraints to generate a data table component with sortable columns, row selection, and pagination. Ensure accessibility compliance.
أفضل الممارسات
- Always define design tokens (spacing, colors, typography) before generating components
- Test components with keyboard navigation and screen readers during development
- Document component props, states, and usage examples for team consistency
تجنب
- Hardcoding color values instead of using design system tokens
- Ignoring focus states and keyboard navigation in interactive elements
- Creating overly complex components that should be split into smaller units
الأسئلة المتكررة
What frameworks does this skill support?
Does this skill generate actual CSS code?
How do I integrate this with my existing design system?
Can I customize the accessibility requirements?
Is this skill suitable for mobile-first development?
How often are the design patterns updated?
تفاصيل المطور
المؤلف
sickn33الترخيص
MIT
المستودع
https://github.com/sickn33/antigravity-awesome-skills/tree/main/web-app/public/skills/ui-skillsمرجع
main
بنية الملفات
📄 SKILL.md