Install
$ agentstack add skill-pixelcrafts-app-agent-skills-design ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Web Design
> Apply design-standards:design-system first (tokens, spacing, type, color, motion, states). This file adds the web Tier-1 standards and web-only rules. R-rules are PASS/FAIL/N_A, never INFO; disabling one needs a documented reason in standards.json disabled_rules[].
Standards (Tier-1, cited — universal for every web project)
- R1 Contrast (WCAG 1.4.3/1.4.11): body ≥4.5:1, large (≥18pt/14pt-bold) ≥3:1, non-text UI ≥3:1. Light and dark independent. Verify: axe-core/pa11y.
- R2 Tap targets ≥44×44 CSS px (WCAG 2.5.5 AAA; AA floor 24×24 per 2.5.8) — extend hit area with padding.
- R3 Color never the sole state signal (WCAG 1.4.1) — pair with icon/label/shape/position. Verify: grayscale screenshot.
- R4 Respect
prefers-reduced-motion(WCAG 2.3.3) — drop decorative animation; functional ≤~150ms, no overshoot. - R5 Animate only
transform/opacity— layout props trigger per-frame layout/paint. Verify: DevTools paint flashing. - R6 Focus visible via
:focus-visible(WCAG 2.4.7) — neveroutline:noneunreplaced; not bare:focus. - R7 Body line-height ≥1.5 (WCAG 1.4.12); display 1.0–1.2.
- R8 Body measure 45–75ch (Bringhurst).
- R9 Semantic HTML (WHATWG + ARIA APG): `
actions /nav; one, no skipped levels;per control;altpresent (alt=""decorative);`. - R10
color-schemedeclared — native controls/scrollbars match the theme. - R11
forced-colors: activehonored — rings/borders/icons use system colors in High Contrast. - R12 Single source of truth — no hardcoded hex/px/ms/type literals in screen code; Tailwind arbitrary values (
p-[13px]) count. Verify: grep raw literals. - R13 Font loading without CLS —
font-display: swap/optional, preload above-fold, matched fallback metrics. - R14
tabular-numson aligned numeric columns. - R15 Sub-44px adjacent targets ≥24px center-to-center (WCAG 2.5.8).
Layout & responsive
- Breakpoints: 3–5 monotonic min-widths (default
375 / 768 / 1280 / 1536). Max-widths: standard1200/ reading720/ focused480; constrain ≤~1920px. - Mobile-first; no horizontal overflow at 320px. Tablet is its own layout, not a bigger mobile. Primary actions in the thumb zone on touch.
- Safe-area insets (
env(safe-area-inset-*)) on fixed bars, full-bleed sections, modals.dvhnotvhwherever the keyboard can open. gapfor layout inside flex/grid, not margin.
Typography & elevation (web mechanics)
remfor font-size; named steps only. UGC getsline-clamp. Font-loading mechanics owned byweb-standards:performance(rule: R13).box-shadow, neverfilter: drop-shadow(). Default 3 levels: flatnone· card0 1px 3px rgba(0,0,0,.12)· dropdown0 4px 16px rgba(0,0,0,.16). Dark mode: replace shadows with a1px~12%-white border or more alpha.
Chrome & details
- Custom focus ring via
:focus-visible(R6). Custom::selection;caret-coloron inputs; styled scrollbar where visible (never hide overflow indicators);cursor:pointeron clickable non-links. - Inline loading (in-button spinner), not full-page. Images: fixed aspect ratios, lazy-load, blur-up placeholder.
Accessibility (web specifics, beyond the R-rules)
- Modal focus trap: Tab cycles, Esc closes, focus returns to the trigger. Tab order matches visual order.
role="status"/role="alert"on live regions.prefers-reduced-transparencyhonored. Color-blind safe.
Theme
- Every themeable value from a CSS variable /
@theme; semantic names (--surface-muted, not--blue-500). Prefer OKLCH. - Light and dark independently designed (see design-system) — never computed inversion.
- SSR hydration flash prevented (blocking script or cookie;
next-themes+suppressHydrationWarning).color-schemeper theme class (R10). - Audit: toggle theme, scroll every screen for untokenized backgrounds/borders/embeds.
Aesthetic coherence
- Commit to ONE aesthetic (declare
standards.json features.aesthetic.active); never mix two — the #1 "assembled, not designed" tell. - If glass: text legibility strategy (solid layer or bg-opacity ≥.5) +
prefers-reduced-transparencyfallback. - Per-aesthetic numbers are Tier-3 INFO unless promoted. Spec ranges: glass blur 8–24px, bg-opacity .1–.3, hairline border · clay radius 40–60px, triple-layer shadow · bento radius 16–24, 2–4 tile sizes, per-tile hover · neumorph dual shadow, interactive-only, ruthless contrast audit · utility-brutalist mono accents, dense tables, dark-first, minimal motion · editorial ratio ≥1.5, measure 55–70ch, contrasting type pair · minimalist ≤2 brand colors, ≤3 weights, whitespace ≥40%.
Brand moments (whole-app surfaces)
404 on-brand + useful actions · 500 apologetic + retry + support · splash branded · offline branded · first-run empty state designed as a moment.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: pixelcrafts-app
- Source: pixelcrafts-app/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.