Skip to main content
Manusで任意のスキルを実行
ワンクリックで

colocate-component-css

スター4
フォーク1
更新日2026年4月19日 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.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly