holtwood/awesome-cursorrules-zh
Cursor rule Cursor
Rules for improving FastAPI performance through caching, efficient data conversion, and delayed loading of large datasets or API responses.
A curated collection of Cursor AI programming rules | 132+ rules covering 32 areas, including frontend, backend, AI, and DevOps
This repository also configures its own agents. See what awesome-cursorrules-zh tells them →
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
Rules for improving FastAPI performance through caching, efficient data conversion, and delayed loading of large datasets or API responses.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
Rules for running setup tasks when a FastAPI application starts and cleanup tasks when it stops, such as opening database connections, loading configuration, or starting background tasks.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
Python style rules covering functional code, reusable modules, descriptive names, file naming, and a pattern where a function receives one object and returns one object.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of rules for connecting FastAPI, a Python framework for building web APIs, to databases using asynchronous libraries such as asyncpg or aiomysql and SQLAlchemy 2.0.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of FastAPI rules for handling expected and unexpected errors, logging failures, monitoring problems, and validating data with Pydantic models.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
FastAPI development rules covering Pydantic validation models, dependency injection for shared resources, asynchronous operations, HTTP errors, API routes, and built-in OpenAPI documentation.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A recommended folder layout for FastAPI projects, separating routes, data models, request schemas, shared dependencies, services, and tests inside an app directory.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of guidelines for the main application file in a FastAPI project, where a Python web API is started and configured. It covers application setup, middleware, error handling, and route definitions.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of guidelines for defining Pydantic models in a FastAPI project. Pydantic models describe the data an API accepts and returns, while checking that values have the expected types and formats.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of general standards for Python projects, including type hints, input checking, code style, security, web requests, background work, and tests. It also covers FastAPI-specific tasks such as CORS and authentication.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of coding rules for using the drawscape_factorio Python module to turn exported entity data into SVG output. It specifies the required functions, configuration values, and JSON input.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A collection of coding rules for Python 3.12 and many software development areas.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of guidelines for loading JSON files and using their data with the drawscape_factorio module. It focuses on handling file paths, errors, and passing the loaded data to another function.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of Python guidelines for creating charts with Matplotlib, a library for displaying data visually. It covers basic charts, including scatter plots, line charts, histograms, box plots, and multi-chart layouts.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of Python guidelines for working with pandas, a library for handling table-shaped data. It covers safe data changes and faster operations that work on whole columns instead of looping through rows.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of Python guidelines for building and training deep-learning models with PyTorch, a machine-learning framework. It covers model structures, training loops, loss calculation, optimization, and choosing available hardware.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of Python guidelines for building machine-learning models with scikit-learn, a library for training models from data. It covers preparing data, linking processing steps into pipelines, training models, and checking results with cross-validation.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A set of guidelines for building and training neural networks with TensorFlow and Keras, Python tools for machine learning. It covers sequential models, model training, distributed training, and using multiple GPUs.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A rule that requires checking whether the contents of an x.md file are valid before using them.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A rule that requires code changes to be made one file at a time.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A rule that forbids apologetic wording in code comments and technical documents.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A rule that tells an agent to rely on interface contracts and design specifications rather than current implementation details.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A rule that requires code to interact through abstract interfaces instead of checking concrete implementation details.
holtwood/awesome-cursorrules-zh
Cursor rule Cursor
A rule that forbids introducing new technical approaches or architecture changes without sufficient evidence.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: