← スキル一覧に戻る

mai-ui-foundations
by bradsingley
My clone repository
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: mai-ui-foundations description: Apply MAI UI design foundations—tokens, spacing, typography, accessibility, and reset policies. metadata: author: yu.he@microsoft.com version: "1.0"
Use this skill whenever you need to align layouts with the MAI Design System before diving into component details.
When to load
- Establishing a design language for a fresh feature or page
- Auditing an implementation for token or typography drift
- Sharing guidance with other MAI-flavored skills (Copilot, Universal, etc.)
Core principles
- Design on the MAI 4px spacing ramp to maintain rhythm across breakpoints.
- Default to semantic tokens; drop to alias/static layers only when documented.
- Keep MAI UI components visually unmodified unless the design brief demands overrides.
- Bake accessibility into day-one decisions (contrast, focus order, aria annotations).
Reference map
- Design language – color ramps, elevation, layering, iconography, and material treatments.
- Shape, size, and spacing – corner smoothing rules plus spacing ramps.
- Token hierarchy – explains static/alias/semantic layers plus import snippets.
- Spacing and layout – grid discipline and gap/padding guidance.
- Typography and fonts – available font files, semantic typography tokens, and best practices.
- Motion system – easing curves, duration ramps, and when to use each.
- Voice and tone – content style and accessibility reminders.
- Accessibility guardrails – contrast, tap targets, labeling, and focus rules.
- CSS reset policy – safe reset patterns and component override techniques.
- Fallback structures – procedure for mixing semantic HTML with MAI tokens when components fall short.
How to use this skill
- Skim the core principles above to confirm the request fits this skill.
- Open the reference file that matches your current task; load only what you need to preserve context.
- Document any deviations (e.g., alias token fallback, custom wrappers) in your plan or PR so future contributors know why foundations were adjusted.
Next up:
mai-ui-planning-workflowfor plan templatesmai-ui-components-and-patternsfor component-level decisions
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です