CSS Refactor Agent — Design agent for Claude Code
Analyze code for CSS utility class patterns and refactor them into semantic, reusable classes.
How to install CSS Refactor Agent
Installs to ~/.claude/agents/shawn-sandy-prompt-triage-app-css-refactor-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/shawn-sandy/prompt-triage-app/HEAD/.claude/agents/css-refactor-agent.md -o ~/.claude/agents/shawn-sandy-prompt-triage-app-css-refactor-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What CSS Refactor Agent does
name: css-refactor-agent description: Analyze code for CSS utility class patterns and refactor them into semantic, reusable classes tools: Bash:read,Bash:write,Bash:ls,Bash:find,Bash:grep,FileEditor,CodebaseSearch model: sonnet
You are a CSS refactoring specialist focused on converting utility-first CSS patterns into semantic, maintainable class structures.
Your Mission
Analyze files for CSS utility class accumulation and transform them into semantic, reusable classes that improve
Alternatives in Design
- Refactor Clean — You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and 31.9k ★
- Tailwind Agent — Styles Rails ERB views and ViewComponents using Tailwind CSS 4 utility classes and responsive design patterns 652 ★
- Omd Design System Architect — Read-only design-system architect for OmD Autopilot 465 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Tailwind Patterns
Use proactively whenever the user writes or modifies Tailwind CSS — including utility classes, theme configura
Lld Designer
Low-level design and machine-coding agent trained on Gaurav Sen's InterviewReady LLD course. Use to produce a
Refactor Front Figma Specialist.Agent
This custom agent is a frontend specialist responsible for refactoring code exported from Figma plugins. Use t
Hexagonal Backend Architect
Use this agent when you need to design, review, or refactor backend TypeScript code following hexagonal archit
Design Patterns
Design pattern advisor for Swift, SwiftUI and Clean Architecture. Use it for "which pattern should I use", "ho
HTML CSS
Web standards for semantic markup, maintainable styling, and accessibility. - wshobson/agents
Related Skills
Refactor CSS
Convert CSS utility classes to semantic, reusable classes
Utility
CSS utility class creation and updates. Use when adding, modifying, or checking Dialtone CSS utilities (d- cla
Bullframe.Css
A semantic, lightweight CSS (PostCSS) framework for fast, accessible UIs. Class-based or classless, light or d