skills/create-design-md/SKILL.md
Create an English-only DESIGN.md that translates brand strategy and project context into practical, implementation-ready design direction for product UI, landing pages, visual systems, and AI coding agents. Use when users ask to create, update, or improve DESIGN.md; define visual direction for an app, website, SaaS, product, landing page, or design system; convert BRANDING.md into usable UI rules; or produce design tokens, palettes, component rules, responsive guidance, motion, and accessibility standards.
npx skillsauth add ragnarok22/agent-skills create-design-mdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create or update DESIGN.md in English only. The document must translate brand strategy into usable design direction for product UI, landing pages, visual systems, and implementation.
The result should be specific enough that designers, frontend developers, and AI coding agents can build consistent screens from it.
Before writing, inspect the project for available context.
Prioritize these sources:
BRANDING.md as the primary source of truth when it exists.README.md and product docs for product purpose, audience, positioning, and feature scope.Use BRANDING.md to derive practical design rules. Do not duplicate the full brand guide into DESIGN.md.
Common files and patterns to inspect:
BRANDING.md
README.md
DESIGN.md
tailwind.config.*
postcss.config.*
src/**/*.{css,scss,tsx,jsx,ts,js}
app/**/*.{css,scss,tsx,jsx,ts,js}
components/**/*.{css,scss,tsx,jsx,ts,js}
styles/**/*
theme/**/*
tokens/**/*
assets/**/*
public/**/*
*.png, *.jpg, *.jpeg, *.webp, *.svg
If enough context exists, do not ask questions. Create or update DESIGN.md directly.
If important context is missing, ask 3-6 focused questions. Prefer the most consequential questions from this list:
Do not run a long interview. Ask only what is needed to produce a useful first version.
Turn gathered context into design decisions.
Decision rules:
BRANDING.md, then explicit user instructions, then existing implementation, then inferred best practice.Create or update DESIGN.md at the project root unless the user asks for another location.
Use Markdown. Use code blocks for implementation tokens. Keep sections scannable and concise.
Use this structure unless the project clearly needs a smaller or adjusted version:
# [Product Name] Design Guide
## Purpose
Explain what this document is for and how it relates to the brand guide.
## Design North Star
Define the main visual and emotional direction in one clear paragraph.
## Visual Concept
Explain the core visual metaphor and the design ingredients.
## Design Principles
List 4-6 practical principles that guide design decisions.
## Core Color Tokens
Define primary brand colors with hex values and usage.
## Functional Color Tokens
Define colors for states such as success, warning, error, info, savings, income, expense, and neutral.
## Light Mode Palette
Give concrete background, surface, text, border, and action colors.
## Dark Mode Palette
Give dark mode equivalents if relevant.
## Recommended Color Usage
Explain how colors should be used in product UI and marketing/landing pages.
## CSS Variables
Include CSS custom properties if the project uses web.
## App Theme Tokens
Include a TypeScript or JavaScript theme object if the project uses React Native, Expo, or similar.
## Typography
Recommend font families, type scale, line heights, weights, and number styling.
## Spacing System
Define spacing tokens, usually based on 4px or 8px.
## Radius System
Define border radius tokens for controls, cards, panels, pills, and icons.
## Shadows And Borders
Define subtle elevation rules for light and dark mode.
## Shape Language
Explain recurring forms: cards, circles, pills, containers, rings, etc.
## Layout Direction
Explain landing page layout rules and product screen layout rules.
## Landing Page Art Direction
Define hero treatment, section rhythm, mockups, illustrations, backgrounds, and visual details.
## Product Screen Direction
Explain design rules for core screens such as dashboard, lists, detail pages, forms, settings, empty states, and alerts.
## Component Rules
Include practical rules for buttons, cards, inputs, tabs, badges/chips, navigation, modals/sheets, and empty states.
## Data Visualization
Explain chart types, chart colors, labeling, accessibility, and what to avoid.
## Iconography
Define icon style, stroke width, shape, good icon concepts, and forbidden icon directions.
## Illustration System
Define where illustrations are allowed, visual style, mascot usage, and what to avoid.
## Logo And App Icon Direction
Describe how the brand mark should appear in product and marketing contexts.
## Motion And Interaction
Define animation duration, easing, feedback, transitions, loading states, and reduced-motion expectations.
## Accessibility
Include contrast, touch target, font size, color meaning, reduced motion, and cognitive load rules.
## Responsive Rules
Define mobile, tablet, and desktop behavior.
## Landing Page Section Guide
Give recommended section order and purpose for each section.
## Product Component Examples
Provide practical examples of important cards or UI blocks.
## Design Do And Do Not
Summarize the strongest rules.
## Implementation Checklist
End with a checklist for reviewing whether a design is ready.
When token guidance is requested or project files indicate a token system, include concrete values.
For web projects, prefer CSS variables:
:root {
--color-background: #ffffff;
--color-surface: #f8fafc;
--color-text: #111827;
--space-4: 1rem;
--radius-card: 1rem;
}
For Tailwind projects, include Tailwind-compatible names and usage notes instead of replacing the entire config unless requested.
For React Native, Expo, or mobile app projects, include a compact theme object:
export const theme = {
colors: {
background: "#ffffff",
surface: "#f8fafc",
text: "#111827",
},
spacing: {
4: 16,
},
radius: {
card: 16,
},
};
Use existing project values when present. If values are inferred, make them coherent and label them as recommended values, not established brand facts.
Make each section useful for implementation.
Examples of practical specificity:
Before finishing, verify DESIGN.md:
BRANDING.md or explicitly provided brand guidance.After creating or updating DESIGN.md, summarize:
development
Create Git commit messages that conform to Conventional Commits 1.0.0, including type/scope/description format, optional body, trailer-style footers, and explicit BREAKING CHANGE signaling. Use when users ask to draft commit messages, commit current changes, rewrite a commit message into conventional format, or enforce conventional commit standards in a repo.
development
Optimize Django ORM performance by detecting N+1 query patterns, missing `select_related`/`prefetch_related`, and likely index gaps. Run targeted static scans, optional runtime query capture, and produce a prioritized remediation plan with expected query-count impact. Use when users ask to speed up Django endpoints, reduce database hits, investigate slow views/serializers, or audit QuerySet efficiency before release.
development
Audit Python codebases for security, performance, correctness, and architecture antipatterns. Run optional trusted runtime checks (syntax, tests, lint, typing) plus static rule scans, then output a 0-100 health score with actionable fixes. Use when users ask to inspect a Python project, run a Python health check, review backend code quality, or perform a pre-release audit.
development
Verify Dockerfiles and Docker Compose manifests for security issues, reliability risks, optimization opportunities, syntax errors, and misconfiguration before builds or deploys. Run deterministic checks (`scripts/verify-docker.sh`, `docker compose config -q`, optional `hadolint`) and produce a 0-100 health score with prioritized fixes. Use when users ask to validate Dockerfile(s), docker-compose/compose YAML files, harden container configuration, optimize image/runtime setup, debug configuration failures, or run a pre-deploy Docker audit.