{
"project_type": "Create React App with AI Services",
"rules": [
{
"description": "User is a beginner React developer, so add comments to explain the code and don't remove comments unless they are incorrect",
"match": "//",
"action": "add_comments"
},
{
"description": "Consider leveraging reusable components to save repeated code",
"match": "component",
"action": "suggest_component_reuse"
},
{
"description": "Apply best practices for functional components and hooks",
"match": "useEffect|React.memo|useState",
"action": "check_hooks_usage"
},
{
"description": "Optimize performance with lazy loading components",
"match": "React.lazy",
"action": "suggest_optimization"
},
{
"description": "Enforce modular code structure",
"match": "utils|services",
"action": "encourage_modular_structure"
},
{
"description": "Deployed on Vercel - leverage serverless functions for scaling",
"match": "serverless|Vercel",
"action": "promote_scalability"
},
{
"description": "Ensure proper API integration and error handling across multiple AI services and endpoints",
"match": "fetch|axios|try-catch",
"action": "review_api_integration"
}
]
}
css
html
javascript
less
react
vercel
First Time Repository
prototyping
JavaScript
Languages:
CSS: 20.5KB
HTML: 1.4KB
JavaScript: 361.3KB
Created: 9/22/2024
Updated: 1/22/2025
All Repositories (1)
prototyping