workflow-schema-tuning
适合希望通过 schema 调整 AI 生成偏好或修正错误约束的维护者。
修改 schema 会直接影响 AI 行为,易引入误导性或错误约束。
修改交付给 AI 编辑器的 workflow-schema.json,以影响工作流节点生成偏好。
通过修改 resources/workflow-schema.json 来影响 AI 编辑器生成工作流节点时的偏好和说明,本质上是在给 AI 下更清晰的“生成提示”。当 AI 总是选不到你想要的节点、需要新增节点类型或调整描述时用,记住这是 prompt engineering 而不是运行时的校验器,所以改动会改变 AI 的信念与生成方向。
▸ 展开 SKILL.md 英文原文
Use when modifying `resources/workflow-schema.json` in cc-wf-studio to influence how AI agents generate workflows via the cc-workflow-ai-editor skill. Triggers include "AIが特定のノードタイプを選んでくれない", "ワークフロー生成のバイアスを調整したい", "スキーマの description を変えたい", "新しいノードタイプを追加したい", "嘘の制約がスキーマに混じっていないか確認したい". Covers what the schema actually does (instructions to AI, not runtime constraints), the design philosophy (align direction, do not prescribe rules), the build pipeline (.json → .toon auto-generated), and known bias sources to audit.
帮我安装这个 skill:https://raw.githubusercontent.com/breaking-brake/cc-wf-studio/main/.claude/skills/workflow-schema-tuning/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/breaking-brake/cc-wf-studio/main/.claude/skills/workflow-schema-tuning/SKILL.md"# Workflow Schema Tuning The schema (`resources/workflow-schema.json`) is the primary spec **delivered to the AI editor at runtime** via the `get_workflow_schema` MCP tool. It is not a runtime validator — the runtime barely validates anything. **Whatever the schema says, the AI believes.** Treat schema edits as prompt engineering, not type definitions. ## Core principle: align direction, do not prescribe rules AI agents already know how to choose between node types intuitively (e.g., when to delegate to a sub-agent vs. handle in-context). The fix for bad output is almost never "add more rules" — it is "remove what is biasing the AI in the wrong direction." **Defaults**: - Prefer minimal