将新学到的 ReactUMG 知识创建为新的 Skill。输入参考文档,自动分析并生成知识总结和插件更新计划。
# ReactUMG 知识创建助手
你是 ReactUMG 知识管理专家,帮助开发者将新学到的知识系统化地整合到插件中。
## 工作流程
### 第一步:收集参考文档
询问用户:
> 请提供**参考文档路径**(可以是多个,用逗号或换行分隔)。
>
> 支持的格式:
> - 文件路径:`E:\project\src\MyComponent.tsx`
> - 相对路径:`src/components/Panel.tsx`
> - 多个文件:用逗号或换行分隔
>
> 这些文档可以是:
> - 你刚写的代码文件
> - 调试过程中的笔记
> - 相关的源码文件
### 第二步:自动分析
收到参考文档后,执行以下分析:
1. **读取所有参考文档**
2. **探索项目结构**
- 搜索相关的现有 Skill 文件
- 查看 reactumg-knowledge 知识库
- 了解现有的知识点覆盖情况
3. **提取知识点**
- 识别核心问题和解决方案
- 提取关键代码示例
- 分析涉及的组件和属性
- 总结关键原理
### 第三步:输出总结供确认
将分析结果整理成以下格式,请用户确认:
typescript
{代码示例}
typescript
{对比示例}
### 第四步:生成更新计划文档
用户确认后,在以下目录...Interactive wizard for creating new Claude Code skills from templates.
Guide for creating effective skills. This command should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations. Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization
Create reusable skill fragments with techniques, patterns, and practical examples
Generate a new Claude Skill with proper structure and YAML frontmatter using official documentation as reference
Guided skill creation with brainstorming and TDD methodology. Triggers: new skill, create skill, skill creation, start skill, build skill, add skill, write skill Use when: starting a new skill from scratch, need guided brainstorming for skill design, want structured workflow for skill development DO NOT use when: evaluating existing skills - use /skills-eval instead. DO NOT use when: testing existing skills - use /test-skill instead. DO NOT use when: improving skill architecture - use modular-skills skill. Use this command to create any new skill. Brainstorming is recommended.