mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-28 13:42:57 +08:00
rename folder
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
---
|
||||
description: Promotes AI-friendly coding practices in Python files, including descriptive names, type hints, detailed comments, and rich error context.
|
||||
globs: /**/*.py
|
||||
---
|
||||
- Use descriptive variable and function names
|
||||
- Use type hints
|
||||
- Provide detailed comments for complex logic
|
||||
- Provide rich error context for debugging
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Implements CI/CD pipelines using GitHub Actions or GitLab CI for automated building, testing, and deployment processes.
|
||||
globs: /.github/workflows/**/*.*
|
||||
---
|
||||
- Implement CI/CD with GitHub Actions or GitLab CI.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Ensures code style consistency using Ruff for Python files to maintain a clean and uniform codebase.
|
||||
globs: /**/*.py
|
||||
---
|
||||
- Enforce code style consistency using Ruff.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Handles configuration management using environment variables within the 'config' directory for flexible and maintainable application settings.
|
||||
globs: /config/**/*.*
|
||||
---
|
||||
- Manage configuration using environment variables.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Specifies dependency management using Rye and virtual environments for consistent and isolated project dependencies.
|
||||
globs: /**/pyproject.toml
|
||||
---
|
||||
- Manage dependencies via https://github.com/astral-sh/rye and virtual environments.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Promotes detailed documentation within Python files using docstrings and README files to enhance code understanding and maintainability.
|
||||
globs: /**/*.py
|
||||
---
|
||||
- Provide detailed documentation using docstrings and README files.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Emphasizes robust error handling and logging practices in Python files, including context capture for detailed debugging information.
|
||||
globs: /**/*.py
|
||||
---
|
||||
- Implement robust error handling and logging, including context capture.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Promotes modular design within the 'src' directory by organizing code into distinct files for models, services, controllers, and utilities.
|
||||
globs: /src/**/*.*
|
||||
---
|
||||
- Implement modular design with distinct files for models, services, controllers, and utilities.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Enforces a clear project structure for all Python projects, advocating for separate directories for source code, tests, docs, and configuration.
|
||||
globs: /**/*.*
|
||||
---
|
||||
- Ensure a clear project structure with separate directories for source code (src), tests (tests), documentation (docs), and configuration (config).
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Specifies comprehensive testing practices using pytest within the 'tests' directory to ensure code reliability and quality.
|
||||
globs: /tests/**/*.*
|
||||
---
|
||||
- Use pytest for comprehensive testing.
|
||||
Reference in New Issue
Block a user