Project Chat Instructions:
Purpose: Provide project-specific guidance to the AI, aligning its assistance with the project's unique requirements.
Functionality: Customize AI interactions based on the project's context, ensuring relevant and accurate support.
Usage: Useful for managing project-specific coding styles, libraries, or frameworks.
How to Use :
Examples:
Framework-Specific Guidelines:
Instruction: Use React functional components with hooks for state management.
Benefit: Aligns AI assistance with project-specific architectural decisions.
Styling Approach:
Instruction: Utilize Tailwind CSS classes for styling instead of traditional CSS files.
Benefit: Ensures consistency in styling methodology within the project.
State Management Library:
Instruction: Implement Redux Toolkit for state management in the application.
Benefit: Guides AI to provide suggestions compatible with the chosen state management approach.
Testing Framework:
Instruction: Write unit tests using Jest and React Testing Library.
Benefit: Directs AI to assist in generating tests that align with the project's testing strategy.
Follow Database Interaction Protocols:
Instruction: Utilize Sequelize ORM for database interactions, ensuring all queries are parameterized to prevent SQL injection attacks.
Benefit: Aligns database operations with project standards, enhancing security and maintainability.
Adopt Project-Specific State Management Patterns:
Instruction: Use Redux Toolkit for state management in the frontend, following the project's established patterns for actions and reducers.
Benefit: Maintains consistency in state management approaches, facilitating easier collaboration and code integration.
Implement Consistent Authentication Strategies:
Instruction: Employ JWT tokens for user authentication, ensuring that all endpoints requiring authentication validate the token appropriately.
Benefit: Standardizes authentication mechanisms, improving security and user session management.
Last updated