Skip to main content
Run any Skill in Manus
with one click

colocate-component-css

Stars4
Forks1
UpdatedApril 19, 2026 at 20:06

Refactor a React component to colocate its CSS alongside it. Creates a directory for the component, moves it inside as index.tsx, extracts its styles from app/index.css into a colocated CSS file, and converts those styles to Tailwind @apply. Use when the user asks to colocate, extract, or move component styles, or refactor a component's CSS.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly