跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/BurntFrost/mental-kungfu/new-component

Claude Code new-component for React JSX conventions

Create a small component using the project's JSX, default exports, destructured props, and inline style conventions.

中文

Install in Claude Code

Open the React project in Claude Code. This workflow follows Mental Kung Fu's JSX and inline styling.

  1. Review `.claude/skills/new-component/SKILL.md` and its requirements at the pinned GitHub commit.
  2. Create `.claude/skills/new-component/` in your project and save the reviewed file as `.claude/skills/new-component/SKILL.md`.
  3. Start Claude Code from that project's root, then select `/new-component` in the slash menu.

Example task

Fixture component-19 needs a local reference card named ReferenceNote. Input is {title: 'Garden ideas', expanded: false}.

What to check

Create ReferenceNote.jsx with a default export. When collapsed, verify {visibleTitle: 'Garden ideas', detailVisible: false}. Use inline styles and keep React as the dependency.

Original SKILL.md on GitHub · Updated 2026-11-14

Frequently asked question

When does this component need another UI library?

The project workflow uses React itself. Simple components can use available project data and React hooks.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯