[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2JSW9YGAJ4XWEACATT1HB":3,"skill-same:01M6C2JSW9YGAJ4XWEACATT1HB":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6C2JSW9YGAJ4XWEACATT1HB","setup-validate","Setup 清单校验","Validate a `setup.aiwg.io\u002Fv1` SetupManifest file against the schema and run cons","依据 schema 校验 `setup.aiwg.io\u002Fv1` SetupManifest 文件并运行一致性检查……","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagentic-installer\u002Fskills\u002Fsetup-validate\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38],"validate","setup","setup validate","run","file","schema","io","v1","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: setup-validate\nplatforms: [all]\ndescription: \"Validate a `setup.aiwg.io\u002Fv1` SetupManifest file against the schema and run cons\"\n---\n\n# setup-validate\n\nValidate a `setup.aiwg.io\u002Fv1` SetupManifest file against the schema and run consistency checks.\n\nFor the public AIWG installer, retain `metadata.execution_mode:\nprovider-orchestrated`. Validate the manifest's interview → review → apply\nsequence; do not convert it to deterministic execution. Guided plan review\n(`aiwg setup --review`) is distinct from SetupManifest schema validation.\n\n## Trigger Phrases\n\n- \"validate setup manifest\"\n- \"check setup.manifest.yaml\"\n- \"aiwg setup-validate [manifest]\"\n- \"lint installer manifest\"\n- \"verify my setup manifest\"\n\n## Parameters\n\n### manifest (positional, optional)\nPath to the `setup.manifest.yaml`. Default: `.\u002Fsetup.manifest.yaml`.\n\n### --schema (optional)\nPath to schema file. Default: auto-located from AIWG installation.\n\n### --strict (optional)\nFail on warnings in addition to errors.\n\n### --fix (optional)\nReserved for future safe autofixes. The current CLI validates and reports only.\n\n## Validation Checks\n\n### Schema Validation\n- `apiVersion` must be `setup.aiwg.io\u002Fv1`\n- `kind` must be `SetupManifest`\n- Required fields present: `metadata.name`, `spec.platforms`, `spec.steps`\n- All step types are one of: `script`, `detect`, `ask`, `verify`, `agentic`, `platform-route`, `chain`, `os-config`\n- Param types are one of: `string`, `path`, `boolean`, `integer`, `choice`\n- `metadata.install_type` must be one of: `user`, `developer`, `ci` (if present)\n- `metadata.execution_mode` must be `deterministic` or `provider-orchestrated` (if present)\n\n### Reference Checks\n- Every `script:` path exists relative to the manifest directory\n- Every `chain:` manifest path exists\n- Every `platform-route` route value resolves to an existing script\n- `depends_on` step IDs all exist in the manifest\n- Recovery `triggers` list references valid step IDs\n- `os-config` steps: `config_id` must reference a valid entry in `spec.os_config`\n\n### Developer Manifest Checks (when `metadata.install_type: developer`)\n\nThese checks apply only to manifests with `install_type: developer`:\n\n#### Errors\n- `os-config` steps must reference a valid `config_id` in the `spec.os_config` block\n- `interactive_required: true` params must not have a `default` value — a default defeats the purpose of requiring interactive input\n- Each platform declared in `spec.platforms` must have at least one platform-specific step or `os_config` entry\n\n#### Warnings (unless `--strict`, then errors)\n- Developer manifest with no `os_config` block: warn unless `metadata.description` explicitly states why no OS configuration is needed\n- `os_config` entries with `requires_relogin: true` but no corresponding `os-config` step — the entry is declared but never applied\n- `os_config` entries with `interactive: true` but no user-facing explanation in `description`\n\n### Consistency Checks (warnings unless --strict)\n- Steps without `id` — suggest auto-generated IDs\n- Sequential steps that logically depend on prior steps but have no `depends_on`\n- Params declared but never referenced in scripts or `when` conditions\n- Prerequisites with no `install_hint` (hard to debug without one)\n- Verify expressions that look like they'd always pass (e.g., `true`)\n- `interactive_required: true` params that also have `required: true` — the `required` flag is redundant when `interactive_required` is set\n\n### Script Safety Checks\n- Scripts that exist: read first 5 lines to confirm they source lib scripts\n- Warn if a script template is used directly without customization (template placeholder text detected)\n\n### Agentic Step Audit\n- Warn on any `type: agentic` step in a deterministic manifest — print a reminder that agentic steps are exception handling only\n- Do not warn merely because a provider-orchestrated manifest uses agentic steps\n- Error if `type: agentic` step has no `instruction` field\n\n## Output Format\n\n```\nValidating: setup.dev.manifest.yaml\n\n  Schema:        ✓ Valid (setup.aiwg.io\u002Fv1 \u002F SetupManifest)\n  Install type:  developer\n  Metadata:      ✓ name=myapp-dev version=1.0.0\n  Platform:      ✓ linux (ubuntu, debian), macos\n  Params:        ✓ 4 params (INSTALL_DIR required, LOCAL_DOMAIN interactive_required, SSH_EMAIL interactive_required, IDE interactive_required)\n  Prerequisites: ✓ 2 checked (git >=2.30, docker)\n  OS Config:     ✓ 3 entries (docker-group [linux, requires_relogin], inotify-watches [linux], xcode-cli-tools [macos, interactive])\n\n  Steps (7):\n    ✓ clone             script      installer\u002Fscripts\u002Fclone.sh [exists]\n    ✓ setup-git-config  script      installer\u002Fscripts\u002Fdev\u002Fsetup-git-config.sh [exists]\n    ✓ setup-ssh-key     script      installer\u002Fscripts\u002Fdev\u002Fsetup-ssh-key.sh [exists]\n    ✓ apply-docker-group  os-config  config_id=docker-group [valid]\n    ✓ apply-inotify     os-config   config_id=inotify-watches [valid]\n    ✓ configure-dev     script      installer\u002Fscripts\u002Fdev\u002Fconfigure-dev.sh [exists]\n    ✓ verify-dev        script      installer\u002Fscripts\u002Fdev\u002Fverify-dev.sh [exists]\n\n  Recovery (1):\n    ✓ full-reset  script [exists]\n\n  Warnings (1):\n    ⚠ xcode-cli-tools os_config entry declared but no os-config step applies it\n\nResult: VALID (1 warning)\n```\n\n### Error Example\n\n```\n  Errors (2):\n    ✗ Step 'apply-docker-group': config_id 'docker-group' not found in os_config block\n    ✗ Param 'LOCAL_DOMAIN': interactive_required=true but has a default value — remove the default\n\nResult: INVALID — fix errors before running\n```\n\n## Auto-fix (--fix)\n\n`--fix` is reserved for future safe autofixes. The current agent-facing CLI\nvalidates and reports only; it does not mutate manifests.\n\n## References\n\n- Schema: `${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fv1\u002Fsetup-manifest.schema.json`\n- Run skill: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fsetup-run\u002FSKILL.md`\n- Generate skill: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fsetup-generate\u002FSKILL.md`\n","# setup-validate\n\nValidate a `setup.aiwg.io\u002Fv1` SetupManifest file against the schema and run consistency checks.\n\nFor the public AIWG installer, retain `metadata.execution_mode:\nprovider-orchestrated`. Validate the manifest's interview → review → apply\nsequence; do not convert it to deterministic execution. Guided plan review\n(`aiwg setup --review`) is distinct from SetupManifest schema validation.\n\n## Trigger Phrases\n\n- \"validate setup manifest\"\n- \"check setup.manifest.yaml\"\n- \"aiwg setup-validate [manifest]\"\n- \"lint installer manifest\"\n- \"verify my setup manifest\"\n\n## Parameters\n\n### manifest (positional, optional)\nPath to the `setup.manifest.yaml`. Default: `.\u002Fsetup.manifest.yaml`.\n\n### --schema (optional)\nPath to schema file. Default: auto-located from AIWG installation.\n\n### --strict (optional)\nFail on warnings in addition to errors.\n\n### --fix (optional)\nReserved for future safe autofixes. The current CLI validates and reports only.\n\n## Validation Checks\n\n### Schema Validation\n- `apiVersion` must be `setup.aiwg.io\u002Fv1`\n- `kind` must be `SetupManifest`\n- Required fields present: `metadata.name`, `spec.platforms`, `spec.steps`\n- All step types are one of: `script`, `detect`, `ask`, `verify`, `agentic`, `platform-route`, `chain`, `os-config`\n- Param types are one of: `string`, `path`, `boolean`, `integer`, `choice`\n- `metadata.install_type` must be one of: `user`, `developer`, `ci` (if present)\n- `metadata.execution_mode` must be `deterministic` or `provider-orchestrated` (if present)\n\n### Reference Checks\n- Every `script:` path exists relative to the manifest directory\n- Every `chain:` manifest path exists\n- Every `platform-route` route value resolves to an existing script\n- `depends_on` step IDs all exist in the manifest\n- Recovery `triggers` list references valid step IDs\n- `os-config` steps: `config_id` must reference a valid entry in `spec.os_config`\n\n### Developer Manifest Checks (when `metadata.install_type: developer`)\n\nThese checks apply only to manifests with `install_type: developer`:\n\n#### Errors\n- `os-config` steps must reference a valid `config_id` in the `spec.os_config` block\n- `interactive_required: true` params must not have a `default` value — a default defeats the purpose of requiring interactive input\n- Each platform declared in `spec.platforms` must have at least one platform-specific step or `os_config` entry\n\n#### Warnings (unless `--strict`, then errors)\n- Developer manifest with no `os_config` block: warn unless `metadata.description` explicitly states why no OS configuration is needed\n- `os_config` entries with `requires_relogin: true` but no corresponding `os-config` step — the entry is declared but never applied\n- `os_config` entries with `interactive: true` but no user-facing explanation in `description`\n\n### Consistency Checks (warnings unless --strict)\n- Steps without `id` — suggest auto-generated IDs\n- Sequential steps that logically depend on prior steps but have no `depends_on`\n- Params declared but never referenced in scripts or `when` conditions\n- Prerequisites with no `install_hint` (hard to debug without one)\n- Verify expressions that look like they'd always pass (e.g., `true`)\n- `interactive_required: true` params that also have `required: true` — the `required` flag is redundant when `interactive_required` is set\n\n### Script Safety Checks\n- Scripts that exist: read first 5 lines to confirm they source lib scripts\n- Warn if a script template is used directly without customization (template placeholder text detected)\n\n### Agentic Step Audit\n- Warn on any `type: agentic` step in a deterministic manifest — print a reminder that agentic steps are exception handling only\n- Do not warn merely because a provider-orchestrated manifest uses agentic steps\n- Error if `type: agentic` step has no `instruction` field\n\n## Output Format\n\n```\nValidating: setup.dev.manifest.yaml\n\n  Schema:        ✓ Valid (setup.aiwg.io\u002Fv1 \u002F SetupManifest)\n  Install type:  developer\n  Metadata:      ✓ name=myapp-dev version=1.0.0\n  Platform:      ✓ linux (ubuntu, debian), macos\n  Params:        ✓ 4 params (INSTALL_DIR required, LOCAL_DOMAIN interactive_required, SSH_EMAIL interactive_required, IDE interactive_required)\n  Prerequisites: ✓ 2 checked (git >=2.30, docker)\n  OS Config:     ✓ 3 entries (docker-group [linux, requires_relogin], inotify-watches [linux], xcode-cli-tools [macos, interactive])\n\n  Steps (7):\n    ✓ clone             script      installer\u002Fscripts\u002Fclone.sh [exists]\n    ✓ setup-git-config  script      installer\u002Fscripts\u002Fdev\u002Fsetup-git-config.sh [exists]\n    ✓ setup-ssh-key     script      installer\u002Fscripts\u002Fdev\u002Fsetup-ssh-key.sh [exists]\n    ✓ apply-docker-group  os-config  config_id=docker-group [valid]\n    ✓ apply-inotify     os-config   config_id=inotify-watches [valid]\n    ✓ configure-dev     script      installer\u002Fscripts\u002Fdev\u002Fconfigure-dev.sh [exists]\n    ✓ verify-dev        script      installer\u002Fscripts\u002Fdev\u002Fverify-dev.sh [exists]\n\n  Recovery (1):\n    ✓ full-reset  script [exists]\n\n  Warnings (1):\n    ⚠ xcode-cli-tools os_config entry declared but no os-config step applies it\n\nResult: VALID (1 warning)\n```\n\n### Error Example\n\n```\n  Errors (2):\n    ✗ Step 'apply-docker-group': config_id 'docker-group' not found in os_config block\n    ✗ Param 'LOCAL_DOMAIN': interactive_required=true but has a default value — remove the default\n\nResult: INVALID — fix errors before running\n```\n\n## Auto-fix (--fix)\n\n`--fix` is reserved for future safe autofixes. The current agent-facing CLI\nvalidates and reports only; it does not mutate manifests.\n\n## References\n\n- Schema: `${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fv1\u002Fsetup-manifest.schema.json`\n- Run skill: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fsetup-run\u002FSKILL.md`\n- Generate skill: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fsetup-generate\u002FSKILL.md`\n",{"name":5,"namespace":44,"platforms":45,"description":7},"aiwg",[46],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fagentic-installer\u002Fskills\u002Fsetup-validate",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add jmagly\u002Faiwg --skill setup-validate",{"tool":63,"command":64},"bunx","bunx skills add jmagly\u002Faiwg --skill setup-validate",{"tool":66,"command":67},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill setup-validate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagentic-installer\u002Fskills\u002Fsetup-validate\u002FSKILL.md",true,[],[72,80,85,112,132,137],{"skillNo":73,"name":74,"nameZh":17,"description":75,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":81,"name":74,"nameZh":17,"description":75,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":79},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":17,"description":88,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":113,"name":114,"nameZh":17,"description":115,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[119,120,121,122,123,124,97,125,103,110,105,126,93,127,107,128,129,111,130,131],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":133,"name":87,"nameZh":17,"description":88,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[92,93,94,109,110,111,104,108,100,96,97,98,99,101,102,103,95,105,106,107],{"skillNo":138,"name":114,"nameZh":17,"description":115,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":39},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[119,120,131,130,123,129,128,107,122,124,97,125,103,121,105,126,93,111,110,127]]