From architect
Generate a context-aware, production-grade design system from the SDL blueprint. Produces design tokens, typography, palette, motion language, and component inventory — grounded in the product domain, audience, and architecture. Use this skill when generating or refining the SDL design section, scaffolding frontend projects, or when the user asks about visual direction.
npx claudepluginhub navraj007in/architecture-cowork-plugin --plugin architectThis skill uses the workspace's default tool permissions.
This skill generates distinctive, production-grade design systems that are **derived from architecture context** — not random aesthetic choices. Every design decision traces back to the product domain, target audience, component library, and accessibility requirements defined in the SDL.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
This skill generates distinctive, production-grade design systems that are derived from architecture context — not random aesthetic choices. Every design decision traces back to the product domain, target audience, component library, and accessibility requirements defined in the SDL.
Reference files to load alongside this skill:
references/design-systems.md — component library presets, personality guide, domain defaults, sub-domain differentiationreferences/design-system-fonts.md — curated font pairing library by personality (49+ pairs including organic/retro/expressive/cinematic, rotation rules)references/design-system-patterns.md — dark mode tokens, gradient/texture recipes, motion timing values, layout archetype spatial specs, 8 unconventional layout patterns with CSSreferences/design-system-creative.md — 4 creative personalities (organic, retro, expressive, cinematic), consumer/creative domain defaults, personality × domain quick guideThe user has an SDL blueprint. This skill fills, refines, or validates the design section and produces actionable design artifacts.
Before making any design choice, ground it in the SDL:
solution.name, solution.description, frontend components, target audience, product domainreferences/design-system-creative.md personality × domain quick guidedesign-systems.md reference for full domain mappingdashboard (sidebar + header + content)marketing (hero + sections + footer)editorial (wide content + typographic hierarchy)saas (auth layout + dashboard + settings)app-shell (top nav + responsive content)references/design-system-patterns.md:
split-screenbento-gridfull-bleed-panelssticky-scrolldiagonalhorizontal-scrolltypography-forwardmagazine-gridfull-bleed-panels for hero + bento-grid for features + magazine-grid for contentAdapted from Anthropic's frontend-design research — applied through an architecture lens:
reducedMotion accessibility setting when specifiedWhen generating a design system, produce ALL of the following:
Complete the SDL design section with all fields:
design:
preset: [component library — shadcn | material | ant | chakra | daisyui | bootstrap | custom]
personality: [derived from domain + audience]
palette:
primary: [domain-appropriate color]
secondary: [complementary color]
accent: [contrast color for CTAs and highlights]
neutral: [slate | gray | zinc | neutral | stone — matched to personality]
surface: [light | dark | auto — context-appropriate]
semantic:
success: [green variant]
warning: [amber variant]
error: [red variant]
info: [blue variant]
typography:
heading: [distinctive Google Font — NEVER Inter/Roboto/Arial]
body: [readable Google Font — paired for contrast]
mono: [monospace font for code blocks]
scale: [compact | default | spacious — matched to personality]
shape:
radius: [none | sm | md | lg | full — matched to personality]
density: [compact | default | relaxed]
shadows: [flat | subtle | elevated | dramatic]
borders: [none | subtle | visible | bold]
motion:
transitions: [none | snappy | smooth | expressive]
pageTransitions: [true | false]
layout:
maxWidth: [1024-1440 based on archetype]
style: [dashboard | marketing | editorial | app-shell | saas]
iconLibrary: [lucide | heroicons | phosphor | tabler — matched to personality]
componentLibrary: [full name e.g. "shadcn/ui", "Radix UI"]
accessibility:
wcag: [A | AA | AAA — default AA for most, AAA for healthcare/gov]
reducedMotion: [boolean]
highContrast: [boolean]
A human-readable 1-page markdown summary:
Machine-readable tokens for consumption by scaffold:
{
"colors": {
"primary": { "50": "...", "100": "...", "...", "950": "..." },
"secondary": { ... },
"accent": { ... },
"neutral": { ... },
"semantic": { "success": "...", "warning": "...", "error": "...", "info": "..." }
},
"typography": {
"heading": { "family": "...", "googleFont": true, "weights": [400, 600, 700] },
"body": { "family": "...", "googleFont": true, "weights": [400, 500] },
"mono": { "family": "...", "googleFont": true, "weights": [400] },
"scale": "default"
},
"shape": {
"radius": { "sm": "0.25rem", "md": "0.5rem", "lg": "1rem", "full": "9999px", "default": "0.5rem" },
"shadows": { "sm": "...", "md": "...", "lg": "..." },
"borders": { "width": "1px", "color": "..." }
},
"motion": {
"duration": { "fast": "150ms", "normal": "300ms", "slow": "500ms" },
"easing": { "default": "cubic-bezier(0.4, 0, 0.2, 1)", "bounce": "cubic-bezier(0.68, -0.55, 0.265, 1.55)" }
},
"layout": {
"maxWidth": "1280px",
"style": "dashboard"
}
}
Map SDL architecture components to UI components needed:
| SDL Component | UI Components Needed |
|---|---|
| Auth service | Login form, signup form, forgot password, auth layout |
| User dashboard | Sidebar nav, stat cards, data tables, charts |
| API service | API key management, usage meters, code snippets |
| Payment integration | Pricing cards, checkout form, billing history |
Ready-to-merge Tailwind configuration:
// tailwind.config.ts extension
import type { Config } from 'tailwindcss'
export default {
theme: {
extend: {
colors: { /* from design tokens */ },
fontFamily: { /* from typography */ },
borderRadius: { /* from shape */ },
boxShadow: { /* from shape */ },
},
},
} satisfies Config
Single-file HTML that visually demonstrates:
When surface: dark is specified in SDL, or when the domain defaults to dark (developer tools, gaming, AI/ML at user preference), generate an additional dark token set alongside the light tokens.
Read references/design-system-patterns.md → Dark Mode Token Patterns section for exact values per personality.
Output dark tokens in design-tokens.json under a "dark" key:
{
"colors": { ... },
"dark": {
"background": "#09090b",
"surface": "#18181b",
"surface-elevated": "#27272a",
"border": "rgba(255,255,255,0.08)",
"text-primary": "#fafafa",
"text-secondary": "#a1a1aa",
"primary": "#60a5fa"
}
}
Also generate the CSS dual-mode token block (:root + .dark) for inclusion in the palette-preview.html.
No two projects should ever look the same. Even within the same domain, vary:
The goal is design systems that feel intentionally crafted for this specific product — not templated output with a color swap.