This document contains frequently used prompts and requests for the PriceProphet project. Each section contains specific prompts that can be used to maintain and improve the codebase.
Analyze the codebase for potential bugs and code smells
Identify and fix any TypeScript type issues
Review and improve error handling across the application
Add unit tests for core functionality
Implement integration tests for chart components
Create end-to-end tests for critical user flows
Identify and remove code duplication
Improve component modularity and reusability
Optimize function and method signatures
Fix React key warnings in component lists
Resolve duplicate key issues in RadioGroup components
Debug state management inconsistencies
Investigate and fix memory leaks
Track down race conditions in async operations
Ensure unique keys in mapped components
Add proper error boundaries
Monitor and fix component re-rendering issues
Optimize data transformation operations
Review and optimize memory usage patterns
Improve chart rendering performance
Optimize component re-renders
Implement virtualization for large datasets
Implement strategic data caching
Optimize state management
Add memoization where beneficial
Ensure consistent code formatting across the codebase
Standardize import ordering and organization
Apply consistent naming conventions
Apply TypeScript best practices
Implement modern ES6+ features appropriately
Follow React best practices and patterns
Improve code readability
Ensure proper function and variable naming
Maintain consistent file structure
Add JSDoc comments to all functions and classes
Document complex algorithms and business logic
Update type definitions and interfaces
Update README with new features and changes
Document development setup and requirements
Add troubleshooting guides and common issues
Document all public APIs and interfaces
Add usage examples and code snippets
Document chart configuration options
Enhance chart interactivity features
Improve user feedback and error messages
Add responsive design improvements
Add new chart types and indicators
Improve date/time axis formatting
Enhance chart customization options
Update project dependencies
Review and optimize bundle size
Audit and fix security vulnerabilities
Address known technical debt items
Improve error handling and logging
Update deprecated code patterns
Optimize build configuration
Improve deployment processes
Update CI/CD pipelines