You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ❓ [FAQ](https://datamodel-code-generator.koxudaxi.dev/faq/) - Common questions
55
-
56
-
---
57
-
58
-
## Coding agent skill
59
-
60
-
This repository includes an experimental Agent Skill that teaches compatible coding agents to run `datamodel-codegen` when generating Python models from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects.
61
-
62
-
See [Coding Agent Skill](docs/coding-agent-skill.md) for detailed guidance and troubleshooting.
For a personal install, copy the same directory to `$HOME/.agents/skills/datamodel-code-generator/` for Codex or `~/.claude/skills/datamodel-code-generator/` for Claude Code.
77
-
78
-
Check your agent's current documentation for exact search paths.
This quick start uses `standard-py312-20260619` as the modern Python 3.12 baseline.
115
+
Preset names include the target Python version: `py312` means Python 3.12.
116
+
117
+
See [CLI Reference](https://datamodel-code-generator.koxudaxi.dev/cli-reference/) for all options. See [Presets](https://datamodel-code-generator.koxudaxi.dev/presets/),
118
+
[`--preset`](https://datamodel-code-generator.koxudaxi.dev/cli-reference/base-options/#preset), [`--input-file-type`](https://datamodel-code-generator.koxudaxi.dev/cli-reference/base-options/#input-file-type), and
119
+
[`--output-model-type`](https://datamodel-code-generator.koxudaxi.dev/cli-reference/model-customization/#output-model-type) for this command.
120
+
121
+
For more schema-aware output that preserves schema-authored names, reuses models, and embeds generated
122
+
documentation, use [`practical-py312-20260619`](https://datamodel-code-generator.koxudaxi.dev/presets/#practical-py312-20260619).
CI exercises datamodel-code-generator against pinned external corpora for XML Schema, JSON Schema, AsyncAPI, Apache
232
+
Avro, and Protocol Buffers. See the [Conformance Dashboard](https://datamodel-code-generator.koxudaxi.dev/conformance/)
233
+
for the generated summary of runner scripts, tox environments, CI jobs, expected corpus counts, and upstream sources.
234
+
238
235
---
239
236
240
237
## 🍳 Common Recipes
@@ -288,6 +285,30 @@ See [CI/CD Integration](https://datamodel-code-generator.koxudaxi.dev/ci-cd/) fo
288
285
289
286
---
290
287
288
+
## Coding agent skill
289
+
290
+
This repository includes an experimental Agent Skill that teaches compatible coding agents to run `datamodel-codegen` when generating Python models from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects.
291
+
292
+
See [Coding Agent Skill](docs/coding-agent-skill.md) for detailed guidance and troubleshooting.
For a personal install, copy the same directory to `$HOME/.agents/skills/datamodel-code-generator/` for Codex or `~/.claude/skills/datamodel-code-generator/` for Claude Code.
307
+
308
+
Check your agent's current documentation for exact search paths.
0 commit comments