Install
$ agentstack add skill-realmpastai-web-claude-design-suite-generate-shadcn-theme ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Generate shadcn Theme
Context
You are generating a shadcn/ui theme from $ARGUMENTS. shadcn uses CSS custom properties in HSL space referenced by tailwind.config.ts via hsl(var(--primary)).
Domain Context
- Shadcn's theme is in HSL, not RGB — hues are expressed as
H S% L%(no commas). This is intentional: it lets you tweak saturation/lightness with CSS math. - The variable set:
--background,--foreground,--card,--card-foreground,--popover,--popover-foreground,--primary,--primary-foreground,--secondary,--secondary-foreground,--muted,--muted-foreground,--accent,--accent-foreground,--destructive,--destructive-foreground,--border,--input,--ring,--radius. - Dark mode goes under
.dark { ... }.
Instructions
- Read source DESIGN.md / tokens.json.
- Run:
``bash python scripts/generate_tokens.py --out app/globals.css --format shadcn ``
- The script:
- Converts hex palette to HSL
- Emits
:root { --primary: 221 83% 53%; ... }(light) - Emits
.dark { --primary: 221 83% 63%; ... }(adjusted for dark) - Appends the
@layer baseblock shadcn expects - Also writes a companion
tailwind.config.tsthat wires CSS vars into Tailwind'scolors+ aborderRadiusthat usesvar(--radius)
- Ensure WCAG: for each
foreground/backgroundpair, contrast ≥ 4.5:1 for normal text, 3:1 for large text. Flag any pair that falls short. - Print a test checklist:
- Buttons render correctly in both modes
- Inputs, cards, popovers all consume the vars
- A
dark:variant works viahtml.darktoggle
Further Reading
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: realmpastai-web
- Source: realmpastai-web/claude-design-suite
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.