- Home
- Skills
- Frontend & Web Apps
- Classic UI Design Principles
Classic UI Design Principles
Turn vague UI adjectives ("modern", "clean", "fun", "premium") into measurable design and engineering decisions — without turning every app into the same flat grey template.
Free
Classic UI Design Principles
Example session with this skill installed
Build a Trust-themed dashboard page for a fintech app using shadcn/ui. Use realistic data for a transaction list and include a signature interaction.
- Read your context and instructions
- Compiled the classic ui design
- Generated the UI component
I have designed and implemented the fintech dashboard using the
Trust mood profile. The UI follows a strict 8pt grid, utilizes oklch semantic tokens for WCAG AA compliance, and includes a signature "Transaction Detail" slide-over interaction.
Fintech Dashboard Implementation
// components/dashboard/transaction-list.tsx
import { format } from "date-fns"
import { ArrowUpRight, ArrowDownLeft, Wallet } from "lucide-react"
const transactions = [
{ id: "1", name: "Stripe Payout", amount: 4500.00, type: "incoming", date: "2024-03-10T10:30:00Z" },
{ id: "2", name: "AWS Infrastructure", amount: -1200.45, type: "outgoing", date: "2024-03-09T15:20:00Z" },
{ id: "3", name: "WeWork Office", amount: -800.00, type: "outgoing", date: "2024-03-08T09:00:00Z" }
]
export function TransactionList() {
return (
<div className="rounded-xl border border-border bg-card p-6 shadow-sm">
<div className="mb-6 flex items-center justify-between">
<h2 className="text-xl font-semibold tracking-tight text-foreground">Recent Activity</h2>
<button className="text-sm font-medium text-primary hover:underline">View All</button>
</div>
<div className="space-y-4">
{transactions.map((tx) => (
<div key={tx.id} className="flex items-center justify-between p-2 hover:bg-muted/50 rounded-lg transition-colors group">
<div className="flex items-center gap-4">
<div className={`p-2 rounded-full ${tx.type === 'incoming' ? 'bg-emerald-100 text-emerald-700' : 'bg-orange-100 text-orange-700'}`}>
{tx.type === 'incoming' ? <ArrowDownLeft size={18} /> : <ArrowUpRight size={18} />}
</div>
<div>
<p className="text-sm font-medium leading-none">{tx.name}</p>
<p className="text-xs text-muted-foreground">{format(new Date(tx.date), "MMM d, h:mm a")}</p>
</div>
</div>
<p className={`text-sm font-mono font-bold ${tx.type === 'incoming' ? 'text-emerald-600' : 'text-foreground'}`}>
{tx.type === 'incoming' ? '+' : ''}{tx.amount.toLocaleString('en-US', { style: 'currency', currency: 'USD' })}
</p>
</div>
))}
</div>
</div>
)
}
Next steps
- Run
python scripts/verify.py dashboard.tsx --mood trustto confirm contrast ratios. - Implement the
Loadingskeleton state for the transaction list using the 9-state matrix. - Add the
Intl.NumberFormatutility to the balance card for localized currency support.
dashboard.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Turn vague UI adjectives ("modern", "clean", "fun", "premium") into measurable design and engineering decisions — without turning every app into the same flat grey template.
What It Does
classic-ui-design-principles gives your AI coding agent a structured workflow from single-component tweaks to full multi-screen web applications:
- 3 Adaptive Modes:
- Component Mode: Fast path for buttons, modals, forms, and cards with strict accessibility and spacing rules.
- Page Mode: Landings, dashboards, and editorial pages with a clear mood profile, signature visual element, and hierarchy.
- App Mode: Multi-screen product workflow (
P0/P1/P2screen inventory, shared token/shadcn foundation, realistic seeded data, and a mandatory screen-by-screen coverage report).
- 5 Mood Profiles:
Trust,Bold,Playful,Editorial, andTechnical— each with tailored surface hierarchy, typography scale, spacing rhythm, and motion personality. - 9-State & Time-Aware UX: Goes beyond happy-path screenshots with rules for
Empty,Loading,Long-loading (>3s)(named stages, elapsed + ETA, productive preview, Cancel + Notify),Error,Partial,Locked,Success,Offline, andStale. - Motion & Micro-Moments: Standard motion tokens (
80–500ms), GPU-composited/paint-safe animation policy, result micro-moments (score ring count-up, row highlight flash, Undo toast, sliding tab pill), and strictprefers-reduced-motionfallbacks. - Modern Stack & Locale Ready: Supports Tailwind v3/v4, CSS Color 4/5 (
oklch,oklab,color-mix),var(--x)token chains,cvavariants, shadcn/ui baseline fixes, Next.js App Routerlayout.tsx, Vue/Svelte SFCs,text-wrap: balance/pretty,tabular-nums,Intlformatting, Turkishlang="tr"uppercase safety, and reachable dark-mode toggles.
Included Verification Tooling
scripts/verify.py(Single-Command Verifier): Runs staticuitools.pyaudit and renderedrender.py --check(--motion) in one call with unified text/JSON output.scripts/uitools.py(Static Audit & Design Math):contrast(oklch/oklab/Tailwind v4olive/mist/taupe+ same-hue AA fixes),scale,radius,snap, andauditwith--route/--routes-globcross-file inlining,cva, reasoneduitools-ignore, and--baseline.scripts/render.py(Rendered Visual, A11y & Motion Checks): Full-page screenshots, authenticated--url/--routes, headless Chromiumaxe-core+ 375px mobile checks, and--motion0–1000ms filmstrip audit.
Local Requirements
- Core skill &
scripts/uitools.py: Python 3 (standard library only, zero external packages required). - Optional
scripts/render.pyvisual/motion verification: Pythonplaywright+ Chromium/Chrome, plusnode/npm(foraxe-coreand offline Tailwind/font fallback). The skill works cleanly even if Playwright/Node are not installed; visual checks are simply skipped.
Requires Python for audit scripts. Best results with Tailwind/shadcn. Automated visual checks require a headless browser/Chrome.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 9 days ago
- Free with an Agensi account
- Software
Python
tailwindcss
Node.js
Git
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.