analyze_component_library
Detect the UI component library in your source code, analyze usage patterns, and receive migration suggestions.
Instructions
Analyze component source code to detect which library is used, identify patterns, and get migration suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Component source code to analyze | |
| filePath | No | File path for context (e.g., src/components/Button.tsx) | |
| detectLibrary | No | Detect which component library is being used | |
| analyzePatterns | No | Analyze component patterns and structure | |
| suggestMigration | No | Suggest migration path to a target library | |
| targetLibrary | No | Target library for migration suggestions |