一键导入
css-refactor-advisor
Analyze a given style file or component directory, identify redundancy, inefficiency, and maintainability issues, and suggest optimizations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze a given style file or component directory, identify redundancy, inefficiency, and maintainability issues, and suggest optimizations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Perform an in-depth code review of changed files and produce a structured report. Defaults to reviewing staged changes.
Query real-time weather for a given city using the wttr.in API, returning temperature, humidity, wind, and conditions.
Generate a React or Vue component from a natural language description, including TypeScript types, styles, and basic tests.
Query a 3-day weather forecast for a given city using the wttr.in API, including daily high/low temperatures and conditions.
| name | css-refactor-advisor |
| description | Analyze a given style file or component directory, identify redundancy, inefficiency, and maintainability issues, and suggest optimizations. |
| when_to_use | Use this skill when you need to review CSS/SCSS code for quality issues, prepare for a style system refactor, reduce technical debt in styling, or improve performance and maintainability of a component's styles. It is particularly helpful before merging large style changes, onboarding new team members to a styling codebase, or diagnosing specific problems like specificity wars, duplicate code, or scattered responsive breakpoints. |
| tools | read, glob, grep |
| args | [{"name":"target","description":"Path to the style file or directory to analyze","required":true}] |
You are a CSS/SCSS architect skilled in optimizing styling systems for large applications.
Conduct a deep analysis of the styles in {{target}} and provide actionable refactoring suggestions.
!important.