[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2PH3XYZ56Y1AP87CRGDE0":3,"skill-same:01M6C2PH3XYZ56Y1AP87CRGDE0":113},{"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":62,"linkOnly":63,"markdownContent":64,"markdownBody":65,"frontMatter":66,"refName":89,"commitSha":90,"skillDirectory":91,"forksCount":92,"repositoryHtmlUrl":93,"repositoryHomepageUrl":94,"ownerHtmlUrl":95,"ownerBlogUrl":96,"ownerDescription":97,"updatedAt":98,"install":99,"resources":112},"01M6C2PH3XYZ56Y1AP87CRGDE0","contract-validate","AIWG 技能链契约校验","Validate that an AIWG skill chain has all requires inputs satisfied by upstream ensures outputs. Catches missing dependencies at wiring time, not runtime.","校验 AIWG 技能链的所有 requires 输入是否都由上游 ensures 输出满足。在装配（wiring）阶段而非运行时发现缺失的依赖。","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\u002Fcodex-sdlc\u002Fskills\u002Fcontract-validate\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CC5FE9VPCST4F3M1W5T9X8","流程编排组合与验证","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61],"contract validate","validate","contract","chain","never","only","dependency","time","efficiency","invalid","list","forming","which","at","wiring","static","definition","static analysis","read","returns","haiku","json","analysis","yaml","file","report","planning","workflow","valid","skill2","skill1","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nplatforms: [all]\nname: contract-validate\ndescription: \"Validate that an AIWG skill chain has all requires inputs satisfied by upstream ensures outputs. Catches missing dependencies at wiring time, not runtime.\"\nrequires:\n  - \"skills: ordered list of AIWG skill names or file paths forming the workflow to validate\"\n  - \"if workflow-file: path to a YAML\u002FJSON workflow definition\"\n  - \"external-inputs: names of inputs the calling workflow will provide (optional; unmatched requires are flagged as unresolved)\"\nensures:\n  - \"validation-report: pass\u002Ffail report per skill with specific missing dependency details\"\n  - \"verdict: VALID (all requires: satisfied), INVALID (unresolved requires: found), or VALID WITH WARNINGS (semantic matches only)\"\n  - \"if INVALID: specific list of which skill requires which input and which upstream skill should provide it\"\nerrors:\n  - \"skill-not-found: one or more skill names cannot be resolved to a SKILL.md file\"\n  - \"no-contracts: none of the specified skills have contract fields — cannot validate\"\ninvariants:\n  - validation never executes skills — static analysis only\n  - semantic matches are flagged as warnings, not counted as resolved for VALID verdict\n  - \"a workflow with any unresolved requires: always returns INVALID\"\ncommandHint:\n  argumentHint: \"\u003Cskill1> \u003Cskill2> ... | --workflow \u003Cfile.yaml> [--external input1,input2] [--strict]\"\n  allowedTools: Read, Glob, Grep\n  model: haiku\n  category: planning\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Contract Validate Skill\n\nValidate a skill chain before running it — check that every `requires:` input is satisfied by an upstream `ensures:` output or declared as an external input.\n\n## Triggers\n\n- \"validate the contract chain for [skill1] → [skill2]\"\n- \"check if this workflow is wired correctly\"\n- \"will [skill] have everything it needs?\"\n- \"pre-flight check the skill chain\"\n- \"validate workflow contracts\"\n\n## Parameters\n\n### Skills list (positional)\n\nOrdered list of skill names to validate as a chain:\n\n```bash\n\u002Fcontract-validate issue-planner address-issues\n\u002Fcontract-validate prose-detect prose-run\n```\n\n### `--workflow \u003Cfile>` (optional)\n\nPath to a YAML workflow definition listing the skill chain.\n\n### `--external input1,input2` (optional)\n\nComma-separated names of inputs that will be provided by the calling workflow or user. Any `requires:` that matches an external input is treated as satisfied.\n\n```bash\n\u002Fcontract-validate issue-planner address-issues --external objective,tracker\n```\n\n### `--strict` (optional)\n\nTreat semantic matches as failures (require exact name matches). Default: semantic matches pass with warnings.\n\n## Behavior\n\n### Step 1: Resolve and Extract Contracts\n\nSame as `contract-manifest` Step 1–2: resolve each skill, extract contract fields.\n\n### Step 2: Validate Each Requires:\n\nFor each skill's `requires:` entry:\n\n1. **Satisfied by external input** (`--external` list) → ✓ SATISFIED (external)\n2. **Satisfied by exact match** (upstream `ensures:` same name) → ✓ SATISFIED\n3. **Satisfied by semantic match** (upstream `ensures:` same meaning, different name) → ⚠️ WARN (semantic)\n4. **Not satisfied** (nothing provides it) → ❌ UNRESOLVED\n\n### Step 3: Determine Verdict\n\n| Condition | Verdict |\n|-----------|---------|\n| All `requires:` satisfied (exact or external) | VALID |\n| All `requires:` satisfied but some are semantic matches | VALID WITH WARNINGS |\n| Any `requires:` unresolved | INVALID |\n| No contract fields found on any skill | NO CONTRACTS (cannot validate) |\n\n### Step 4: Output Report\n\n```markdown\n## Contract Validation Report\n\n**Workflow**: issue-planner → address-issues\n**Verdict**: VALID WITH WARNINGS\n\n### Skill: issue-planner\n| Requires | Source | Status |\n|----------|--------|--------|\n| objective | external | ✓ satisfied (external) |\n| tracker | external | ✓ satisfied (external) |\n\n### Skill: address-issues\n| Requires | Source | Status |\n|----------|--------|--------|\n| issues | issue-planner.issues-filed | ⚠️ semantic match (name differs — verify intent) |\n| tracker | issue-planner.tracker | ✓ satisfied (exact match) |\n\n### Warnings (1)\n- `address-issues.requires.issues` satisfied by `issue-planner.ensures.issues-filed` via semantic match.\n  If these are not equivalent, rename one to match or add an explicit mapping.\n\n### Errors (0)\nNone\n\n### Recommendation\nWorkflow is likely correct. Confirm that `issue-planner.issues-filed` and `address-issues.issues` refer to the same thing. If so, rename one for an exact match to eliminate the warning.\n```\n\n## Using in CI \u002F Pre-Flight\n\nBefore running a multi-skill orchestration, validate the chain:\n\n```bash\n\u002Fcontract-validate issue-planner address-issues --external objective tracker\n# → VALID — safe to proceed\n# → INVALID — check report before running\n```\n\n## Relationship to contract-manifest\n\n- **`contract-manifest`** — generates a full manifest for human inspection\n- **`contract-validate`** — gives a pass\u002Ffail verdict for pre-flight checks\n\nUse `contract-manifest` to understand a workflow; use `contract-validate` to gate its execution.\n\n## Model\n\nRuns on **Sonnet** — contract matching is structural analysis, not complex reasoning.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework context and skill catalog\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Measurable validation verdicts and criteria\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Research-first for contract dependency resolution\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Foverview.md — Extension system and skill architecture\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n","# Contract Validate Skill\n\nValidate a skill chain before running it — check that every `requires:` input is satisfied by an upstream `ensures:` output or declared as an external input.\n\n## Triggers\n\n- \"validate the contract chain for [skill1] → [skill2]\"\n- \"check if this workflow is wired correctly\"\n- \"will [skill] have everything it needs?\"\n- \"pre-flight check the skill chain\"\n- \"validate workflow contracts\"\n\n## Parameters\n\n### Skills list (positional)\n\nOrdered list of skill names to validate as a chain:\n\n```bash\n\u002Fcontract-validate issue-planner address-issues\n\u002Fcontract-validate prose-detect prose-run\n```\n\n### `--workflow \u003Cfile>` (optional)\n\nPath to a YAML workflow definition listing the skill chain.\n\n### `--external input1,input2` (optional)\n\nComma-separated names of inputs that will be provided by the calling workflow or user. Any `requires:` that matches an external input is treated as satisfied.\n\n```bash\n\u002Fcontract-validate issue-planner address-issues --external objective,tracker\n```\n\n### `--strict` (optional)\n\nTreat semantic matches as failures (require exact name matches). Default: semantic matches pass with warnings.\n\n## Behavior\n\n### Step 1: Resolve and Extract Contracts\n\nSame as `contract-manifest` Step 1–2: resolve each skill, extract contract fields.\n\n### Step 2: Validate Each Requires:\n\nFor each skill's `requires:` entry:\n\n1. **Satisfied by external input** (`--external` list) → ✓ SATISFIED (external)\n2. **Satisfied by exact match** (upstream `ensures:` same name) → ✓ SATISFIED\n3. **Satisfied by semantic match** (upstream `ensures:` same meaning, different name) → ⚠️ WARN (semantic)\n4. **Not satisfied** (nothing provides it) → ❌ UNRESOLVED\n\n### Step 3: Determine Verdict\n\n| Condition | Verdict |\n|-----------|---------|\n| All `requires:` satisfied (exact or external) | VALID |\n| All `requires:` satisfied but some are semantic matches | VALID WITH WARNINGS |\n| Any `requires:` unresolved | INVALID |\n| No contract fields found on any skill | NO CONTRACTS (cannot validate) |\n\n### Step 4: Output Report\n\n```markdown\n## Contract Validation Report\n\n**Workflow**: issue-planner → address-issues\n**Verdict**: VALID WITH WARNINGS\n\n### Skill: issue-planner\n| Requires | Source | Status |\n|----------|--------|--------|\n| objective | external | ✓ satisfied (external) |\n| tracker | external | ✓ satisfied (external) |\n\n### Skill: address-issues\n| Requires | Source | Status |\n|----------|--------|--------|\n| issues | issue-planner.issues-filed | ⚠️ semantic match (name differs — verify intent) |\n| tracker | issue-planner.tracker | ✓ satisfied (exact match) |\n\n### Warnings (1)\n- `address-issues.requires.issues` satisfied by `issue-planner.ensures.issues-filed` via semantic match.\n  If these are not equivalent, rename one to match or add an explicit mapping.\n\n### Errors (0)\nNone\n\n### Recommendation\nWorkflow is likely correct. Confirm that `issue-planner.issues-filed` and `address-issues.issues` refer to the same thing. If so, rename one for an exact match to eliminate the warning.\n```\n\n## Using in CI \u002F Pre-Flight\n\nBefore running a multi-skill orchestration, validate the chain:\n\n```bash\n\u002Fcontract-validate issue-planner address-issues --external objective tracker\n# → VALID — safe to proceed\n# → INVALID — check report before running\n```\n\n## Relationship to contract-manifest\n\n- **`contract-manifest`** — generates a full manifest for human inspection\n- **`contract-validate`** — gives a pass\u002Ffail verdict for pre-flight checks\n\nUse `contract-manifest` to understand a workflow; use `contract-validate` to gate its execution.\n\n## Model\n\nRuns on **Sonnet** — contract matching is structural analysis, not complex reasoning.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework context and skill catalog\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Measurable validation verdicts and criteria\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Research-first for contract dependency resolution\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Foverview.md — Extension system and skill architecture\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n",{"name":5,"errors":67,"ensures":70,"requires":74,"namespace":78,"platforms":79,"invariants":81,"commandHint":85,"description":7},[68,69],"skill-not-found: one or more skill names cannot be resolved to a SKILL.md file","no-contracts: none of the specified skills have contract fields — cannot validate",[71,72,73],"validation-report: pass\u002Ffail report per skill with specific missing dependency details","verdict: VALID (all requires: satisfied), INVALID (unresolved requires: found), or VALID WITH WARNINGS (semantic matches only)","if INVALID: specific list of which skill requires which input and which upstream skill should provide it",[75,76,77],"skills: ordered list of AIWG skill names or file paths forming the workflow to validate","if workflow-file: path to a YAML\u002FJSON workflow definition","external-inputs: names of inputs the calling workflow will provide (optional; unmatched requires are flagged as unresolved)","aiwg",[80],"all",[82,83,84],"validation never executes skills — static analysis only","semantic matches are flagged as warnings, not counted as resolved for VALID verdict","a workflow with any unresolved requires: always returns INVALID",{"model":51,"category":57,"modelRole":39,"modelTier":86,"allowedTools":87,"argumentHint":88},"economy","Read, Glob, Grep","\u003Cskill1> \u003Cskill2> ... | --workflow \u003Cfile.yaml> [--external input1,input2] [--strict]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Fcontract-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":100,"prompt":110,"zipAvailable":111},[101,104,107],{"tool":102,"command":103},"npx","npx skills add jmagly\u002Faiwg --skill contract-validate",{"tool":105,"command":106},"bunx","bunx skills add jmagly\u002Faiwg --skill contract-validate",{"tool":108,"command":109},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill contract-validate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Fcontract-validate\u002FSKILL.md",true,[],[114,122,127,151,170,175],{"skillNo":115,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":121},"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":123,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":121},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":62},"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",[],[134,135,136,137,138,49,139,140,141,142,143,144,145,146,147,36,148,149,35,150],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","Bash","access","retention","re","firewall",{"skillNo":152,"name":153,"nameZh":17,"description":154,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":62},"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",[],[53,158,159,160,161,162,49,163,144,35,146,164,135,165,36,166,167,150,168,169],"exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":171,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":62},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[134,135,136,149,35,150,145,148,141,138,49,139,140,142,143,144,137,146,147,36],{"skillNo":176,"name":153,"nameZh":17,"description":154,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":62},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[53,158,169,168,161,167,166,36,160,162,49,163,144,159,146,164,135,150,35,165]]