Loading...
Loading...
Analyze a React/TypeScript component for compliance with coding guidelines and suggest improvements.
npx skill4agent add jstarfilms/vibecode-protocol-suite component-analysis| Check | What to Look For |
|---|---|
| Size | < 200 lines (refactor if exceeded) |
| Single Responsibility | Does one thing well |
| TypeScript | Proper types, interfaces for props |
| Naming | PascalCase components, camelCase functions, handle* events |
| Hooks | Proper use of React hooks and effects |
| Documentation | TSDoc/JSDoc comments |
| Imports | Organized, no unused imports |
| Check | What to Look For |
|---|---|
| Tailwind v4 | Using @theme integration |
| Color Tokens | Using primary, accent, semantic tokens |
| Responsive | Mobile-first (sm:, md:, lg:) |
| Dark Mode | dark: variants |
| Performance | Avoiding expensive backdrop-filter |
# Component Analysis: [Name]
**File:** `[path]`
**Lines:** [X] / 200 max
**Score:** [X]/10
## ✅ Compliant
- [Things done well]
## ⚠️ Warnings
- [Minor issues]
## ❌ Violations
- [Critical issues]
## 📋 Recommendations
### High Priority
1. [Critical fix]
### Medium Priority
1. [Improvement]
## 🔧 Suggested Fixes
[Before/After code examples]interface ComponentPropsdark: