ui-conventions
UI/UX patterns and conventions for this project. Use for any frontend work - components, layouts, styling, notifications, forms. Contains learned preferences for Quasar/Vue or Next.js/React patterns.
DeepseekModel
官方收录技能
质量 良好 · 48
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=jerryagenyi-my-ai-toolkit-claude-skills-ui-conventions-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name UI Conventions description UI/UX patterns and conventions for this project. Use for any frontend work - components, layouts, styling, notifications, forms. Contains learned preferences for Quasar/Vue or Next.js/React patterns. UI Conventions Learned UI/UX patterns and component preferences. Updated by the Reflect skill. Last Updated 2025-01-28 Components Buttons Use Quasar's q-btn for all buttons Never create custom button components unless absolutely necessary Preferred icon: mdi-arrow-left for back navigation Dialogs and Modals CRITICAL: Never use browser alert() , confirm() , or prompt() Always use Quasar's dialog system For notifications, use $q.notify() plugin Forms Use Quasar Form components with validation Always show loading states during async submission Disable submit button while submitting Notifications Never: alert ( 'Error occurred' ) // ❌ FORBIDDEN Always: $this. $q . notify ({ type : 'positive' , // or 'negative', 'warning', 'info' message : 'Success!' , position : 'top' }) Layout Navigation Use q-layout with q-header , q-drawer , q-page-container Back button should be top-left in header Mobile: drawer for navigation, Desktop: drawer or tabs Responsive Design Mobile-first approach Test at 375px, 768px, 1024px breakpoints Hide desktop-only elements on mobile with $q.screen.gt.md Styling Colors Use Quasar's color palette (primary, secondary, accent, etc.) Define project colors in quasar.variables.scss Never hardcode hex colors in components Spacing Use Quasar's spacing classes ( q-pa-md , q-gutter-sm , etc.) Consistent padding: q-pa-md for cards, q-pa-sm for form elements Accessibility ARIA Labels Always add labels to icon-only buttons Use descriptive labels for screen readers < q-btn icon = "mdi-close" aria-label = "Close dialog" /> Keyboard Navigation All interactive elements must be keyboard accessible Use tabindex carefully (avoid if possible) Test with Tab, Enter, and Escape keys Performance Images Use q-img for lazy loading Optimize images before adding to project Use WebP format when browser support allows Lists Use virtual scrolling for lists > 100 items ( q-virtual-scroll ) Avoid rendering all items at once Learned Patterns This section grows as the Reflect skill learns from sessions Session 2025-01-28 Learned: User prefers $q.notify over Notify.create API Learned: Always add :disable="loading" to submit buttons
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |