rune-design

Generates a domain-specific design system contract with palette, typography, and anti-pattern rules.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/dangvu008/VietTruyen --skill rune-design-dangvu008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rune-design
Source: https://github.com/dangvu008/VietTruyen/tree/main/.agents/skills/rune-design
Command: npx skills add https://github.com/dangvu008/VietTruyen --skill rune-design-dangvu008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI-generated UI often defaults to generic patterns like purple accents, card grids, and centered layouts that signal it was not designed by a human. This Skill converts a product description into a concrete, domain-aware design system so every UI-generating skill produces consistent, intentional interfaces. ## Core Features & Use Cases - Domain-Based Design Reasoning: Classifies the product (fintech, SaaS, healthcare, e-commerce, developer tools, and more) and maps it to style, palette, typography, and explicit anti-patterns. - Mood-to-Constraint Mapping: Translates a single mood keyword into concrete constraints for color temperature, type weight, whitespace, animation, and shadows. - Persistent Design Contracts: Writes .rune/design-system.md and .rune/ui-spec.md as binding contracts that downstream code-generation skills must follow, with accessibility audits and a 6-pillar visual quality score. - Use Case: Before building a trading dashboard frontend, run this Skill to lock in a data-dense dark style with monospace numerics and semantic profit/loss colors, so all subsequent components stay visually consistent. ## Quick Start Ask the agent to run the design skill for your new project, for example: run /rune design to generate the design system for my trading dashboard before writing any frontend code.

Frequently Asked Questions about rune-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a design system before generating UI code?

Invoke the design skill with your product description and it classifies the domain, proposes one opinionated style default, and writes a design-system.md contract with color tokens, typography, spacing, and anti-patterns. Downstream code-generation skills read this file before producing components.

What design styles does it support for different product domains?

It maps domains to styles such as Data-Dense Dark for trading, Minimalism for SaaS dashboards, Glassmorphism for landing pages, and Trust & Authority for healthcare. Each domain includes palette, typography pairing, effects, and an explicit anti-pattern list.

Does it support iOS and Android design conventions?

Yes, it applies platform overrides on top of domain rules. iOS guidance covers Liquid Glass materials, SF Symbols, and Dynamic Type, while Android guidance covers Material 3 Expressive dynamic color, shape systems, and spring motion.

How does it prevent generic AI-looking interfaces?

It enforces scale minimums for typography and touch targets, requires oklch-based color derivation instead of manual hex shading, mandates placeholders over malformed SVG icons, and registers domain anti-patterns that the review skill flags as findings.

What accessibility checks are included in the design audit?

The audit verifies WCAG 2.2 AA contrast ratios, focus-visible rings on interactive elements, minimum touch target sizes, labels on inputs and icon buttons, semantic HTML landmarks, and prefers-reduced-motion handling for animations.

When should I not run the design skill?

Skip it when a valid design-system.md already exists and is less than 30 days old, or when the task involves no UI generation. The skill asks before overwriting an existing contract rather than silently replacing it.