[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAWFHFM7GMKS1MJ8TKB4WW":3,"skill-same:01M6CAWFHFM7GMKS1MJ8TKB4WW":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},"01M6CAWFHFM7GMKS1MJ8TKB4WW","deploy-gen","Docker\u002FK8s 部署配置生成","Generate deployment configurations (Docker, Kubernetes) for the current project","为当前项目生成部署配置（Docker、Kubernetes）。","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\u002Futils\u002Fskills\u002Fdeploy-gen\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38],"deploy","deploy gen","docker","kubernetes","deployment","generate","project","for","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: deploy-gen\nplatforms: [all]\ndescription: Generate deployment configurations (Docker, Kubernetes) for the current project\n---\n\n\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Deploy Generator\n\nGenerate production-ready deployment configurations based on project analysis.\n\n## Research Foundation\n\n**REF-001**: BP-8 - Containerized Deployment\n\n> \"Production-grade agentic workflows require containerized deployment with proper isolation, resource management, and orchestration.\"\n\n## Usage\n\n```bash\n\u002Fdeploy-gen docker [options]\n\u002Fdeploy-gen k8s [options]\n\u002Fdeploy-gen compose [options]\n```\n\n## Arguments\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| type | Yes | Deployment type: docker, k8s, compose |\n\n## Options\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| --output | .\u002Fdeploy\u002F | Output directory for generated files |\n| --app-name | (from package.json) | Application name |\n| --port | 3000 | Application port |\n| --multi-stage | true | Use multi-stage Dockerfile |\n| --health-check | true | Include health check endpoints |\n\n## Process\n\n### 1. Project Analysis\n\nDetect project characteristics:\n\n```\nAnalyzing project...\n- Runtime: [node\u002Fpython\u002Fgo\u002Fjava]\n- Package manager: [npm\u002Fyarn\u002Fpip\u002Fgo mod]\n- Entry point: [detected or ask]\n- Dependencies: [count]\n- Build required: [yes\u002Fno]\n```\n\n### 2. Template Selection\n\nChoose appropriate templates based on analysis:\n\n| Runtime | Template |\n|---------|----------|\n| Node.js | generated node.Dockerfile (use the Dockerfile example below) |\n| Python | generated python.Dockerfile (use the Dockerfile example below) |\n| Go | generated go.Dockerfile (use the Dockerfile example below) |\n\n### 3. Configuration Generation\n\nGenerate deployment files with project-specific values.\n\n## Output: Docker\n\n```\ndeploy\u002F\n├── Dockerfile           # Multi-stage build\n├── .dockerignore        # Exclude dev files\n└── docker-build.sh      # Build helper script\n```\n\n### Dockerfile Features\n\n- Multi-stage build (build → production)\n- Non-root user\n- Health check\n- Proper signal handling\n- Layer caching optimization\n\n## Output: Kubernetes\n\n```\ndeploy\u002Fk8s\u002F\n├── deployment.yaml      # Pod specification\n├── service.yaml         # Service exposure\n├── configmap.yaml       # Environment configuration\n├── hpa.yaml            # Horizontal Pod Autoscaler\n└── kustomization.yaml  # Kustomize base\n```\n\n### Kubernetes Features\n\n- Resource limits and requests\n- Liveness and readiness probes\n- ConfigMap for environment\n- HPA for auto-scaling\n- Kustomize for environment overlays\n\n## Output: Docker Compose\n\n```\ndeploy\u002F\n├── docker-compose.yml       # Service definition\n├── docker-compose.dev.yml   # Development overrides\n└── .env.example             # Environment template\n```\n\n## Examples\n\n```bash\n# Generate Dockerfile for Node.js project\n\u002Fdeploy-gen docker\n\n# Generate full Kubernetes manifests\n\u002Fdeploy-gen k8s --app-name my-api --port 8080\n\n# Generate Docker Compose for local development\n\u002Fdeploy-gen compose --output .\u002F\n\n# Generate all deployment types\n\u002Fdeploy-gen docker && \u002Fdeploy-gen k8s && \u002Fdeploy-gen compose\n```\n\n## Template Variables\n\nTemplates use these variables:\n\n| Variable | Source |\n|----------|--------|\n| `{{APP_NAME}}` | --app-name or package.json |\n| `{{PORT}}` | --port option |\n| `{{NODE_VERSION}}` | .nvmrc or latest LTS |\n| `{{PYTHON_VERSION}}` | .python-version or 3.11 |\n| `{{ENTRY_POINT}}` | Detected from project |\n\n## CLI Equivalent\n\n```bash\naiwg deploy-gen \u003Ctype> [options]\n```\n\n## Related Commands\n\n- `project-health-check` - Analyze project before deployment\n- `security-audit` - Security review before production\n- `flow-deploy-to-production` - Full deployment workflow\n\n## Success Metrics\n\nFrom Unified Plan:\n\n| Metric | Target |\n|--------|--------|\n| Zero to containerized | \u003C2 minutes |\n| Generated configs | Production-ready |\n| Security baseline | Non-root, minimal image |\n\nGenerate deployment for: $ARGUMENTS\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002FREADME.md — aiwg-utils addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework context for deployment workflows\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference including deploy-related commands\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Analyze project before generating configs\n","\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Deploy Generator\n\nGenerate production-ready deployment configurations based on project analysis.\n\n## Research Foundation\n\n**REF-001**: BP-8 - Containerized Deployment\n\n> \"Production-grade agentic workflows require containerized deployment with proper isolation, resource management, and orchestration.\"\n\n## Usage\n\n```bash\n\u002Fdeploy-gen docker [options]\n\u002Fdeploy-gen k8s [options]\n\u002Fdeploy-gen compose [options]\n```\n\n## Arguments\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| type | Yes | Deployment type: docker, k8s, compose |\n\n## Options\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| --output | .\u002Fdeploy\u002F | Output directory for generated files |\n| --app-name | (from package.json) | Application name |\n| --port | 3000 | Application port |\n| --multi-stage | true | Use multi-stage Dockerfile |\n| --health-check | true | Include health check endpoints |\n\n## Process\n\n### 1. Project Analysis\n\nDetect project characteristics:\n\n```\nAnalyzing project...\n- Runtime: [node\u002Fpython\u002Fgo\u002Fjava]\n- Package manager: [npm\u002Fyarn\u002Fpip\u002Fgo mod]\n- Entry point: [detected or ask]\n- Dependencies: [count]\n- Build required: [yes\u002Fno]\n```\n\n### 2. Template Selection\n\nChoose appropriate templates based on analysis:\n\n| Runtime | Template |\n|---------|----------|\n| Node.js | generated node.Dockerfile (use the Dockerfile example below) |\n| Python | generated python.Dockerfile (use the Dockerfile example below) |\n| Go | generated go.Dockerfile (use the Dockerfile example below) |\n\n### 3. Configuration Generation\n\nGenerate deployment files with project-specific values.\n\n## Output: Docker\n\n```\ndeploy\u002F\n├── Dockerfile           # Multi-stage build\n├── .dockerignore        # Exclude dev files\n└── docker-build.sh      # Build helper script\n```\n\n### Dockerfile Features\n\n- Multi-stage build (build → production)\n- Non-root user\n- Health check\n- Proper signal handling\n- Layer caching optimization\n\n## Output: Kubernetes\n\n```\ndeploy\u002Fk8s\u002F\n├── deployment.yaml      # Pod specification\n├── service.yaml         # Service exposure\n├── configmap.yaml       # Environment configuration\n├── hpa.yaml            # Horizontal Pod Autoscaler\n└── kustomization.yaml  # Kustomize base\n```\n\n### Kubernetes Features\n\n- Resource limits and requests\n- Liveness and readiness probes\n- ConfigMap for environment\n- HPA for auto-scaling\n- Kustomize for environment overlays\n\n## Output: Docker Compose\n\n```\ndeploy\u002F\n├── docker-compose.yml       # Service definition\n├── docker-compose.dev.yml   # Development overrides\n└── .env.example             # Environment template\n```\n\n## Examples\n\n```bash\n# Generate Dockerfile for Node.js project\n\u002Fdeploy-gen docker\n\n# Generate full Kubernetes manifests\n\u002Fdeploy-gen k8s --app-name my-api --port 8080\n\n# Generate Docker Compose for local development\n\u002Fdeploy-gen compose --output .\u002F\n\n# Generate all deployment types\n\u002Fdeploy-gen docker && \u002Fdeploy-gen k8s && \u002Fdeploy-gen compose\n```\n\n## Template Variables\n\nTemplates use these variables:\n\n| Variable | Source |\n|----------|--------|\n| `{{APP_NAME}}` | --app-name or package.json |\n| `{{PORT}}` | --port option |\n| `{{NODE_VERSION}}` | .nvmrc or latest LTS |\n| `{{PYTHON_VERSION}}` | .python-version or 3.11 |\n| `{{ENTRY_POINT}}` | Detected from project |\n\n## CLI Equivalent\n\n```bash\naiwg deploy-gen \u003Ctype> [options]\n```\n\n## Related Commands\n\n- `project-health-check` - Analyze project before deployment\n- `security-audit` - Security review before production\n- `flow-deploy-to-production` - Full deployment workflow\n\n## Success Metrics\n\nFrom Unified Plan:\n\n| Metric | Target |\n|--------|--------|\n| Zero to containerized | \u003C2 minutes |\n| Generated configs | Production-ready |\n| Security baseline | Non-root, minimal image |\n\nGenerate deployment for: $ARGUMENTS\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002FREADME.md — aiwg-utils addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework context for deployment workflows\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference including deploy-related commands\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Analyze project before generating configs\n",{"name":5,"namespace":44,"platforms":45,"description":7},"aiwg",[46],"all","main","a602706fc62ff1cfcb18001358ac39647b08acf5","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fdeploy-gen",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 deploy-gen",{"tool":63,"command":64},"bunx","bunx skills add jmagly\u002Faiwg --skill deploy-gen",{"tool":66,"command":67},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill deploy-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fdeploy-gen\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]]