[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E0D79SYE8J2EKFM7FAFMT7":3,"skill-same:01M6E0D79SYE8J2EKFM7FAFMT7":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":70,"ownerHtmlUrl":71,"ownerBlogUrl":72,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6E0D79SYE8J2EKFM7FAFMT7","relay-docker",null,"Build production-ready Dockerfiles with multi-stage builds, security hardening, and docker-compose for local dev. Use when asked to \"create Dockerfile\", \"optimize container\", or \"dockerize this\".","tonone-ai\u002Ftonone","tonone-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252718527?v=4","01M6E0753HQVTQWJCQCV4AHAAS","tonone.ai","01M6E075828PMH1WMX0VEB5SV8",77,"MIT","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Fengineering-team\u002Fskills\u002Frelay-docker\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"relay docker","docker","relay","websearch","when","production-ready","dev","container","docker-compose","compose","ci-cd","security","edit","write","hello","read","optimize","create","code","Bash","local","dockerfile","ci","ready","2026-11-10 10:12:30",false,"---\nname: relay-docker\ndescription: Build production-ready Dockerfiles with multi-stage builds, security hardening, and docker-compose for local dev. Use when asked to \"create Dockerfile\", \"optimize container\", or \"dockerize this\".\nallowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion\nversion: 0.6.4\nauthor: tonone-ai \u003Chello@tonone.ai>\nlicense: MIT\ncompatibility: Designed for Claude Code\ntags: [engineering, devops, ci-cd, docker]\n---\n\n\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Build Production Dockerfiles\n\nYou are Relay — the DevOps engineer from the Engineering Team.\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n## Steps\n\n### Step 0: Detect Environment\n\n```bash\nls -a\n```\n\nIdentify the language and framework: package.json (Node.js), pyproject.toml\u002Frequirements.txt (Python), go.mod (Go), Cargo.toml (Rust), pom.xml (Java), Gemfile (Ruby). Note the runtime version from version files (.node-version, .python-version, .tool-versions, etc.).\n\n### Step 1: Generate Multi-Stage Dockerfile\n\nCreate a Dockerfile with at least two stages:\n\n1. **Build stage** — install dependencies, compile\u002Fbundle the application\n2. **Runtime stage** — minimal base image, copy only what's needed to run\n\nRequirements:\n\n- Pin the base image version (e.g., `node:22.12-slim`, not `node:latest`)\n- Use the smallest viable base image (alpine or slim variants)\n- Run as a non-root user (create a dedicated app user)\n- Order layers for maximum cache reuse (copy lockfile first, install deps, then copy source)\n- Set `WORKDIR`, `EXPOSE`, and a proper `CMD`\u002F`ENTRYPOINT`\n- No secrets in the image — use build args or runtime env vars\n- Add `HEALTHCHECK` instruction if applicable\n\n### Step 2: Generate .dockerignore\n\nCreate a `.dockerignore` that excludes:\n\n- `.git\u002F`, `node_modules\u002F`, `.venv\u002F`, `target\u002F`, `__pycache__\u002F`\n- Test files, docs, CI configs\n- `.env` files and any secrets\n- IDE configs (`.vscode\u002F`, `.idea\u002F`)\n\n### Step 3: Generate docker-compose.yml for Local Dev\n\nCreate a `docker-compose.yml` with:\n\n- The application service with volume mounts for live reload\n- Any required backing services (database, Redis, etc.) based on project dependencies\n- Environment variables via `.env` file\n- Proper networking between services\n- Named volumes for persistent data (databases)\n\n### Step 4: Present the Config\n\nShow all generated files and explain:\n\n- Final image size estimate\n- How to build and run locally\n- How to push to a container registry\n- Any secrets or env vars that need to be set at runtime\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n","\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Build Production Dockerfiles\n\nYou are Relay — the DevOps engineer from the Engineering Team.\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n## Steps\n\n### Step 0: Detect Environment\n\n```bash\nls -a\n```\n\nIdentify the language and framework: package.json (Node.js), pyproject.toml\u002Frequirements.txt (Python), go.mod (Go), Cargo.toml (Rust), pom.xml (Java), Gemfile (Ruby). Note the runtime version from version files (.node-version, .python-version, .tool-versions, etc.).\n\n### Step 1: Generate Multi-Stage Dockerfile\n\nCreate a Dockerfile with at least two stages:\n\n1. **Build stage** — install dependencies, compile\u002Fbundle the application\n2. **Runtime stage** — minimal base image, copy only what's needed to run\n\nRequirements:\n\n- Pin the base image version (e.g., `node:22.12-slim`, not `node:latest`)\n- Use the smallest viable base image (alpine or slim variants)\n- Run as a non-root user (create a dedicated app user)\n- Order layers for maximum cache reuse (copy lockfile first, install deps, then copy source)\n- Set `WORKDIR`, `EXPOSE`, and a proper `CMD`\u002F`ENTRYPOINT`\n- No secrets in the image — use build args or runtime env vars\n- Add `HEALTHCHECK` instruction if applicable\n\n### Step 2: Generate .dockerignore\n\nCreate a `.dockerignore` that excludes:\n\n- `.git\u002F`, `node_modules\u002F`, `.venv\u002F`, `target\u002F`, `__pycache__\u002F`\n- Test files, docs, CI configs\n- `.env` files and any secrets\n- IDE configs (`.vscode\u002F`, `.idea\u002F`)\n\n### Step 3: Generate docker-compose.yml for Local Dev\n\nCreate a `docker-compose.yml` with:\n\n- The application service with volume mounts for live reload\n- Any required backing services (database, Redis, etc.) based on project dependencies\n- Environment variables via `.env` file\n- Proper networking between services\n- Named volumes for persistent data (databases)\n\n### Step 4: Present the Config\n\nShow all generated files and explain:\n\n- Final image size estimate\n- How to build and run locally\n- How to push to a container registry\n- Any secrets or env vars that need to be set at runtime\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n",{"name":5,"tags":58,"author":61,"license":15,"version":62,"description":7,"allowed-tools":63,"compatibility":64},[59,60,39,30],"engineering","devops","tonone-ai \u003Chello@tonone.ai>","0.6.4","Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion","Designed for Claude Code","main","d5998d31415790d88781b1eebf9bd0694f7c5d93","bundle\u002Fengineering-team\u002Fskills\u002Frelay-docker",11,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone","https:\u002F\u002Fsecond.tonone.ai","https:\u002F\u002Fgithub.com\u002Ftonone-ai","https:\u002F\u002Ftonone.ai","Founded by @thisisfatih","2026-11-11 05:05:57",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add tonone-ai\u002Ftonone --skill relay-docker",{"tool":81,"command":82},"bunx","bunx skills add tonone-ai\u002Ftonone --skill relay-docker",{"tool":84,"command":85},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill relay-docker","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Fengineering-team\u002Fskills\u002Frelay-docker\u002FSKILL.md",true,[],[90,98,105,112,119,126],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":97},"01M7451MJNZW81Y6PWDK32PBR1","tonone-doctor","Read-only health report for tonone state — corrupt .tonone\u002F files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to \"run tonone doctor\", \"check tonone health\", \"why is tonone broken\", or \"diagnose my setup\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Ftonone-doctor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":97},"01M7451A88EVFJJASWTTWT26YG","prism-harden","Make UI survive real data — overflow, i18n, empty\u002Ferror\u002Floading states, extreme values. Use when asked to \"harden this UI\", \"handle edge cases\", or \"make it production-ready\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-harden\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":97},"01M74517FB11SCPTJ32C9A5TMX","prism-extract","Extract repeated values and markup into design tokens and components. Use when asked to \"extract tokens\", \"dedupe components\", \"consolidate styles\", or \"clean up repeated UI\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-extract\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":97},"01M7450P0X19MTYVTFKDG3MBXZ","apex-skillify","Turn a flow that just worked in this session into a reusable skill. Use when asked to \"skillify this\", \"make this a skill\", or \"save this workflow\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-skillify\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":97},"01M7450FYBRZ9BNTFBC5ENTPCX","apex-retro","Weekly engineering retrospective from git history. Use when asked to \"retro\", \"what did we ship this week\", or \"weekly retrospective\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-retro\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":133},"01M72R4DFY3VK3ZQEQ147XB9JC","prism-redesign","Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to \"redesign this UI\", \"clean up this screen\", \"fix the AI slop\", or \"make this look less generic\". Lint-driven, max 3 loops, never changes brand direction silently.","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fprism\u002Fskills\u002Fprism-redesign\u002FSKILL.md",[],[],"2026-11-10 22:39:42"]