astrodeck: Skill for Claude Code

.claude/skills/ui-design/SKILL.md

ui-design is a skill for Claude Code from holger1411/astrodeck. It costs 31 tokens per session (648 once invoked), scanned A, original, MIT.

A user-interface design guide for creating or changing visible parts of a website or application. It covers layout, spacing, typography, colors, imagery, responsiveness, and performance checks.

In plain words
What is it for?
Use it when changing screens, components, spacing, fonts, colors, responsive layouts, image handling, or when checking Lighthouse performance.
Why use it?
It gives a consistent set of visual rules and measurable checks for interface changes. This helps prevent uneven layouts, poor mobile behavior, accessibility issues with images, and slow pages.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is holger1411/astrodeck's own configuration. It tells Claude Code how to work on astrodeck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything astrodeck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to holger1411/astrodeck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/holger1411/astrodeck/main/.claude/skills/ui-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/holger1411/astrodeck

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/holger1411/astrodeck/ui-design/github.svg)](https://agentmods.dev/skills/holger1411/astrodeck/ui-design)
Your own site
<a href="https://agentmods.dev/skills/holger1411/astrodeck/ui-design"><img src="https://agentmods.dev/badge/skills/holger1411/astrodeck/ui-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/holger1411/astrodeck/ui-design"><img src="https://agentmods.dev/badge/skills/holger1411/astrodeck/ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00648
Opus 5.5 $0.00012 $0.00259
Sonnet 5.5 $0.00006 $0.00130
Haiku 4.5 $0.00003 $0.00065

Measured 2mo ago against content hash 531ed7f265c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ui-design/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Metric Target Measurement
Lighthouse Performance >90 Lighthouse JSON → categories.performance.score * 100
First Contentful Paint <1.8s Lighthouse JSON → audits.first-contentful-paint
Largest Contentful Paint <2.5s Lighthouse JSON → audits.largest-contentful-paint
Cumulative Layout Shift <0.1 Lighthouse JSON → audits.cumulative-layout-shift
Total Blocking Time <200ms Lighthouse 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.

Read the full file on GitHub · 55 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 55 lines · 31 tokens per session scan A 531ed7f265c6

Subscribe to this mod's changes

ui-design is a skill published in the GitHub repository holger1411/astrodeck (81 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 648 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ui-design compared with skills from other repositories

ui-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-designholger1411/astrodeckSkill812mo agoMITA31Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex
refactoring-uiwondelai/skillsSkill2.6k4d agoMITA132Claude Code, Codex