Setup validate

From jmagly/aiwg · View interactive version

Setup validate is an AI agent skill from the GitHub repository jmagly/aiwg. Validate a `setup.aiwg.io/v1` SetupManifest file against the schema and run cons

How to use this skill

Skill file

setup-validate

Validate a setup.aiwg.io/v1 SetupManifest file against the schema and run consistency checks.

For the public AIWG installer, retain `metadata.execution_mode:

provider-orchestrated`. Validate the manifest's interview → review → apply

sequence; do not convert it to deterministic execution. Guided plan review

(aiwg setup --review) is distinct from SetupManifest schema validation.

Trigger Phrases

Parameters

manifest (positional, optional)

Path to the setup.manifest.yaml. Default: ./setup.manifest.yaml.

--schema (optional)

Path to schema file. Default: auto-located from AIWG installation.

--strict (optional)

Fail on warnings in addition to errors.

--fix (optional)

Reserved for future safe autofixes. The current CLI validates and reports only.

Validation Checks

Schema Validation

Reference Checks

Developer Manifest Checks (when `metadata.install_type: developer`)

These checks apply only to manifests with install_type: developer:

Errors
Warnings (unless `--strict`, then errors)

Consistency Checks (warnings unless --strict)

Script Safety Checks

Agentic Step Audit

Output Format

Validating: setup.dev.manifest.yaml

  Schema:        ✓ Valid (setup.aiwg.io/v1 / SetupManifest)
  Install type:  developer
  Metadata:      ✓ name=myapp-dev version=1.0.0
  Platform:      ✓ linux (ubuntu, debian), macos
  Params:        ✓ 4 params (INSTALL_DIR required, LOCAL_DOMAIN interactive_required, SSH_EMAIL interactive_required, IDE interactive_required)
  Prerequisites: ✓ 2 checked (git >=2.30, docker)
  OS Config:     ✓ 3 entries (docker-group [linux, requires_relogin], inotify-watches [linux], xcode-cli-tools [macos, interactive])

  Steps (7):
    ✓ clone             script      installer/scripts/clone.sh [exists]
    ✓ setup-git-config  script      installer/scripts/dev/setup-git-config.sh [exists]
    ✓ setup-ssh-key     script      installer/scripts/dev/setup-ssh-key.sh [exists]
    ✓ apply-docker-group  os-config  config_id=docker-group [valid]
    ✓ apply-inotify     os-config   config_id=inotify-watches [valid]
    ✓ configure-dev     script      installer/scripts/dev/configure-dev.sh [exists]
    ✓ verify-dev        script      installer/scripts/dev/verify-dev.sh [exists]

  Recovery (1):
    ✓ full-reset  script [exists]

  Warnings (1):
    ⚠ xcode-cli-tools os_config entry declared but no os-config step applies it

Result: VALID (1 warning)

Error Example

  Errors (2):
    ✗ Step 'apply-docker-group': config_id 'docker-group' not found in os_config block
    ✗ Param 'LOCAL_DOMAIN': interactive_required=true but has a default value — remove the default

Result: INVALID — fix errors before running

Auto-fix (--fix)

--fix is reserved for future safe autofixes. The current agent-facing CLI

validates and reports only; it does not mutate manifests.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.