/composition-validate
Validate a Flow graph manifest, explain semantic diagnostics, and emit one provider-neutral normalized composition contract.
Claude Code
$ npx -y skills add jmagly/aiwg --skill composition-validate --agent claude-code
Codex
$ npx skills add jmagly/aiwg --skill composition-validate -a codex -y
Cursor
$ npx skills add jmagly/aiwg --skill composition-validate -a cursor -y
Gemini CLI
$ npx skills add jmagly/aiwg --skill composition-validate -a gemini-cli -y
GitHub Copilot
$ npx skills add jmagly/aiwg --skill composition-validate -a github-copilot -y
OpenCode
$ npx skills add jmagly/aiwg --skill composition-validate -a opencode -y
Windsurf
$ npx skills add jmagly/aiwg --skill composition-validate -a windsurf -y
SKILL.md
composition-validate.SKILL.mdnamespace: aiwg
name: composition-validate
platforms: [all]
description: Validate a Flow graph manifest, explain semantic diagnostics, and emit one provider-neutral normalized composition contract.
triggers:
- validate a Flow graph
- validate composition manifest
- check graph joins and ceilings
- normalize agent tool graph
Validate a Flow graph
Use this skill when an operator needs to author or validate **flow.aiwg.io/v1alpha1 FlowGraph**.
Process
1. Confirm the manifest uses **apiVersion: flow.aiwg.io/v1alpha1** and **kind: FlowGraph**. 2. Run **aiwg composition validate MANIFEST --format json**. 3. When an AIWG index export is available, add **--catalog INDEX.json** so stable candidate IDs are proven against that captured catalog. 4. Repair every error diagnostic. Do not weaken permissions, ceilings, approval boundaries, retry modes, or cycle guards merely to pass validation. 5. Pass the returned normalized envelope to an adapter or runtime. Do not add provider-specific fields to the source graph.
Contract rules
- Every non-gate node resolves through the authorized candidate set.
- Every cycle has a CEL guard and finite iteration limit.
- Node permissions are a subset of both graph and declared-capability scopes.
- Approval-required side effects are never automatically retried.
- Trace policy covers declared execution metadata and bindings, never private
chain-of-thought.
See **schemas/flow-graph.schema.json**, **README.md**, and **docs/schema-evolution.md** in the addon for the complete contract.
Read more
namespace: aiwg name: composition-validate platforms: [all] description: Validate a Flow graph manifest, explain semantic diagnostics, and emit one provider-neutral normalized composition contract. triggers: - validate a Flow graph - validate composition manifest - check graph joins and ceilings - normalize agent tool graph
Validate a Flow graph
Use this skill when an operator needs to author or validate **flow.aiwg.io/v1alpha1 FlowGraph**.
Process
1. Confirm the manifest uses **apiVersion: flow.aiwg.io/v1alpha1** and **kind: FlowGraph**. 2. Run **aiwg composition validate MANIFEST --format json**. 3. When an AIWG index export is available, add **--catalog INDEX.json** so stable candidate IDs are proven against that captured catalog. 4. Repair every error diagnostic. Do not weaken permissions, ceilings, approval boundaries, retry modes, or cycle guards merely to pass validation. 5. Pass the returned normalized envelope to an adapter or runtime. Do not add provider-specific fields to the source graph.
Contract rules
- Every non-gate node resolves through the authorized candidate set.
- Every cycle has a CEL guard and finite iteration limit.
- Node permissions are a subset of both graph and declared-capability scopes.
- Approval-required side effects are never automatically retried.
- Trace policy covers declared execution metadata and bindings, never private
chain-of-thought.
See **schemas/flow-graph.schema.json**, **README.md**, and **docs/schema-evolution.md** in the addon for the complete contract.
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Other skills on aiwg.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about composition-validate.
- Which coding agents can use composition-validate?
- composition-validate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

