Create UI Component
Use this skill when creating a new React UI component. It provides a consistent Lumina-style template.
$ 安裝
git clone https://github.com/CheekyCodexConjurer/quant-lab /tmp/quant-lab && cp -r /tmp/quant-lab/skills/create_ui_component ~/.claude/skills/quant-lab// tip: Run this command in your terminal to install the skill
SKILL.md
name: Create UI Component description: Use this skill when creating a new React UI component. It provides a consistent Lumina-style template.
Create UI Component
Use this skill to create new React components that match the current Lumina look (clean, light, slate/sky tones).
When to use
- The user asks to create a new component/view/modal/panel.
- You are introducing a new interaction surface in the UI.
Guidelines
- Styling: use Tailwind classes matching the current Lumina look (light backgrounds, slate text, subtle borders/shadows).
- No new stylesheets: avoid adding
.css/ CSS modules unless unavoidable. - Prefer existing primitives: check
src/lumina/components/common/before introducing new UI patterns. - Icons: use
lucide-react. - Extensibility: accept
className+ standard HTML props where reasonable.
Steps
- Start from
template.tsxin this folder. - Place the component under the appropriate folder (
src/components/...,src/lumina/..., or feature folder). - Keep responsibilities separated (UI vs logic hook vs service calls).
- Validate interaction states if it’s interactive (hover/focus/disabled/loading/error).
Repository

CheekyCodexConjurer
Author
CheekyCodexConjurer/quant-lab/skills/create_ui_component
0
Stars
0
Forks
Updated12h ago
Added1w ago