CtrlK
BlogDocsLog inGet started
Tessl Logo

frontend-design

Defines a named visual aesthetic, selects typography pairings, builds CSS token systems, and adds entrance animations for high-design-quality pages. Use when the user asks to design a landing page, style a marketing site, create a distinctive UI theme, pick fonts, or add CSS animations — specifically when visual polish and brand identity matter rather than generic component scaffolding.

100

Quality

100%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security
<!-- ⚠️ This file is managed by OpenCastle. Edits will be overwritten on update. Customize in the .opencastle/ directory instead. -->

Design Workflow

  1. Name the aesthetic — declare a 2–3 word direction in a code comment at the top of the main CSS file
  2. Set foundations — define :root CSS custom properties for colors, spacing, and radii
  3. Build components — implement layout, cards, heroes, forms using only tokens from step 2
  4. Add motion — add @keyframes entrance animations wrapped in a reduced-motion guard
  5. Validate — run Quality Checklist below; fix any failing item before marking done

Quick-start example

/* Aesthetic: minimal neon */
:root {
  --color-bg: #0a0a0f; --color-surface: #141420;
  --color-text: #e8e6e3; --color-accent: #6366f1;
  --space-sm: 8px; --space-md: 16px; --space-lg: 32px;
  --radius-md: 8px;
  --font-heading: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: fade-up 0.4s ease-out both; }
}

Card patterns, hero animations, and extended token sets are in COMPONENTS.md.

Design Principles

High-level design principles and the full set of example constraints live in REFERENCE.md. Keep this checklist as a short reminder:

  • Pick a named aesthetic (2–3 words) and commit to it.
  • Use tokenized colors/spacing, respect WCAG contrast, and prefer semantic HTML.
  • Respect prefers-reduced-motion and keep critical animations under 500ms.

Every design must have one unforgettable detail. No two designs should look alike.

Typography Pairings

Recommended typography pairings and an extended catalogue are in REFERENCE.md. For production, always include a metric-preserving fallback chain (e.g., 'Fraunces', 'Georgia', serif).

Load the project-consistency skill for the full Foundation Phase pattern and prompt templates.

Quality Checklist (quick)

  • Contrast: Text ≥4.5:1 body, ≥3:1 large.
  • Tokens: All spacing/colors in :root tokens; avoid ad-hoc values.
  • Responsiveness: Layouts break at defined tokens; no overflow at mobile sizes.
  • Motion: prefers-reduced-motion respected; key animations <500ms.
  • Accessibility: Keyboard focus states visible; semantic HTML used.
Repository
monkilabs/opencastle
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.