本文へ移動
cccskills
無料GitHub で公開

ui-design

Use when creating or modifying any visible UI element, adjusting spacing or typography, reviewing visual consistency, or when Lighthouse Performance drops below 90.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeckスター 80(GitHub 80 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.6 KB
  • LEARNINGS.md845 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

UI/UX Design Skill

Canonical Sources

This skill references the following globals — read them BEFORE starting work:

  • system/globals/typography.md — Font stack, heading scale, weights
  • system/globals/spacing.md — Section padding, grids, container widths
  • system/globals/effects.md — Border radius, shadows, card pattern
  • system/globals/imagery.md — Image formats, alt text, optimization
  • system/globals/responsiveness.md — Breakpoints, mobile-first rules

Domain

Visual Hierarchy, Spacing, Typography, OKLCH Color Theory, Layout Patterns

KPIs

MetricTargetMeasurement
Lighthouse Performance>90Lighthouse JSON → categories.performance.score * 100
First Contentful Paint<1.8sLighthouse JSON → audits.first-contentful-paint
Largest Contentful Paint<2.5sLighthouse JSON → audits.largest-contentful-paint
Cumulative Layout Shift<0.1Lighthouse JSON → audits.cumulative-layout-shift
Total Blocking Time<200msLighthouse JSON → audits.total-blocking-time

Design Consistency Checklist

  • Heading hierarchy maintained (h1 → h2 → h3, no skipping)
  • Consistent section paddings (py-20 px-6)
  • Colors only via CSS variables (text-primary, not text-blue-500)
  • Consistent border radius (rounded-xl)
  • Mobile-first responsive (all breakpoints checked: 375px, 768px, 1024px, 1280px)
  • Mobile navigation present (no hidden lg:block without mobile alternative)
  • No horizontal overflow on mobile
  • Dark mode tested

Non-Negotiable

These rules always apply — even under time pressure, even for "just a quick prototype":

  • No commit without responsive check. "We'll make it responsive later" never works — it gets forgotten and users see a broken mobile version.
  • Section padding is py-20 px-6. "A bit more room with py-32" destroys visual consistency across sections.
  • Colors only via CSS variables. "Just bg-white here" breaks dark mode immediately — without anyone noticing until they toggle.
  • No rounded-lg or rounded-md. The design system uses rounded-xl. Inconsistency is noticeable, even if individual deviations "look better."
  • Mobile-first is mandatory. Desktop-first "and then adjust" produces overflow, undersized touch targets, and missing mobile navigation.

Before Applying

Read LEARNINGS.md in this directory to avoid known anti-patterns.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Use when creating or modifying any UI element visible to the user, reviewing HTML markup, adding interactive elements, or when Lighthouse Accessibility drops below 90.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

astro

無料

Use when creating or modifying .astro/.tsx files, configuring astro.config.mjs, working with Content Collections, or when TypeScript or build errors occur.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

Use when creating or editing pages, blog posts, or content files, adding meta tags, or when Lighthouse SEO drops below 90.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

qa

無料

Use when completing any task (final validation step), running audits, preparing for deployment, or when ESLint/TypeScript/build errors occur.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

readme

無料

Use when starting work on an AstroDeck project, needing to understand the project structure, or looking up available components, sections, and layouts.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

tailwind

無料

Use when writing or reviewing any CSS class, changing colors, modifying globals.css, or when hardcoded colors or inline styles are detected.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

holger1411 のスキルをすべて見る

このスキルの問題を報告する