breaking-brake avatar

Workflow Schema Tuning

You edit `workflow-schema.json` to fix cases where the AI editor consistently picks the wrong node type or cites constraints that don't actually exist. The schema isn't a runtime validator, it's a prompt delivered to the AI, so treat edits as prompt engineering. The core philosophy is "align direction, don't prescribe rules." When the AI misbehaves, the fix is almost never adding more guidance bullets, it's removing whatever description or example is biasing it wrong. Check the skill template first (strongest pull), then node descriptions, then examples. After editing, regenerate the TOON format the MCP actually serves. Useful when you see "AIが特定のノードタイプを選んでくれない" or need to add a node type without accidentally teaching the AI to overuse it.

GitHub stars
5.1K
last updated
Jun 11, 2026

Install

$ npx -y skills add breaking-brake/cc-wf-studio --skill workflow-schema-tuning --agent claude-code

Installs into .claude/skills of the current project.

Files

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 description text that states each node's positional role (立ち位置). Example: "A step executed by the main orchestrating agent" vs. "A step executed by an isolated sub-agent." The contrast does the work.
  • Avoid aiGenerationGuidance lists of "when to use / when not to use / anti-patterns." They treat the AI as a rules engine, bloat tokens, and fail on unanticipated cases.
  • Test minimal first. Only add guidance after a concrete failure where the minimal change is provably insufficient.

Sponsors

Details

Repository
github.com/breaking-brake/cc-wf-studio
Categories
Debugging, Automation & Workflows
First seen
Jun 11, 2026

More from breaking-brake/cc-wf-studio

All 7

Recommended

More Debugging
1butterbase-ai avatarrealtimebutterbase-ai/butterbase-skillsThis connects Claude to Butterbase's realtime WebSocket layer so it can configure live database subscriptions and debug connection issues.0skills.sh installs
2callstackincubator avatardogfoodcallstackincubator/agent-skillsSystematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "e0skills.sh installs
3cherryhq avatargh-pr-reviewcherryhq/cherry-studioAutomated Cherry Studio code review for local branches, PRs, commits, and files. Use for reviewing code, docs, or pull requests with project-specific checks for0skills.sh installs
4cherryhq avatarskill-creatorcherryhq/cherry-studioCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an e0skills.sh installs
5cherryhq avatarvercel-react-best-practicescherryhq/cherry-studioReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js c0skills.sh installs
6composiohq avatarperf-baseline-managercomposiohq/awesome-claude-pluginsA focused tool for teams tracking performance across builds.0skills.sh installs