component-analyzer
Installation
SKILL.md
Component Analyzer - 组件代码分析器
用于分析 React/Vue 组件代码,自动解析组件结构、构建依赖关系图、检测重复模式,并生成智能的拆分建议。
快速开始
基本使用
# 分析 React 组件目录(JSON 格式输出)
py -3 .claude/skills/component-analyzer/scripts/analyze_components.py \
--input ./react-components \
--output ./analysis-report.json
# Markdown 格式报告
py -3 .claude/skills/component-analyzer/scripts/analyze_components.py \
--input ./react-components \
--format markdown