[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B4D3ZX5NA3KY3NVD4K50J7":3,"skill-same:01M7B4D3ZX5NA3KY3NVD4K50J7":61},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7B4D3ZX5NA3KY3NVD4K50J7","ops-docker",null,"Write or modify Dockerfiles for this backend so it is ready to deploy on Linux. Use for tasks involving containerization, image optimization, or build\u002Fruntime issues in containers. Docker Compose is managed by the server — do not touch it.","irosadie\u002Fopen-state","irosadie","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25891018?v=4","01M6D9VT1T5RGGX753ARTN5J8N","Imron Rosadi","01M7B4C1HZ5R8XE60RF7GDHD9K",3,"MIT","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fops-docker\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ops-docker\ndescription: Write or modify Dockerfiles for this backend so it is ready to deploy on Linux. Use for tasks involving containerization, image optimization, or build\u002Fruntime issues in containers. Docker Compose is managed by the server — do not touch it.\n---\n\n# Skill: Ops Docker\n\n## Context (Required)\n- Target: Dockerfile in `apps\u002Fapi\u002F` and\u002For `apps\u002Fworker\u002F`\n- Stack: Go (Echo + sqlc for api, asynq for worker)\n- **Do NOT touch `docker-compose.yml`** — managed by the server\n\n## Principles\n\n- Multi-stage build to minimize image size\n- `builder` stage: compile Go binary\n- `runner` stage: minimal alpine with binary only\n- Run as non-root user\n- Build context is monorepo root so `packages\u002Fgo-shared` and `go.work` are available\n\n## Workflow\n\n1. Identify target app and its runtime needs.\n2. Copy `go.work`, `go.work.sum`, `packages\u002Fgo-shared\u002F`, and the target app in builder stage.\n3. Build Go binary in `builder` stage.\n4. Copy only the binary into `runner` stage.\n5. Verify `CMD`, port, and env var requirements before finishing.\n\n## Dockerfile Template (Echo API)\n\n```dockerfile\n# Stage 1: Builder\nFROM golang:1.26-alpine AS builder\n\nWORKDIR \u002Fapp\n\nCOPY go.work go.work.sum* .\u002F\nCOPY packages\u002Fgo-shared\u002F .\u002Fpackages\u002Fgo-shared\u002F\nCOPY apps\u002Fapi\u002F .\u002Fapps\u002Fapi\u002F\n\nWORKDIR \u002Fapp\u002Fapps\u002Fapi\nRUN go build -o \u002Fbin\u002Fserver .\u002Fcmd\u002Fserver\u002Fmain.go\n\n# Stage 2: Runner\nFROM alpine:3.20\n\nRUN apk --no-cache add ca-certificates tzdata\nRUN addgroup -S appgroup && adduser -S appuser -G appgroup\n\nWORKDIR \u002Fapp\nCOPY --from=builder --chown=appuser:appgroup \u002Fbin\u002Fserver .\n\nUSER appuser\nEXPOSE 8080\nCMD [\".\u002Fserver\"]\n```\n\n## Dockerfile Template (asynq Worker)\n\n```dockerfile\n# Stage 1: Builder\nFROM golang:1.26-alpine AS builder\n\nWORKDIR \u002Fapp\n\nCOPY go.work go.work.sum* .\u002F\nCOPY packages\u002Fgo-shared\u002F .\u002Fpackages\u002Fgo-shared\u002F\nCOPY apps\u002Fworker\u002F .\u002Fapps\u002Fworker\u002F\n\nWORKDIR \u002Fapp\u002Fapps\u002Fworker\nRUN go build -o \u002Fbin\u002Fworker .\u002Fcmd\u002Fworker\u002Fmain.go\n\n# Stage 2: Runner\nFROM alpine:3.20\n\nRUN apk --no-cache add ca-certificates tzdata\nRUN addgroup -S appgroup && adduser -S appuser -G appgroup\n\nWORKDIR \u002Fapp\nCOPY --from=builder --chown=appuser:appgroup \u002Fbin\u002Fworker .\n\nUSER appuser\nCMD [\".\u002Fworker\"]\n```\n\n## Rules\n\n- Always build from monorepo root so `go.work` resolves `packages\u002Fgo-shared`\n- Never copy `.env` into the image — inject via environment variable at runtime\n- Never expose unused ports\n- Copy `go.work.sum*` with glob to handle optional file gracefully\n\n## Prohibitions\n\n- **FORBIDDEN** to modify `docker-compose.yml`.\n- **FORBIDDEN** to run container as root unless strictly required.\n- **FORBIDDEN** to copy the entire repo into the runner stage.\n- **FORBIDDEN** to leave a Dockerfile that cannot be built deterministically.\n\n## Pre-Completion Checklist\n\n- [ ] Dockerfile uses multi-stage build (golang:1.26-alpine builder, alpine:3.20 runner)\n- [ ] `go.work` and `packages\u002Fgo-shared\u002F` copied in builder stage\n- [ ] Runner stage contains only the compiled binary\n- [ ] Non-root user is used\n- [ ] Port and CMD match target app\n- [ ] All files end with newline (EOF)\n","# Skill: Ops Docker\n\n## Context (Required)\n- Target: Dockerfile in `apps\u002Fapi\u002F` and\u002For `apps\u002Fworker\u002F`\n- Stack: Go (Echo + sqlc for api, asynq for worker)\n- **Do NOT touch `docker-compose.yml`** — managed by the server\n\n## Principles\n\n- Multi-stage build to minimize image size\n- `builder` stage: compile Go binary\n- `runner` stage: minimal alpine with binary only\n- Run as non-root user\n- Build context is monorepo root so `packages\u002Fgo-shared` and `go.work` are available\n\n## Workflow\n\n1. Identify target app and its runtime needs.\n2. Copy `go.work`, `go.work.sum`, `packages\u002Fgo-shared\u002F`, and the target app in builder stage.\n3. Build Go binary in `builder` stage.\n4. Copy only the binary into `runner` stage.\n5. Verify `CMD`, port, and env var requirements before finishing.\n\n## Dockerfile Template (Echo API)\n\n```dockerfile\n# Stage 1: Builder\nFROM golang:1.26-alpine AS builder\n\nWORKDIR \u002Fapp\n\nCOPY go.work go.work.sum* .\u002F\nCOPY packages\u002Fgo-shared\u002F .\u002Fpackages\u002Fgo-shared\u002F\nCOPY apps\u002Fapi\u002F .\u002Fapps\u002Fapi\u002F\n\nWORKDIR \u002Fapp\u002Fapps\u002Fapi\nRUN go build -o \u002Fbin\u002Fserver .\u002Fcmd\u002Fserver\u002Fmain.go\n\n# Stage 2: Runner\nFROM alpine:3.20\n\nRUN apk --no-cache add ca-certificates tzdata\nRUN addgroup -S appgroup && adduser -S appuser -G appgroup\n\nWORKDIR \u002Fapp\nCOPY --from=builder --chown=appuser:appgroup \u002Fbin\u002Fserver .\n\nUSER appuser\nEXPOSE 8080\nCMD [\".\u002Fserver\"]\n```\n\n## Dockerfile Template (asynq Worker)\n\n```dockerfile\n# Stage 1: Builder\nFROM golang:1.26-alpine AS builder\n\nWORKDIR \u002Fapp\n\nCOPY go.work go.work.sum* .\u002F\nCOPY packages\u002Fgo-shared\u002F .\u002Fpackages\u002Fgo-shared\u002F\nCOPY apps\u002Fworker\u002F .\u002Fapps\u002Fworker\u002F\n\nWORKDIR \u002Fapp\u002Fapps\u002Fworker\nRUN go build -o \u002Fbin\u002Fworker .\u002Fcmd\u002Fworker\u002Fmain.go\n\n# Stage 2: Runner\nFROM alpine:3.20\n\nRUN apk --no-cache add ca-certificates tzdata\nRUN addgroup -S appgroup && adduser -S appuser -G appgroup\n\nWORKDIR \u002Fapp\nCOPY --from=builder --chown=appuser:appgroup \u002Fbin\u002Fworker .\n\nUSER appuser\nCMD [\".\u002Fworker\"]\n```\n\n## Rules\n\n- Always build from monorepo root so `go.work` resolves `packages\u002Fgo-shared`\n- Never copy `.env` into the image — inject via environment variable at runtime\n- Never expose unused ports\n- Copy `go.work.sum*` with glob to handle optional file gracefully\n\n## Prohibitions\n\n- **FORBIDDEN** to modify `docker-compose.yml`.\n- **FORBIDDEN** to run container as root unless strictly required.\n- **FORBIDDEN** to copy the entire repo into the runner stage.\n- **FORBIDDEN** to leave a Dockerfile that cannot be built deterministically.\n\n## Pre-Completion Checklist\n\n- [ ] Dockerfile uses multi-stage build (golang:1.26-alpine builder, alpine:3.20 runner)\n- [ ] `go.work` and `packages\u002Fgo-shared\u002F` copied in builder stage\n- [ ] Runner stage contains only the compiled binary\n- [ ] Non-root user is used\n- [ ] Port and CMD match target app\n- [ ] All files end with newline (EOF)\n",{"name":5,"description":7},"main","e060e2bbccd2807300ada8189e092b68718e0359",".agents\u002Fskills\u002Fops-docker",0,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state","https:\u002F\u002Fgithub.com\u002Firosadie","http:\u002F\u002Fimronrosadi.com","The Hatless Engineer 👨‍💻","2026-09-06 12:39:29",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add irosadie\u002Fopen-state --skill ops-docker",{"tool":39,"command":40},"bunx","bunx skills add irosadie\u002Fopen-state --skill ops-docker",{"tool":42,"command":43},"pnpm","pnpm dlx skills add irosadie\u002Fopen-state --skill ops-docker","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fops-docker\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",266,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fops-docker\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcontext.md",1210,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fops-docker\u002Freferences\u002Fcontext.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"templates\u002Fchecklist.md",1347,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fops-docker\u002Ftemplates\u002Fchecklist.md",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7B4H1NMAN0SQQ767BJNSA53","web-slicing","Convert screenshot\u002FFigma designs into pixel-perfect frontend UI with reusable components. Use when the task focuses on visual and layout implementation.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-slicing\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7B4GZ1FCD08JC4YZ7H7ZARH","web-seo-geo-friendly","Optimize public Next.js App Router pages for SEO and GEO (Generative Engine Optimization). Use when the user explicitly requests SEO\u002FGEO optimization on public pages.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-seo-geo-friendly\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7B4GWT5RGPSW001QN2757QV","web-code-review","Review frontend code with a firm senior-lead standard, focusing on bugs, regressions, architecture risks, and test gaps in apps\u002Fweb and the shared contracts the frontend depends on.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-code-review\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7B4GTKEZZ7DFNA0X6BBY3A2","web-bugfix","Fix frontend bugs with minimum-touch changes, keep other surfaces stable, and sync schema, types, hooks, constants, tests, and related docs when impacted.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-bugfix\u002FSKILL.md",[],[],{"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":19},"01M7B4GR96WPQTF2V2KXVR7P9W","web-api-integrated","Integrate API endpoints into the frontend with Zod schemas, response types, constants, and react-query hooks. Use when implementing endpoints from an API contract, Postman, or Swagger.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-api-integrated\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7B4GNDTB3T51TP737R07VQS","skill-creator","Create a new skill from scratch with full structure — SKILL.md, references, templates, openai.yaml, Claude\u002FOpenCode wrappers, and registration in manifest + AGENTS.md + CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fskill-creator\u002FSKILL.md",[],[]]