Skip to main content
在 Manus 中运行任何 Skill
一键导入

config-schema

星标4
分支0
更新时间2026年7月6日 18:55

How ContosoForge's configuration is typed and validated — the Pydantic spine in src/engine/config/config_schema.py, the normalizer registry in config.py, and the coercion helpers in src/utils/config_helpers.py. Load this when adding or changing a config field, editing config validation/normalization, writing code that reads cfg or models_cfg, or debugging a config validation error. Its single most important point: BOTH cfg and models_cfg are Pydantic models, not dicts — access fields by attribute. Use it whenever you see AttributeError/ValidationError on config, need to add a new config.yaml or models.yaml key, or aren't sure whether to use dict or attribute access on a config object.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly