[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C1JY2GYB5YVT51PM2EFG83":3,"skill-same:01M6C1JY2GYB5YVT51PM2EFG83":89},{"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":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":70,"ownerHtmlUrl":71,"ownerBlogUrl":72,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6C1JY2GYB5YVT51PM2EFG83","productionize","生产就绪审查与加固","Production readiness review — strip prototype scaffolding, harden code, validate cost model, generate prod\u002F artifacts","生产就绪审查——剥离原型脚手架、加固代码、验证成本模型，并生成 prod\u002F 目录下的产物。","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\u002Faddons\u002Fnlp-prod\u002Fskills\u002Fproductionize\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"model","false","dry","efficiency","production readiness","scaffolding","cost","write","read","haiku","review","Bash","Production","pipeline","artifacts","code","run","generate","validate","prototype","nlp","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: productionize\nplatforms: [all]\ndescription: Production readiness review — strip prototype scaffolding, harden code, validate cost model, generate prod\u002F artifacts\ncommandHint:\n  argumentHint: \"\u003Cpipeline-dir> [--dry-run]\"\n  allowedTools: Read, Write, Bash\n  model: haiku\n  category: nlp-prod\n  orchestration: false\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Productionize\n\n**You are the Productionize Orchestrator** — reviewing a pipeline for production readiness and generating hardened production artifacts in a `prod\u002F` subdirectory.\n\n## Natural Language Triggers\n\n- \"productionize this pipeline\"\n- \"make this production ready\"\n- \"production readiness review\"\n- \"harden this pipeline\"\n- \"prepare this for deployment\"\n\n## Parameters\n\n### Pipeline directory (positional)\nPath to pipeline directory.\n\n### --dry-run (optional)\nPrint the review report without writing any files.\n\n## Execution\n\n### Step 1: Readiness Review\n\nCheck the following items. Use ✓ \u002F ⚠ \u002F ✗:\n\n**Prompts:**\n- ✓ All prompt files exist and have version headers\n- ✓ Evaluator prompt is separate from generator prompts\n- ⚠ System prompt >2000 tokens — consider trimming\n- ✗ No evaluator prompt found — add one before production\n\n**Eval:**\n- ✓ `eval\u002Fcases.jsonl` exists with ≥5 cases\n- ✓ `eval\u002Fresults.jsonl` exists with recent run (within 7 days)\n- ✓ Pass rate ≥85% in most recent eval run\n- ⚠ Pass rate \u003C85% — do not productionize until quality gate passes\n- ✗ No eval run found — run: `aiwg nlp eval \u003Cdir>`\n\n**Code:**\n- ✓ Code stub exists\n- ⚠ Framework dependency found (langchain\u002Flanggraph) — consider removing if not load-bearing\n- ✗ No timeout handling on LLM calls\n- ✗ No retry logic for rate limits (429) and transient errors (502\u002F503)\n- ✗ No structured output validation (schema defined but not enforced at runtime)\n- ✗ No token budget cap (max_tokens not set)\n\n**Cost:**\n- ✓ `cost-model.yaml` exists\n- ⚠ No `cost-model.yaml` — generate: `aiwg nlp estimate-cost \u003Cdir>`\n\n### Step 2: Generate Production Artifacts\n\nIf no ✗ items (or user confirms proceed with warnings):\n\nGenerate `prod\u002F` directory:\n\n```\nprod\u002F\n├── prompts\u002F              # Copied from dev (hardened if changes made)\n├── src\u002F\n│   └── pipeline.py       # Hardened version: timeouts, retries, validation\n├── Dockerfile            # Minimal container\n├── cost-model.yaml       # From cost analysis\n└── README.md             # Ops runbook\n```\n\n**Hardening applied automatically:**\n1. **Add timeouts** — wrap every LLM call: `timeout=30` (or pipeline config value)\n2. **Add retry wrapper** — exponential backoff on 429, 502, 503\n3. **Add structured output validation** — Pydantic (Python) or Zod (TypeScript) schema enforcement\n4. **Add token budget enforcement** — `max_tokens` from pipeline config enforced at call site\n5. **Add cost cap guard** — abort if estimated cost exceeds `warn_above_usd`\n6. **Remove dev logging** — strip verbose debug output\n\n**Framework removal (if detected):**\n- Check if LangChain\u002FLangGraph calls are load-bearing\n- If replaceable: rewrite the relevant section without the dependency\n- If not replaceable: flag with ⚠ and note in README\n\n### Step 3: Generate Dockerfile\n\n```dockerfile\nFROM python:3.12-slim\nWORKDIR \u002Fapp\nCOPY requirements.txt .\nRUN pip install --no-cache-dir -r requirements.txt\nCOPY prod\u002F .\nCMD [\"python\", \"src\u002Fpipeline.py\"]\n```\n\nOr TypeScript equivalent with Node 22.\n\n### Step 4: Generate Ops Runbook (prod\u002FREADME.md)\n\nSections:\n- Overview (pipeline name, pattern, what it does)\n- Start \u002F Stop\n- Health check command\n- Rollback procedure\n- Monitoring (what to watch: latency, error rate, cost)\n- Eval re-run instructions\n\n### Step 5: Final Report\n\n```\nProductionization Complete: pipelines\u002F\u003Cname>\u002Fprod\u002F\n\n✓ Prompts hardened\n✓ Retry + timeout wrapper added\n✓ Pydantic output validation added\n✓ Dockerfile generated\n✓ Ops runbook written\n\nRemoved: langchain dependency (replaced with direct anthropic SDK call)\n\nDeploy: docker build -t \u003Cname>:latest . && docker run \u003Cname>:latest\nCost model: prod\u002Fcost-model.yaml (~$9\u002Fmo at 100k calls)\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Fnlp-prod\u002FREADME.md — nlp-prod addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Concrete readiness thresholds (pass rate ≥85%, eval within 7 days)\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Confirm with user when ✗ items found before generating prod artifacts\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference for aiwg nlp commands\n","# Productionize\n\n**You are the Productionize Orchestrator** — reviewing a pipeline for production readiness and generating hardened production artifacts in a `prod\u002F` subdirectory.\n\n## Natural Language Triggers\n\n- \"productionize this pipeline\"\n- \"make this production ready\"\n- \"production readiness review\"\n- \"harden this pipeline\"\n- \"prepare this for deployment\"\n\n## Parameters\n\n### Pipeline directory (positional)\nPath to pipeline directory.\n\n### --dry-run (optional)\nPrint the review report without writing any files.\n\n## Execution\n\n### Step 1: Readiness Review\n\nCheck the following items. Use ✓ \u002F ⚠ \u002F ✗:\n\n**Prompts:**\n- ✓ All prompt files exist and have version headers\n- ✓ Evaluator prompt is separate from generator prompts\n- ⚠ System prompt >2000 tokens — consider trimming\n- ✗ No evaluator prompt found — add one before production\n\n**Eval:**\n- ✓ `eval\u002Fcases.jsonl` exists with ≥5 cases\n- ✓ `eval\u002Fresults.jsonl` exists with recent run (within 7 days)\n- ✓ Pass rate ≥85% in most recent eval run\n- ⚠ Pass rate \u003C85% — do not productionize until quality gate passes\n- ✗ No eval run found — run: `aiwg nlp eval \u003Cdir>`\n\n**Code:**\n- ✓ Code stub exists\n- ⚠ Framework dependency found (langchain\u002Flanggraph) — consider removing if not load-bearing\n- ✗ No timeout handling on LLM calls\n- ✗ No retry logic for rate limits (429) and transient errors (502\u002F503)\n- ✗ No structured output validation (schema defined but not enforced at runtime)\n- ✗ No token budget cap (max_tokens not set)\n\n**Cost:**\n- ✓ `cost-model.yaml` exists\n- ⚠ No `cost-model.yaml` — generate: `aiwg nlp estimate-cost \u003Cdir>`\n\n### Step 2: Generate Production Artifacts\n\nIf no ✗ items (or user confirms proceed with warnings):\n\nGenerate `prod\u002F` directory:\n\n```\nprod\u002F\n├── prompts\u002F              # Copied from dev (hardened if changes made)\n├── src\u002F\n│   └── pipeline.py       # Hardened version: timeouts, retries, validation\n├── Dockerfile            # Minimal container\n├── cost-model.yaml       # From cost analysis\n└── README.md             # Ops runbook\n```\n\n**Hardening applied automatically:**\n1. **Add timeouts** — wrap every LLM call: `timeout=30` (or pipeline config value)\n2. **Add retry wrapper** — exponential backoff on 429, 502, 503\n3. **Add structured output validation** — Pydantic (Python) or Zod (TypeScript) schema enforcement\n4. **Add token budget enforcement** — `max_tokens` from pipeline config enforced at call site\n5. **Add cost cap guard** — abort if estimated cost exceeds `warn_above_usd`\n6. **Remove dev logging** — strip verbose debug output\n\n**Framework removal (if detected):**\n- Check if LangChain\u002FLangGraph calls are load-bearing\n- If replaceable: rewrite the relevant section without the dependency\n- If not replaceable: flag with ⚠ and note in README\n\n### Step 3: Generate Dockerfile\n\n```dockerfile\nFROM python:3.12-slim\nWORKDIR \u002Fapp\nCOPY requirements.txt .\nRUN pip install --no-cache-dir -r requirements.txt\nCOPY prod\u002F .\nCMD [\"python\", \"src\u002Fpipeline.py\"]\n```\n\nOr TypeScript equivalent with Node 22.\n\n### Step 4: Generate Ops Runbook (prod\u002FREADME.md)\n\nSections:\n- Overview (pipeline name, pattern, what it does)\n- Start \u002F Stop\n- Health check command\n- Rollback procedure\n- Monitoring (what to watch: latency, error rate, cost)\n- Eval re-run instructions\n\n### Step 5: Final Report\n\n```\nProductionization Complete: pipelines\u002F\u003Cname>\u002Fprod\u002F\n\n✓ Prompts hardened\n✓ Retry + timeout wrapper added\n✓ Pydantic output validation added\n✓ Dockerfile generated\n✓ Ops runbook written\n\nRemoved: langchain dependency (replaced with direct anthropic SDK call)\n\nDeploy: docker build -t \u003Cname>:latest . && docker run \u003Cname>:latest\nCost model: prod\u002Fcost-model.yaml (~$9\u002Fmo at 100k calls)\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Fnlp-prod\u002FREADME.md — nlp-prod addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Concrete readiness thresholds (pass rate ≥85%, eval within 7 days)\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Confirm with user when ✗ items found before generating prod artifacts\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference for aiwg nlp commands\n",{"name":5,"namespace":57,"platforms":58,"commandHint":60,"description":7},"aiwg",[59],"all",{"model":40,"category":61,"modelRole":34,"modelTier":62,"allowedTools":63,"argumentHint":64,"orchestration":53},"nlp-prod","economy","Read, Write, Bash","\u003Cpipeline-dir> [--dry-run]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Faddons\u002Fnlp-prod\u002Fskills\u002Fproductionize",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":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add jmagly\u002Faiwg --skill productionize",{"tool":81,"command":82},"bunx","bunx skills add jmagly\u002Faiwg --skill productionize",{"tool":84,"command":85},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill productionize","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Fnlp-prod\u002Fskills\u002Fproductionize\u002FSKILL.md",true,[],[90,98,103,128,147,152],{"skillNo":91,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":97},"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":99,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":97},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":17,"description":106,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":52},"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",[],[110,111,112,113,114,39,115,116,117,118,119,120,121,42,122,123,124,125,126,127],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":129,"name":130,"nameZh":17,"description":131,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":52},"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",[],[135,136,137,138,139,38,39,140,120,126,42,141,111,142,123,143,144,127,145,146],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":148,"name":105,"nameZh":17,"description":106,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":52},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[110,111,112,125,126,127,121,124,117,114,39,115,116,118,119,120,113,42,122,123],{"skillNo":153,"name":130,"nameZh":17,"description":131,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":52},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[135,136,146,145,139,144,143,123,138,38,39,140,120,137,42,141,111,127,126,142]]