[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75D68NVRPYN6MT5SYS62H78":3,"skill-same:01M75D68NVRPYN6MT5SYS62H78":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M75D68NVRPYN6MT5SYS62H78","Docker Compose",null,"Define multi-container applications with proper dependency handling, networking, and volume management.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdocker-compose\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: Docker Compose\ndescription: Define multi-container applications with proper dependency handling, networking, and volume management.\nmetadata: {\"clawdbot\":{\"emoji\":\"🐳\",\"requires\":{\"anyBins\":[\"docker-compose\",\"docker\"]},\"os\":[\"linux\",\"darwin\",\"win32\"]}}\n---\n\n## depends_on Ready Condition\n\n- `depends_on:` alone only waits for container start—service likely not ready yet\n- Add healthcheck + condition for actual readiness:\n```yaml\ndepends_on:\n  db:\n    condition: service_healthy\n```\n- Without healthcheck defined on target service, `service_healthy` fails\n\n## Healthcheck start_period\n\n```yaml\nhealthcheck:\n  test: [\"CMD\", \"pg_isready\"]\n  start_period: 30s\n```\n- `start_period`: initial grace period—health failures don't count during this time\n- Slow-starting services (databases, Java apps) need adequate start_period\n- Without it, container marked unhealthy before it finishes initializing\n\n## Volume Destruction\n\n- `docker compose down` preserves volumes\n- `docker compose down -v` DELETES ALL VOLUMES—data loss\n- `-v` often added by habit from tutorials—catastrophic in production\n- Named volumes survive `down`; anonymous volumes deleted on `down`\n\n## Resource Limits in Development\n\n```yaml\ndeploy:\n  resources:\n    limits:\n      memory: 512M\n```\n- Set limits during development—catches memory issues early\n- Unlimited container can consume all host memory—kills other processes\n- Copy limits to production config—don't discover limits in prod\n\n## .dockerignore\n\n- Without it: `node_modules`, `.git`, secrets copied into image\n- Mirrors `.gitignore` syntax—create at same level as Dockerfile\n- Large build context = slow builds, large images, potential security issues\n- At minimum: `.git`, `node_modules`, `.env`, `*.log`, build artifacts\n\n## Override File Pattern\n\n- `docker-compose.yml`: base config that works everywhere\n- `docker-compose.override.yml`: auto-loaded, development-specific (mounts, ports)\n- Production: `docker compose -f docker-compose.yml -f docker-compose.prod.yml up`\n- Keep secrets and environment-specific config in override files, not base\n\n## Profiles for Optional Services\n\n```yaml\nservices:\n  mailhog:\n    profiles: [dev]\n```\n- Services with profiles don't start by default—cleaner `docker compose up`\n- Enable with `--profile dev`\n- Use for: test databases, debug tools, mock services, admin interfaces\n\n## Environment Variable Precedence\n\n1. Shell environment (highest)\n2. `.env` file in compose directory\n3. `env_file:` directive\n4. `environment:` in compose file (lowest for that var)\n- `.env` must be exactly `.env`—`.env.local` not auto-loaded\n- Debug with `docker compose config`—shows resolved values\n","## depends_on Ready Condition\n\n- `depends_on:` alone only waits for container start—service likely not ready yet\n- Add healthcheck + condition for actual readiness:\n```yaml\ndepends_on:\n  db:\n    condition: service_healthy\n```\n- Without healthcheck defined on target service, `service_healthy` fails\n\n## Healthcheck start_period\n\n```yaml\nhealthcheck:\n  test: [\"CMD\", \"pg_isready\"]\n  start_period: 30s\n```\n- `start_period`: initial grace period—health failures don't count during this time\n- Slow-starting services (databases, Java apps) need adequate start_period\n- Without it, container marked unhealthy before it finishes initializing\n\n## Volume Destruction\n\n- `docker compose down` preserves volumes\n- `docker compose down -v` DELETES ALL VOLUMES—data loss\n- `-v` often added by habit from tutorials—catastrophic in production\n- Named volumes survive `down`; anonymous volumes deleted on `down`\n\n## Resource Limits in Development\n\n```yaml\ndeploy:\n  resources:\n    limits:\n      memory: 512M\n```\n- Set limits during development—catches memory issues early\n- Unlimited container can consume all host memory—kills other processes\n- Copy limits to production config—don't discover limits in prod\n\n## .dockerignore\n\n- Without it: `node_modules`, `.git`, secrets copied into image\n- Mirrors `.gitignore` syntax—create at same level as Dockerfile\n- Large build context = slow builds, large images, potential security issues\n- At minimum: `.git`, `node_modules`, `.env`, `*.log`, build artifacts\n\n## Override File Pattern\n\n- `docker-compose.yml`: base config that works everywhere\n- `docker-compose.override.yml`: auto-loaded, development-specific (mounts, ports)\n- Production: `docker compose -f docker-compose.yml -f docker-compose.prod.yml up`\n- Keep secrets and environment-specific config in override files, not base\n\n## Profiles for Optional Services\n\n```yaml\nservices:\n  mailhog:\n    profiles: [dev]\n```\n- Services with profiles don't start by default—cleaner `docker compose up`\n- Enable with `--profile dev`\n- Use for: test databases, debug tools, mock services, admin interfaces\n\n## Environment Variable Precedence\n\n1. Shell environment (highest)\n2. `.env` file in compose directory\n3. `env_file:` directive\n4. `environment:` in compose file (lowest for that var)\n- `.env` must be exactly `.env`—`.env.local` not auto-loaded\n- Debug with `docker compose config`—shows resolved values\n",{"name":5,"metadata":23,"description":7},{"clawdbot":24},{"os":25,"emoji":29,"requires":30},[26,27,28],"linux","darwin","win32","🐳",{"anyBins":31},[32,33],"docker-compose","docker","main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fdocker-compose",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add agisota\u002Fold-one --skill \"Docker Compose\"",{"tool":49,"command":50},"bunx","bunx skills add agisota\u002Fold-one --skill \"Docker Compose\"",{"tool":52,"command":53},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill \"Docker Compose\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdocker-compose\u002FSKILL.md",true,[57,63],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"_meta.json","REFERENCE","参考文档",133,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdocker-compose\u002F_meta.json",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},".clawhub\u002Forigin.json",146,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdocker-compose\u002F.clawhub\u002Forigin.json",[68,75,82,91,98,105],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]