pydantic SKILL.md skillA
pydantic from jartan-llc/grimoire is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jartan-llc/grimoire/pydantic@git:20261023.fc78225Pins git:20261023.fc78225 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jartan-llc/grimoire
- Path
plugins/pythonica/skills/pydantic/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261023.fc78225, committed Oct 23, 2026
- First version recorded
- Jun 18, 2026
- Size
- 29,066 bytes
- Repository stars
- 3
- License
- MIT
Python data validation using type hints and runtime type checking with Pydantic v2's Rust-powered core.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Pydantic Validation Skill
Use it with `python-configuration` for how an application loads its configuration and secrets, `python-error-handling` for exception design around `ValidationError`, `python-type-safety` for protocols, generics and type narrowing, and `python-testing` for testing models.
## Quick Start
```python
from pydantic import BaseModel, Field, EmailStr
from datetime import datetime
class User(BaseModel):
id: int
name: str = Field(..., min_length=1, max_length=100)
email: EmailStr
created_at: datetime = Field(default_factory=datetime.now)
is_active: bool = True
# Validate data
user = User(id=1, name="Alice", email="alice@example.com")
print(user.model_dump()) # {'id': 1, 'name': 'Alice', ...}
# Automatic type coercion
user2 = User(id="2", name="Bob", email="bob@example.com")
assert user2.id == 2 # String "2" coerced to int
# Validation error
try:
User(id=3, name="", email="invalid")
except ValidationError as e:
print(e.errors())
```
---
## Core Concepts
### BaseModel Foundation
```python
from pydantic import BaseModel, ConfigDict
class Product(BaseModel):
model_config = ConfigDict(
str_strip_whitespace=True,
…Read the whole file at its exact version.
How to install
mdr add jartan-llc/grimoire/pydantic@sha256:891736d2099c507bThe line at the top of this page pins the label git:20261023.fc78225, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_vxcowj44avabzy23)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 18, 2026 and Oct 23, 2026, about one every 42 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261023.fc78225 latest | 2026-10-23 | fc78225 | 29,066 B | A | view · diff |
| git:20260731.f6add68 | 2026-07-31 | f6add68 | 29,269 B | A | view · diff |
| git:20260705.faf6c3f | 2026-07-05 | faf6c3f | 29,247 B | A | view · diff |
| git:20260618.9d9291d | 2026-06-18 | 9d9291d | 29,293 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (29066 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jartan-llc/grimoire · 3 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vxcowj44avabzy23 GET https://markdownregistry.com/api/v1/resolve?ref=jartan-llc/grimoire/pydantic GET https://markdownregistry.com/api/v1/blob/891736d2099c507bbed87c462d6015126e873b424dc8fc99ce81f13f4c3ac5cc
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from jartan-llc/grimoire
Every file in jartan-llc/grimoire