بنقرة واحدة
create-yaml-config
Create a YAML configuration from a Plugboard process defined in Python code.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a YAML configuration from a Plugboard process defined in Python code.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Add and shape a tune section in a Plugboard YAML configuration.
Generate a Mermaid diagram from a Plugboard YAML process configuration.
Update a Plugboard YAML config for a requested scenario and run it with the CLI.
| name | create-yaml-config |
| description | Create a YAML configuration from a Plugboard process defined in Python code. |
Produce a YAML config that faithfully represents the Python-defined process and is ready for CLI use.
process.dump("model.yaml")
plugboard_schemas.ConfigSpec, which is the schema used by the Plugboard CLI when loading config files. A quick check is:plugboard process validate model.yaml
If you need to validate directly in Python, use:
from pathlib import Path
import msgspec
from plugboard_schemas import ConfigSpec
ConfigSpec.model_validate(msgspec.yaml.decode(Path("model.yaml").read_bytes()))
This mirrors the Plugboard CLI load path: msgspec.yaml.decode(...) produces standard Python
data structures, and ConfigSpec.model_validate(...) validates that decoded YAML data.
If validation fails, inspect the reported field path and update the YAML structure, missing
required fields, component arguments, or tune entries before trying again.
tune section are clear and stable.plugboard process run or plugboard process diagram.