RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Diff/growgraph-ontocast-cursor-rules-pydantic-usage ↔ growgraph-ontocast-cursor-rules-tests

Comparison

A · Cursor rules · growgraph/ontocastB · Cursor rules · growgraph/ontocast
What each file covers, counted
DimensionSharedOnly in AOnly in BOverlap
Sections0110%
Commands0030%
Section tags0130%

What each file covers

Sections

0 shared · 1 only in A · 1 only in B
  • − Pydantic Rules
  • + Testing Guidelines

Commands

0 shared · 0 only in A · 3 only in B
  • + pytest
  • + pytest-asyncio
  • + uv run pytest test

Section tags

0 shared · 1 only in A · 3 only in B
  • − do-not
  • + test
  • + code-style
  • + testing-strategy

Line diff

+11 added−8 removed6 unchanged35.3% identical
growgraph/ontocast · .cursor/rules/pydantic-usage.mdc
@@ −1 @@
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 
growgraph/ontocast · .cursor/rules/tests.mdc
@@ +1 @@
1---
2description: "Testing guidelines"
3globs:
4 - "test/**/*.py"
5alwaysApply: false
6---
7 
8# Testing Guidelines
9- Use `pytest` with descriptive test function names.
10- Prefer fixtures over global state.
11- For async code, use `pytest-asyncio`.
12- Ensure test coverage for:
13 - Pydantic model validation
14 - Env config via `BaseSettings`
15 - Error cases and edge cases
16- Run tests with `uv run pytest test`.
17 
@@ −1 +1 @@
11 ---
2−description: "Conventions for using Pydantic models and settings"
2+description: "Testing guidelines"
33 globs:
4− - "**/*.py"
4+ - "test/**/*.py"
55 alwaysApply: false
66 ---
77  
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.
8+# Testing Guidelines
9+- Use `pytest` with descriptive test function names.
10+- Prefer fixtures over global state.
11+- For async code, use `pytest-asyncio`.
12+- Ensure test coverage for:
13+ - Pydantic model validation
14+ - Env config via `BaseSettings`
15+ - Error cases and edge cases
16+- Run tests with `uv run pytest test`.
1417  
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