RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/growgraph/ontocast

Cursor rule

.cursor/rules/pydantic-usage.mdc

Conventions for using Pydantic models and settings

Cursor rules

Quality

23/100

Scores the file, not the repository.

Length

46 words

1 headings · 0 code blocks

Repository

153

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
growgraph/ontocast/.cursor/rules/pydantic-usage.mdcRawGitHub
1---
2description: "Conventions for using Pydantic models and settings"
3globs:
4 - "**/*.py"
5alwaysApply: false
6---
7 
8# Pydantic Rules
9- 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 

Sections

  • Pydantic Rules

What it covers

do-not

Stack — with the evidence

python

(1.00)

pytest

(1.00)

fastapi

(0.70)

pytorch

(0.70)

langchain

(0.70)

ruff

(0.70)

docker

(0.60)

github-actions

(0.60)

Glob targeting

  • **/*.py

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
growgraph
Language
—
License
—
Archived
no

All configs in this repo

Also in growgraph/ontocast

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
growgraph/ontocast.cursor/rules/docs.mdc · 153Cursor rulespythonpytest+6do-notdocs37/1003 days ago
growgraph/ontocast.cursor/rules/python-run.mdc · 153Cursor rulespythonpytest+6no sections31/1003 days ago
growgraph/ontocast.cursor/rules/python-style.mdc · 153Cursor rulespythonpytest+6styledo-not27/1003 days ago
growgraph/ontocast.cursor/rules/tests.mdc · 153Cursor rulespythonpytest+6teststyletesting-strategy39/1003 days ago
Diff against .cursor/rules/docs.mdc Diff against .cursor/rules/python-run.mdc Diff against .cursor/rules/python-style.mdc Diff against .cursor/rules/tests.mdc

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49Cursor rulestypescriptcypress+14setupbuildteststyle+496/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/general.mdc · 13Cursor rulespythonpytest+2teststyledo-notagent-behaviour+192/1003 days ago
danielvm-git/bigpowers.cursor/rules/guard-git.mdc · 119Cursor rulesshellnode+8stylearchgitsecurity+289/1003 days ago
nerds-odd-e/doughnut.cursor/rules/frontend-testing.mdc · 49Cursor rulestypescriptcypress+14buildteststyletesting-strategy+289/1003 days ago
danielvm-git/bigpowers.cursor/rules/organize-workspace.mdc · 119Cursor rulesshellnode+8buildstylegitdeployment+289/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack