con un clic
docker
Docker 容器管理、镜像操作、compose 编排的最佳实践
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Docker 容器管理、镜像操作、compose 编排的最佳实践
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
生成或审计模块的 SPEC.md。使用场景:用户要求"给 XX 模块写 spec"、"审计所有 spec"、"检查 spec 是否过期"。
Automates SailFish release workflow: fix build/type errors, update CHANGELOG (EN + CN), run npm version with pre/post hooks. Use when the user asks to release, 发版, 发布, bump version, or update changelog.
后端代码修改后,通过 CLI 测试验证功能正确性。使用场景:修改了 electron/services/ 下的代码需要测试、准备提交代码前跑回归、用户要求"跑测试"/"验证一下"。
完成新功能开发或较大修改后,使用本机 Claude CLI 进行代码审查。
使用 ts-morph 静态分析工具查询代码结构(类层次、方法签名、引用、依赖等),替代手动读源码。使用场景:需要了解类的方法/属性、继承链、符号引用、文件结构、依赖关系时。
When committing or staging changes, only include files related to the current task or conversation; do not stage or commit unrelated modifications. Use when the user asks to commit, stage, 提交, or when preparing to run git add/commit.
| name | Docker 操作指南 |
| description | Docker 容器管理、镜像操作、compose 编排的最佳实践 |
| version | 1.0 |
执行 Docker 相关任务时的最佳实践。
docker psdocker ps -adocker statsdocker logs -f --tail 100 <container>docker logs --timestamps <container>docker exec -it <container> /bin/bash/bin/sh.dockerignore 排除不需要的文件alpine 基础镜像docker image prunedocker system prune -adocker compose up -ddocker compose downdocker compose up -d --build <service>docker compose logs -f <service>depends_on + healthcheck 控制启动顺序secrets 或环境变量文件docker logslsof -i :<port> 查看占用docker system df 查看 Docker 磁盘使用docker network inspect 检查网络配置