Awesome Cursor Rules Collection
Filter by:
Showing 301-312 of 2626 matches
unknown
You are an expert in Python, database algorithms, and containerization technologies.Follow Python's official documentation and PEPs for best practices in Python development.
golang
python
First seen in:
Used in 2 repositories
PHP
- add docblocks to all methods, classes, and properties
- add return types to all methods
- add type hints to all methods
- add default values to all methods
- add phpstan and psalm annotations to all methods
- add phpunit tests to all methods
- add inline comments to all logic explaining the steps being taken
- use readonly properties where appropriate
typescript
css
vue
javascript
shell
hack
php
First seen in:
Used in 2 repositories
Jupyter Notebook
Please follow these guidelines:
- `asyncio_mode = auto` is set in pytest.ini so when making tests don't mark tests with pytest.mark.asyncio
- all functions should have type hints for parameters and outputs. For built in type hints (like `list`, `dict`, `tuple`) don't import the typing library, just use the more modern type hints built into Python.
- avoid using comments and rather give descriptive function/variable names. Only use comments when absolutely necessary to communicate something you can't infer from the code or mention design decisions.
dockerfile
jupyter notebook
python
shell
First seen in:
Used in 2 repositories
Jupyter Notebook
1. Make minimal code changes as possible
2. if you are creating function, make sure to name it in more easy, user friendly , optimised manner.
3. Never copy the exact code if presented with a code from other location or file or codebase, just make it optimised
4. Always Follow the principle LESS IS MORE
5. Make it minimal change as possible
6. Firstly try not to make any modification to the existing code as possible
7. Only modify the existing code if its highly required, without that if it cant be done, then add new code section.
8. If you are adding new code, make sure to add it in a way that it can be easily integrated with the existing codebase.
css
dockerfile
javascript
jupyter notebook
less
python
ruby
shell
First seen in:
3,139438
Used in 2 repositories