design-spells – skill Thiết kế & UI cho agent AI
Các micro-interaction và chi tiết thiết kế được chọn lọc, tạo "phép thuật" và cá tính cho website và ứng dụng.
Cài skill design-spells bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/design-spells-fd893.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /design-spells – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/design-spells-fd893.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $design-spells – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/design-spells-fd893.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /design-spells – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/design-spells-fd893.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /design-spells – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Design Spells Skill
[Design Spells](https://www.designspells.com/) is a collection of exceptional design details—micro-interactions, easter eggs, and clever UX patterns—that transform standard interfaces into memorable digital experiences.
Context
Use this skill specifically to elevate a UI from merely "functional" or "common" into something genuinely "magical." It focuses on the minute details that surprise and delight users, establishing a strong, premium brand personality.
When to Use
Trigger this skill when:
- Polishing a finished feature to actively add a "wow" factor.
- Designing unique interactions to replace standard web behaviors (e.g., clever hover states, creative loaders, surprising transitions).
- Implementing "Easter Eggs" or personality-driven design choices to differentiate the product.
- Looking to break away from generic, template-driven development.
Execution Workflow
1. Identify Opportunity: Target the "boring" or "standard" parts of the interface (e.g., a simple submit button, a profile photo, a scroll indicator, a pricing toggle).
2. Research Spells: Browse Design Spells for highly creative patterns (e.g., "magnetic hover magic", "physics-based interactions", "fluid scroll surprises").
3. Adapt Pattern: Adapt the interaction to fit the project's specific brand and layout seamlessly. Use it to enhance the core narrative of the app.
4. Implement flawlessly: Use CSS, Anime.js, or Framer Motion to build the specific micro-interaction with measured smoothness on target devices; frame-rate claims require profiling rather than a guarantee.
Strict Rules
- Scoped enhancement: Use a micro-interaction only when it serves the requested product experience. Respect the user’s existing design, accessibility and performance constraints; ordinary clear behavior is valid, and this skill is optional.
- Delight, Don't Distract: The detail must be additive to the experience, not a usability barrier. It should feel expensive and highly crafted.
- Quality Execution: A broken or janky "spell" is worse than none. Ensure the implementation is high-performance, GPU-accelerated, and avoids unexpected layout shifts, supports keyboard/touch, and respects prefers-reduced-motion.
Example
User request:
> Polish a finished feature to actively add a "wow" factor.
Limitations
- Reference designs are inspiration, not permission to copy protected assets or add packages automatically. Keep core actions usable without animation/hover/easter eggs; do not hide essential affordances behind decorative interactions.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- design-system – Các bất biến triển khai cơ học cho thiết kế frontend: kiến trúc token, phân cấp…
- design-taste-frontend – Dùng khi xây dựng giao diện frontend có tính chủ động cao, với gu thiết kế nghiêm ngặt…
- design-theme-guide – Sổ đăng ký design token: màu sắc, typography, khoảng cách và bo góc, với giá trị sáng và…
- design-thinking – Định hướng và ý đồ cho frontend design. Dùng cùng design khi xác định mục đích, tông…
- design-token-contrast – Kiểm tra độ tương phản WCAG 2.2 giữa các color token của dự án (theme sáng và tối) và đề…
- design-ux – Kiểm tra UX / khả năng sử dụng: đánh giá heuristic cho UI TƯƠNG TÁC (không chỉ là độ…
- deterministic-design – Đo bố cục UI đã render bằng các chỉ số không gian có thể tái lập, cùng với đánh giá khả…
- diagram-generator – Tạo, chỉnh sửa, kiểm tra và render sơ đồ từ mô tả tự nhiên, ghi chú, code, schema hoặc…