add .mdc file

This commit is contained in:
sanjeed5
2025-02-17 17:50:15 +05:30
parent 2087f9d628
commit 71ac7fc7cc
879 changed files with 7725 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Specific rules for Angular components, tailored for standalone components without modules.
globs: **/*.ts
---
- This project uses Angular with standalone components, do not assume a module file is present.
@@ -0,0 +1,7 @@
---
description: Enforces coding standards, consistent naming conventions, and discourages the use of deprecated features.
globs: **/*.*
---
- Follow the project's coding standards.
- Use consistent naming conventions.
- Avoid using deprecated functions or libraries.
@@ -0,0 +1,7 @@
---
description: Specifies practices for debugging and testing, including logging, unit tests, and ensuring all tests pass.
globs: **/*.*
---
- Include debug information in log files.
- Write unit tests for new code.
- Ensure all tests pass before merging.
@@ -0,0 +1,7 @@
---
description: Outlines guidelines for development steps, emphasizing incremental changes, thorough testing, and clear documentation.
globs: **/*.*
---
- Make changes in small, incremental steps.
- Test changes thoroughly before committing.
- Document changes clearly in commit messages.
@@ -0,0 +1,11 @@
---
description: Defines basic interaction and response guidelines for the AI, including verification and human-like communication.
globs: **/*.*
---
- Do not apologize.
- Do not thank me.
- Talk to me like a human.
- Verify information before making changes.
- Preserve existing code structures.
- Provide concise and relevant responses.
- Verify all information before making changes.
@@ -0,0 +1,12 @@
---
description: Applies fundamental coding principles like DRY, KISS, YAGNI, and the Boy Scout Rule to all files in the project.
globs: **/*.*
---
- Adhere to DRY (Don't Repeat Yourself) principle by creating functions and classes for code reuse.
- Follow Curly's Law: Ensure each entity (class, function, variable) has one clear purpose.
- Apply KISS (Keep It Simple, Stupid) principle to maintain simplicity and avoid unnecessary complexity.
- Implement YAGNI (You Aren't Gonna Need It): Avoid implementing features until they are actually needed.
- Refrain from premature optimization; focus on critical areas.
- Apply the Boy Scout Rule: Always leave the code better than you found it.
- Code for the maintainer, considering long-term maintainability.
- Follow the Principle of Least Astonishment; code should behave as expected.
@@ -0,0 +1,7 @@
---
description: Rules specific to integrating Novo Elements library, including referencing documentation and GitHub repository.
globs: **/*.ts
---
- Integrate Novo Elements from the novo-elements module.
- Refer to Novo Elements documentation: https://bullhorn.github.io/novo-elements/docs/#/home.
- Refer to Novo Elements GitHub repository: https://github.com/bullhorn/novo-elements.
@@ -0,0 +1,7 @@
---
description: Maintains project structure, emphasizes meaningful names for files/directories, and avoids unnecessary clutter.
globs: **/*.*
---
- Maintain a clear and organized project structure.
- Use meaningful names for files and directories.
- Avoid clutter by removing unnecessary files.