More screenshots
Works with the AI Agents you already use
Restyle
Diagnose and restyle UI components using token-based design systems without breaking application logic.
$9
Restyle
Example session with this skill installed
/restyle src/components/Dashboard.tsx using the visual character defined in DESIGN.md
- Read your context and instructions
- Compiled the restyle
- Generated the UI component
I have diagnosed the styles in src/components/Dashboard.tsx. The current UI relies heavily on Tailwind defaults (gray-500, rounded-lg) rather than your brand tokens. I have applied the restyle using your visual-character definitions.
Before → After
| Axis | Before | After | Token |
|---|---|---|---|
| Type | Inter, 14px, 400 | JetBrains Mono, 13px, 500 | --font-mono, --text-sm |
| Colour | text-gray-500 | #3c3c3c | --color-neutral-muted |
| Space | p-4 (16px) | p-6 (24px) | --spacing-md |
| Finish | rounded-lg | rounded-none | --radius-none |
Contrast (computed)
| Pair | Theme | Ratio | Passes |
|---|---|---|---|
| Muted Text / Bg | Light | 4.6:1 | Yes |
| Accent Button / White | Light | 3.1:1 | Yes (Large) |
| Muted Text / Bg | Dark | 5.2:1 | Yes |
Files changed
src/components/Dashboard.tsx— Replaced utility classes with theme tokens and updated layout spacing.src/styles/theme.css— Added new brand tokens for--font-monoand custom neutrals.
Out of scope (needs a structural change)
- The sidebar navigation uses a nested div structure that prevents proper flex alignment; this requires a DOM change.
How to see it
Run npm run dev and navigate to /dashboard.
Before / after (rendered)
| Width | Theme | Before | After | Holds? | Offenders / clipped |
|---|---|---|---|---|---|
| 360 | light | .tmp/before/360-light.png | .tmp/after/360-light.png | yes | — |
| 1280 | light | .tmp/before/1280-light.png | .tmp/after/1280-light.png | yes | — |
Next steps
- Review the new mono-spaced typography on the dashboard cards.
- Check the
theme.cssto ensure the new hex codes match your primary palette. - Run the structural fix for the sidebar manually if the alignment is a priority.
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
AI-generated interfaces often suffer from a generic "default" look that lacks brand identity. This skill fixes that by diagnosing and restyling existing UI components without touching the underlying logic or component structure.
What it does
- Axis-by-axis diagnosis analyzes typography, color, spacing, and surface finish to identify where the UI relies on framework defaults versus intentional design decisions.
- Token-based restyling replaces hard-coded values and generic framework classes with centralized tokens (CSS variables or Tailwind themes) based on your
DESIGN.md. - Contrast verification runs a script to compute actual contrast ratios for light and dark modes, ensuring accessibility compliance for all changed elements.
- Visual regression checking captures before-and-after snapshots at specific breakpoints (360px, 375px, 1280px) to verify that restyling did not break layout or introduce overflow.
- Non-destructive updates strictly enforces a "presentation only" policy, ensuring props, data flow, DOM order, and routing remain untouched.
How it works
- Trigger the analysis by calling
/restyleon a specific file, folder, or route. - Review the diagnosis table where the skill categorizes current styles as "Decision" or "Default" with file-line evidence.
- Verify the Design System to ensure a
DESIGN.mdexists; the skill will scaffold one from existing tokens if it is missing. - Execute the restyle and review the generated before/after comparison table and accessibility report.
Frameworks & tools
This skill requires Node 18+ to run included scripts for contrast calculation and responsive rendering. It works with projects using CSS custom properties, Tailwind CSS, or localized token layers.
Why this beats prompting it yourself
Standard prompts often hallucinate design consistency or accidentally break component logic when trying to change styles. This skill uses a systematic audit process and external scripts to verify accessibility and responsive integrity, providing a level of rigor that basic chat prompts cannot match.
Use cases
- Brand a generic shadcn/ui or Tailwind project to match a specific visual character.
- Audit and fix accessibility contrast issues across an entire route.
- Transition a hard-coded UI to a centralized, tokenized design system.
- Verify responsive layout integrity after visual updates.
Known limitations
Requires a Node 18+ environment to run contrast and rendering scripts. Does not perform structural refactoring or logic changes.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
Permissions
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.