holtwood/awesome-cursorrules-zh

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 →

233Stars on the repository
200Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

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.

not rated 233 +1 1mo ago A 8 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

pydantic-models

81

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

json-data-handling

85

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.

not rated 233 +1 1mo ago A 0 tokens original MIT

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.

not rated 233 +1 1mo ago A 172 tokens original MIT

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.

not rated 233 +1 1mo ago A 152 tokens original MIT

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.

not rated 233 +1 1mo ago A 316 tokens original MIT

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.

not rated 233 +1 1mo ago A 181 tokens original MIT

tensorflow-handbook

90

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.

not rated 233 +1 1mo ago A 169 tokens original MIT

no-inventions-rule

96

holtwood/awesome-cursorrules-zh

Cursor rule Cursor

A rule that forbids introducing new technical approaches or architecture changes without sufficient evidence.

not rated 233 +1 1mo ago A 19 tokens copy · 100% MIT

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: