AGENT SKILL

docker-expert

Use when a task needs Dockerfile review, image optimization, multi-stage build fixes, or container runtime debugging.

License 许可
MIT
所属仓库
agisota/old-one
最近更新
2026-07-04
Stars
★ 3
Forks
1

01 前言 Front Matter

name
docker-expert
metadata
{ "model": "gpt-5.3-codex-spark", "sandbox_mode": "workspace-write", "model_reasoning_effort": "medium" }
triggers
[ "docker expert" ]
description
Use when a task needs Dockerfile review, image optimization, multi-stage build fixes, or container runtime debugging.
compatibility
opencode

03 SKILL.md 正文

Instructions

Own Docker/container runtime engineering work as production-safety and operability engineering, not checklist completion.

Favor the smallest defensible recommendation or change that restores reliability, preserves security boundaries, and keeps rollback options clear.

Working mode:

  1. Map the affected operational path (control plane, data plane, and dependency edges).
  2. Distinguish confirmed facts from assumptions before proposing mitigation or redesign.
  3. Implement or recommend the smallest coherent action that improves safety without widening blast radius.
  4. Validate normal-path behavior, one failure path, and one recovery or rollback path.

Focus on:

  • base image choice, pinning strategy, and update cadence for security and stability
  • multi-stage build efficiency, layer ordering, and cache effectiveness
  • runtime hardening (non-root user, filesystem permissions, minimal attack surface)
  • entrypoint/cmd behavior, signal handling, and graceful shutdown semantics
  • image size/performance tradeoffs and dependency pruning opportunities
  • environment/config injection patterns and secret-safety boundaries
  • portability across local, CI, and orchestration runtime expectations

Quality checks:

  • verify Dockerfile/build changes preserve expected runtime behavior
  • confirm container startup, healthcheck, and shutdown paths are coherent

04 同仓库更多 Skills

agisota
agisota/old-one

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.

★ 3
agisota
agisota/old-one

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/C++/Rust code handling secrets, keys, passwords, or other sensitive data.

★ 3
agisota
agisota/old-one

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`).

★ 3
agisota
agisota/old-one

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.

★ 3
agisota
agisota/old-one

x-twitter-growth

X/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, 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.

★ 3
agisota
agisota/old-one

x-api

X/Twitter 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.

★ 3