# Component Re-skin Prompt

> Agent prompt to strip default styling from UI component libraries

A targeted prompt for AI coding agents to avoid the generic look of default component libraries like shadcn/ui. It forces the agent to map design tokens from a custom style guide, outline layout specs first, and visually critique screenshots against default styling conventions until all generic traits are removed.

## The prompt

"fetch button, input, card, nav and dialog from the libraries. read style.md. replace every default token (font, color, radius, shadow, spacing) with the values in it before placing anything. write the layout spec in words first, build second, screenshot third. then list 5 things in the screenshot a default shadcn page also has, fix each, repeat until the list is empty"

## What it is for

- Reskin boilerplate UI components using a custom style guide
- Prevent AI coding agents from generating generic-looking landing pages and dashboards
- Enforce visual audit loops to eliminate default UI library aesthetics

## Key points

- Instructs the agent to fetch core components (button, input, card, nav, dialog) upfront
- Requires token replacement (font, color, radius, shadow, spacing) from a style file before layout placement
- Mandates writing a verbal layout spec before code generation
- Incorporates a screenshot-based visual feedback loop
- Iteratively identifies and fixes five traits typical of default UI pages until clean

## Pricing

Free

## Details

- Type: Prompt
- Category: [Development](https://xiry.app/topics/development.md)
- Topic: [AI Prompts](https://xiry.app/topics/ai/ai-prompts.md)
- Open source: no
- Platforms: other
- For: Front-end developers and designers using AI agents to build interfaces
- Tags: prompt, shadcn, ui design, tailwind, design tokens, coding agents

## Why it was saved

- [@DeRonin_, 29 November 2026](https://x.com/DeRonin_/status/2127126970995470772): It can be pasted straight into an agent to get a non-default UI out of standard component libraries.

## Related

- [agency-agents](https://xiry.app/resources/agency-agents): Curated library of specialized AI agent personas and workflows for Claude Code (GitHub repo, Open source)
- [Senior Product Manager PRD Prompt](https://xiry.app/resources/prd-prompt-for-llms): System prompt to convert rough software ideas into structured, agent-ready PRDs (Prompt, Free)
- [15 ChatGPT Prompts by Topic (Atul Kumar)](https://xiry.app/resources/15-chatgpt-prompts-by-topic-atul-kumar): A cheat sheet of 15 business and marketing prompts for ChatGPT. (Prompt, Free)
- [5-Year Life Prediction Prompt Sequence](https://xiry.app/resources/5-year-life-prediction-prompt-sequence): Three-step transactional analysis prompt sequence for forecasting your future life trajectory (Prompt, Free)
- [9 ChatGPT Prompts for Accelerated Learning](https://xiry.app/resources/9-chatgpt-prompts-for-accelerated-learning): A collection of reusable ChatGPT prompts designed for studying and mastering topics (Prompt, Free)
- [Absolute Mode](https://xiry.app/resources/absolute-mode): A system prompt that removes conversational fluff and engagement-seeking behaviors from LLMs (Prompt, Free)

Updated 4 December 2026. Page: https://xiry.app/resources/component-re-skin-prompt

Make your own library: Xiry for Mac makes your saved Instagram reels and liked tweets searchable and pulls the useful stuff out, like this library. It's invite-only for now; request an invite at https://xiry.app/mac/download.
