Cursor rule
.cursor/rules/pydantic-usage.mdcConventions for using Pydantic models and settings
Cursor rules
Quality
23/100
Scores the file, not the repository.Length
46 words
1 headings · 0 code blocksRepository
153
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.12345678# Pydantic Rules9- Use `pydantic.BaseModel` for request/response schemas.10- For configuration, use `pydantic_settings.BaseSettings` (v2).11- Always provide default values or use `...` for required fields.12- Use model validators (`@field_validator`, `@model_validator`) instead of custom init logic.13- Keep models small and focused on one purpose.14
Also in growgraph/ontocast
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| growgraph/ontocast.cursor/rules/docs.mdc · 153 | Cursor rules | do-notdocs | 37/100 | 3 days ago | |
| growgraph/ontocast.cursor/rules/python-run.mdc · 153 | Cursor rules | no sections | 31/100 | 3 days ago | |
| growgraph/ontocast.cursor/rules/python-style.mdc · 153 | Cursor rules | styledo-not | 27/100 | 3 days ago | |
| growgraph/ontocast.cursor/rules/tests.mdc · 153 | Cursor rules | teststyletesting-strategy | 39/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49 | Cursor rules | setupbuildteststyle+4 | 96/100 | 3 days ago | |
| iloveitaly/llm-ide-rules.cursor/rules/general.mdc · 13 | Cursor rules | teststyledo-notagent-behaviour+1 | 92/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/guard-git.mdc · 119 | Cursor rules | stylearchgitsecurity+2 | 89/100 | 3 days ago | |
| nerds-odd-e/doughnut.cursor/rules/frontend-testing.mdc · 49 | Cursor rules | buildteststyletesting-strategy+2 | 89/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/organize-workspace.mdc · 119 | Cursor rules | buildstylegitdeployment+2 | 89/100 | 3 days ago |
