setup-validate

Solid

Validate a `setup.aiwg.io/v1` SetupManifest file against the schema and run cons

AI & Automation 142 stars 21 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# setup-validate Validate a `setup.aiwg.io/v1` SetupManifest file against the schema and run consistency checks. ## Trigger Phrases - "validate setup manifest" - "check setup.manifest.yaml" - "aiwg setup-validate [manifest]" - "lint installer manifest" - "verify my setup manifest" ## 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) Auto-fix simple issues (missing `id`, missing `depends_on` on sequential steps). ## Validation Checks ### Schema Validation - `apiVersion` must be `setup.aiwg.io/v1` - `kind` must be `SetupManifest` - Required fields present: `metadata.name`, `spec.platforms`, `spec.steps` - All step types are one of: `script`, `detect`, `ask`, `verify`, `agentic`, `platform-route`, `chain`, `os-config` - Param types are one of: `string`, `path`, `boolean`, `integer`, `choice` - `metadata.install_type` must be one of: `user`, `developer`, `ci` (if present) ### Reference Checks - Every `script:` path exists relative to the manifest directory - Every `chain:` manifest path exists - Every `platform-route` route value resolves to an existing script - `depends_on` step IDs all exist in the manifest - Recovery `triggers` list references valid step IDs - `os-config` steps: `config_id` must reference a valid entry in `spec....

Details

Author
jmagly
Repository
jmagly/aiwg
Created
9 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category