[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DRTYBK6SEV1QCKQT92HGZB":3,"skill-same:01M6DRTYBK6SEV1QCKQT92HGZB":79},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M6DRTYBK6SEV1QCKQT92HGZB","docker-debug",null,"AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdocker-debug\u002FSKILL.md",[],[17,18,19],"docker","debug","docker debug","2026-11-10 10:12:30",false,"# \u002Fdocker-debug — Docker Compose Debugging Skill\n\n## Trigger\nUser says: \"docker-debug\", \"container issue\", \"docker logs\", \"service down\", \"container networking\", \"docker health\"\n\n## Purpose\nDebug Docker Compose production deployments systematically.\n\n## Steps\n\n### 1. Status Overview\n```bash\ndocker compose ps -a                    # All containers with status\ndocker compose ps --format json | jq .  # Structured output\ndocker stats --no-stream                # CPU\u002Fmemory snapshot\n```\n\n### 2. Log Investigation\n```bash\ndocker compose logs --tail=50 SERVICE_NAME          # Recent logs\ndocker compose logs --tail=100 --since=5m SERVICE   # Last 5 minutes\ndocker compose logs SERVICE_NAME 2>&1 | grep -i \"error\\|fatal\\|exception\" | tail -20\n```\n\n### 3. Container Health Checks\n- ALWAYS use `docker exec` for health checks from INSIDE containers — NOT localhost\n- For inter-service checks: `docker exec CONTAINER curl -s http:\u002F\u002FSERVICE_NAME:PORT\u002Fhealth`\n- For public URL checks: use the actual domain, not localhost\n```bash\ndocker exec CONTAINER_NAME curl -sf http:\u002F\u002Flocalhost:PORT\u002Fhealth\ndocker inspect --format='{{.State.Health.Status}}' CONTAINER_NAME\n```\n\n### 4. Networking Debug\n- Think container-to-container networking FIRST, not localhost\n```bash\ndocker network ls\ndocker network inspect NETWORK_NAME\ndocker exec CONTAINER ping -c 2 OTHER_SERVICE    # Inter-container connectivity\ndocker exec CONTAINER nslookup OTHER_SERVICE      # DNS resolution\ndocker compose exec SERVICE_NAME netstat -tlnp    # Open ports inside container\n```\n\n### 5. Resource Issues\n```bash\ndocker system df                        # Disk usage\ndocker system prune --dry-run           # What would be cleaned\ndocker volume ls                        # Check volumes\ndocker exec CONTAINER df -h             # Disk inside container\n```\n\n### 6. Restart & Recovery\n```bash\ndocker compose restart SERVICE_NAME     # Soft restart\ndocker compose up -d --force-recreate SERVICE_NAME  # Hard restart\ndocker compose down && docker compose up -d         # Full restart\n```\n\n## Rules\n- Do NOT use `version:` key in docker-compose.yml (deprecated)\n- Do NOT run `docker system prune` without user confirmation\n- Do NOT run `docker compose down -v` (destroys volumes) without explicit approval\n- Always check logs BEFORE restarting — restarts destroy log context\n- For database containers, NEVER force-remove without checking data volumes\n",{},"master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fdevops\u002Fdocker-debug",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill docker-debug",{"tool":37,"command":38},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill docker-debug",{"tool":40,"command":41},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill docker-debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdocker-debug\u002FSKILL.md",true,[45,51,55,59,63,67,71,75],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"algorithms.md","REFERENCE","参考文档",97,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Falgorithms.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"failure_modes.md",100,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Ffailure_modes.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"formulas.md",95,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Fformulas.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"implementation_notes.md",107,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Fimplementation_notes.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"integration_arbitragex.md",109,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Fintegration_arbitragex.md",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"manifest.json",866,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Fmanifest.json",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"references.json",287,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Freferences.json",{"path":76,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":77,"sourceHtmlUrl":78},"validation_tests.md",103,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuilder-landing-probability-model\u002Fvalidation_tests.md",[80,93,106,119,132,145],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[87,88,89,90,91,92],"writing skills","writing","use","editing","work","deployment",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[100,101,88,102,103,89,104,105],"plans","writing plans","requirements","task","code","spec",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[113,114,115,116,117,118,88],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[121,126,127,128,129,130,131],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":20},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[139,140,141,142,104,143,144],"verification loop","verification","loop","sessions","claude code sessions","system",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":20},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[152,140,153,91,89,154,155,156],"verification before completion","commands","evidence","claim","complete"]