[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M755CQ388GJVMD67VEG5VGX0":3,"skill-same:01M755CQ388GJVMD67VEG5VGX0":90},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":36,"commitSha":37,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M755CQ388GJVMD67VEG5VGX0","performing-container-image-hardening",null,"This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: performing-container-image-hardening\ndescription: >\n  This skill covers hardening container images by minimizing attack surface, removing\n  unnecessary packages, implementing multi-stage builds, configuring non-root users,\n  and applying CIS Docker Benchmark recommendations to produce secure production-ready images.\ndomain: cybersecurity\nsubdomain: devsecops\ntags: [devsecops, cicd, container-hardening, docker, cis-benchmark, secure-sdlc]\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Performing Container Image Hardening\n\n## When to Use\n\n- When building production container images that need minimal attack surface\n- When compliance requires CIS Docker Benchmark adherence for container configurations\n- When reducing image size to minimize vulnerability exposure from unused packages\n- When implementing defense-in-depth for containerized workloads\n- When migrating from fat base images to distroless or minimal images\n\n**Do not use** for runtime container security monitoring (use Falco), for host-level Docker daemon hardening (use CIS Docker Benchmark host checks), or for container orchestration security (use Kubernetes security scanning).\n\n## Prerequisites\n\n- Docker or BuildKit for multi-stage builds\n- Base image options: distroless, Alpine, slim, or scratch\n- Container scanning tool (Trivy) for validation\n- CIS Docker Benchmark reference\n\n## Workflow\n\n### Step 1: Use Multi-Stage Builds to Minimize Image Size\n\n```dockerfile\n# Build stage with all dependencies\nFROM python:3.12-bookworm AS builder\nWORKDIR \u002Fbuild\nCOPY requirements.txt .\nRUN pip install --no-cache-dir --prefix=\u002Finstall -r requirements.txt\nCOPY src\u002F .\u002Fsrc\u002F\nRUN python -m compileall src\u002F\n\n# Production stage with minimal base\nFROM python:3.12-slim-bookworm AS production\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends libpq5 && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* && \\\n    apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false\n\nCOPY --from=builder \u002Finstall \u002Fusr\u002Flocal\nCOPY --from=builder \u002Fbuild\u002Fsrc \u002Fapp\u002Fsrc\n\nRUN groupadd -r appuser && useradd -r -g appuser -d \u002Fapp -s \u002Fsbin\u002Fnologin appuser\nRUN chown -R appuser:appuser \u002Fapp\n\nUSER appuser\nWORKDIR \u002Fapp\n\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\\n  CMD python -c \"import urllib.request; urllib.request.urlopen('http:\u002F\u002Flocalhost:8080\u002Fhealth')\" || exit 1\n\nEXPOSE 8080\nENTRYPOINT [\"python\", \"-m\", \"src.main\"]\n```\n\n### Step 2: Use Distroless Base Images\n\n```dockerfile\n# Go application with distroless\nFROM golang:1.22 AS builder\nWORKDIR \u002Fapp\nCOPY go.* .\u002F\nRUN go mod download\nCOPY . .\nRUN CGO_ENABLED=0 GOOS=linux go build -ldflags=\"-w -s\" -o \u002Fserver .\n\nFROM gcr.io\u002Fdistroless\u002Fstatic-debian12:nonroot\nCOPY --from=builder \u002Fserver \u002Fserver\nUSER nonroot:nonroot\nENTRYPOINT [\"\u002Fserver\"]\n```\n\n### Step 3: Remove Unnecessary Components\n\n```dockerfile\n# Hardened image checklist\nFROM ubuntu:24.04 AS base\n\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends \\\n      ca-certificates \\\n      libssl3 && \\\n    # Remove package manager to prevent runtime package installation\n    apt-get purge -y --auto-remove apt dpkg && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* \\\n           \u002Fvar\u002Fcache\u002Fapt\u002F* \\\n           \u002Ftmp\u002F* \\\n           \u002Fvar\u002Ftmp\u002F* \\\n           \u002Fusr\u002Fshare\u002Fdoc\u002F* \\\n           \u002Fusr\u002Fshare\u002Fman\u002F* \\\n           \u002Fusr\u002Fshare\u002Finfo\u002F* \\\n           \u002Froot\u002F.cache\n\n# Remove shells if not needed\nRUN rm -f \u002Fbin\u002Fsh \u002Fbin\u002Fbash \u002Fusr\u002Fbin\u002Fsh 2>\u002Fdev\u002Fnull || true\n\n# Remove setuid\u002Fsetgid binaries\nRUN find \u002F -perm \u002F6000 -type f -exec chmod a-s {} + 2>\u002Fdev\u002Fnull || true\n```\n\n### Step 4: Configure Read-Only Filesystem\n\n```yaml\n# Kubernetes deployment with read-only root filesystem\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: hardened-app\nspec:\n  template:\n    spec:\n      securityContext:\n        runAsNonRoot: true\n        runAsUser: 65534\n        fsGroup: 65534\n        seccompProfile:\n          type: RuntimeDefault\n      containers:\n        - name: app\n          image: app:hardened\n          securityContext:\n            allowPrivilegeEscalation: false\n            readOnlyRootFilesystem: true\n            capabilities:\n              drop: [\"ALL\"]\n          volumeMounts:\n            - name: tmp\n              mountPath: \u002Ftmp\n            - name: cache\n              mountPath: \u002Fapp\u002Fcache\n      volumes:\n        - name: tmp\n          emptyDir:\n            sizeLimit: 100Mi\n        - name: cache\n          emptyDir:\n            sizeLimit: 50Mi\n```\n\n### Step 5: Pin Base Image by Digest\n\n```dockerfile\n# Pin to exact image digest for reproducibility\nFROM python:3.12-slim-bookworm@sha256:abcdef1234567890 AS production\n# This ensures the exact same base image is used every time\n```\n\n### Step 6: Validate Hardening with Automated Scanning\n\n```bash\n# Scan hardened image with Trivy\ntrivy image --severity HIGH,CRITICAL hardened-app:latest\n\n# Check CIS Docker Benchmark compliance\ndocker run --rm -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock \\\n  aquasec\u002Fdocker-bench-security\n\n# Verify no root processes\ndocker run --rm hardened-app:latest whoami\n# Expected: appuser (NOT root)\n\n# Verify read-only filesystem\ndocker run --rm hardened-app:latest touch \u002Ftest 2>&1\n# Expected: Read-only file system error\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Multi-Stage Build | Docker build technique using multiple FROM stages to separate build and runtime, reducing final image size |\n| Distroless | Google-maintained minimal container images containing only the application and runtime dependencies |\n| Non-Root User | Running container processes as unprivileged user to limit impact of container escape exploits |\n| Read-Only Root | Mounting the container root filesystem as read-only to prevent runtime modification |\n| Image Digest | SHA256 hash uniquely identifying an exact image version, more precise than mutable tags |\n| Scratch Image | Empty Docker base image used for statically compiled binaries requiring no OS |\n| Security Context | Kubernetes pod\u002Fcontainer-level security settings controlling privileges, filesystem, and capabilities |\n\n## Tools & Systems\n\n- **Docker BuildKit**: Advanced Docker build engine supporting multi-stage builds and build secrets\n- **Distroless Images**: Google's minimal container base images (static, base, java, python, nodejs)\n- **docker-bench-security**: Script checking CIS Docker Benchmark compliance\n- **Trivy**: Container image vulnerability and misconfiguration scanner\n- **Hadolint**: Dockerfile linter enforcing best practices\n\n## Common Scenarios\n\n### Scenario: Reducing a 1.2GB Python Image to Under 150MB\n\n**Context**: A data science team uses `python:3.12` as base image (1.2GB) with scientific computing packages. The image has 200+ known CVEs from unnecessary system packages.\n\n**Approach**:\n1. Switch to `python:3.12-slim-bookworm` as base (150MB) and install only required system libraries\n2. Use multi-stage build: compile C extensions in builder stage, copy wheels to production\n3. Pin numpy, pandas, and scipy to pre-built wheels to avoid build dependencies in production\n4. Remove pip, setuptools, and wheel from the final image\n5. Create non-root user and set filesystem permissions\n6. Validate with Trivy: expect CVE count to drop from 200+ to under 20\n\n**Pitfalls**: Some Python packages require shared libraries at runtime (libgomp, libstdc++). Test the application thoroughly after removing system packages. Alpine-based images use musl libc which can cause compatibility issues with numpy and pandas.\n\n## Output Format\n\n```\nContainer Image Hardening Report\n==================================\nImage: app:hardened\nBase: python:3.12-slim-bookworm\nDate: 2026-02-23\n\nSIZE COMPARISON:\n  Before hardening: 1,247 MB (python:3.12)\n  After hardening:  143 MB  (python:3.12-slim + multi-stage)\n  Reduction: 88.5%\n\nSECURITY CHECKS:\n  [PASS] Non-root user configured (appuser:1000)\n  [PASS] HEALTHCHECK instruction present\n  [PASS] No setuid\u002Fsetgid binaries found\n  [PASS] Package manager removed\n  [PASS] Base image pinned by digest\n  [PASS] No shell access (\u002Fbin\u002Fsh removed)\n  [WARN] \u002Ftmp writable (emptyDir mounted)\n\nVULNERABILITY COMPARISON:\n  Before: 234 CVEs (12 Critical, 45 High)\n  After:  18 CVEs (0 Critical, 3 High)\n  Reduction: 92.3%\n```\n","# Performing Container Image Hardening\n\n## When to Use\n\n- When building production container images that need minimal attack surface\n- When compliance requires CIS Docker Benchmark adherence for container configurations\n- When reducing image size to minimize vulnerability exposure from unused packages\n- When implementing defense-in-depth for containerized workloads\n- When migrating from fat base images to distroless or minimal images\n\n**Do not use** for runtime container security monitoring (use Falco), for host-level Docker daemon hardening (use CIS Docker Benchmark host checks), or for container orchestration security (use Kubernetes security scanning).\n\n## Prerequisites\n\n- Docker or BuildKit for multi-stage builds\n- Base image options: distroless, Alpine, slim, or scratch\n- Container scanning tool (Trivy) for validation\n- CIS Docker Benchmark reference\n\n## Workflow\n\n### Step 1: Use Multi-Stage Builds to Minimize Image Size\n\n```dockerfile\n# Build stage with all dependencies\nFROM python:3.12-bookworm AS builder\nWORKDIR \u002Fbuild\nCOPY requirements.txt .\nRUN pip install --no-cache-dir --prefix=\u002Finstall -r requirements.txt\nCOPY src\u002F .\u002Fsrc\u002F\nRUN python -m compileall src\u002F\n\n# Production stage with minimal base\nFROM python:3.12-slim-bookworm AS production\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends libpq5 && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* && \\\n    apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false\n\nCOPY --from=builder \u002Finstall \u002Fusr\u002Flocal\nCOPY --from=builder \u002Fbuild\u002Fsrc \u002Fapp\u002Fsrc\n\nRUN groupadd -r appuser && useradd -r -g appuser -d \u002Fapp -s \u002Fsbin\u002Fnologin appuser\nRUN chown -R appuser:appuser \u002Fapp\n\nUSER appuser\nWORKDIR \u002Fapp\n\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\\n  CMD python -c \"import urllib.request; urllib.request.urlopen('http:\u002F\u002Flocalhost:8080\u002Fhealth')\" || exit 1\n\nEXPOSE 8080\nENTRYPOINT [\"python\", \"-m\", \"src.main\"]\n```\n\n### Step 2: Use Distroless Base Images\n\n```dockerfile\n# Go application with distroless\nFROM golang:1.22 AS builder\nWORKDIR \u002Fapp\nCOPY go.* .\u002F\nRUN go mod download\nCOPY . .\nRUN CGO_ENABLED=0 GOOS=linux go build -ldflags=\"-w -s\" -o \u002Fserver .\n\nFROM gcr.io\u002Fdistroless\u002Fstatic-debian12:nonroot\nCOPY --from=builder \u002Fserver \u002Fserver\nUSER nonroot:nonroot\nENTRYPOINT [\"\u002Fserver\"]\n```\n\n### Step 3: Remove Unnecessary Components\n\n```dockerfile\n# Hardened image checklist\nFROM ubuntu:24.04 AS base\n\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends \\\n      ca-certificates \\\n      libssl3 && \\\n    # Remove package manager to prevent runtime package installation\n    apt-get purge -y --auto-remove apt dpkg && \\\n    rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F* \\\n           \u002Fvar\u002Fcache\u002Fapt\u002F* \\\n           \u002Ftmp\u002F* \\\n           \u002Fvar\u002Ftmp\u002F* \\\n           \u002Fusr\u002Fshare\u002Fdoc\u002F* \\\n           \u002Fusr\u002Fshare\u002Fman\u002F* \\\n           \u002Fusr\u002Fshare\u002Finfo\u002F* \\\n           \u002Froot\u002F.cache\n\n# Remove shells if not needed\nRUN rm -f \u002Fbin\u002Fsh \u002Fbin\u002Fbash \u002Fusr\u002Fbin\u002Fsh 2>\u002Fdev\u002Fnull || true\n\n# Remove setuid\u002Fsetgid binaries\nRUN find \u002F -perm \u002F6000 -type f -exec chmod a-s {} + 2>\u002Fdev\u002Fnull || true\n```\n\n### Step 4: Configure Read-Only Filesystem\n\n```yaml\n# Kubernetes deployment with read-only root filesystem\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: hardened-app\nspec:\n  template:\n    spec:\n      securityContext:\n        runAsNonRoot: true\n        runAsUser: 65534\n        fsGroup: 65534\n        seccompProfile:\n          type: RuntimeDefault\n      containers:\n        - name: app\n          image: app:hardened\n          securityContext:\n            allowPrivilegeEscalation: false\n            readOnlyRootFilesystem: true\n            capabilities:\n              drop: [\"ALL\"]\n          volumeMounts:\n            - name: tmp\n              mountPath: \u002Ftmp\n            - name: cache\n              mountPath: \u002Fapp\u002Fcache\n      volumes:\n        - name: tmp\n          emptyDir:\n            sizeLimit: 100Mi\n        - name: cache\n          emptyDir:\n            sizeLimit: 50Mi\n```\n\n### Step 5: Pin Base Image by Digest\n\n```dockerfile\n# Pin to exact image digest for reproducibility\nFROM python:3.12-slim-bookworm@sha256:abcdef1234567890 AS production\n# This ensures the exact same base image is used every time\n```\n\n### Step 6: Validate Hardening with Automated Scanning\n\n```bash\n# Scan hardened image with Trivy\ntrivy image --severity HIGH,CRITICAL hardened-app:latest\n\n# Check CIS Docker Benchmark compliance\ndocker run --rm -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock \\\n  aquasec\u002Fdocker-bench-security\n\n# Verify no root processes\ndocker run --rm hardened-app:latest whoami\n# Expected: appuser (NOT root)\n\n# Verify read-only filesystem\ndocker run --rm hardened-app:latest touch \u002Ftest 2>&1\n# Expected: Read-only file system error\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Multi-Stage Build | Docker build technique using multiple FROM stages to separate build and runtime, reducing final image size |\n| Distroless | Google-maintained minimal container images containing only the application and runtime dependencies |\n| Non-Root User | Running container processes as unprivileged user to limit impact of container escape exploits |\n| Read-Only Root | Mounting the container root filesystem as read-only to prevent runtime modification |\n| Image Digest | SHA256 hash uniquely identifying an exact image version, more precise than mutable tags |\n| Scratch Image | Empty Docker base image used for statically compiled binaries requiring no OS |\n| Security Context | Kubernetes pod\u002Fcontainer-level security settings controlling privileges, filesystem, and capabilities |\n\n## Tools & Systems\n\n- **Docker BuildKit**: Advanced Docker build engine supporting multi-stage builds and build secrets\n- **Distroless Images**: Google's minimal container base images (static, base, java, python, nodejs)\n- **docker-bench-security**: Script checking CIS Docker Benchmark compliance\n- **Trivy**: Container image vulnerability and misconfiguration scanner\n- **Hadolint**: Dockerfile linter enforcing best practices\n\n## Common Scenarios\n\n### Scenario: Reducing a 1.2GB Python Image to Under 150MB\n\n**Context**: A data science team uses `python:3.12` as base image (1.2GB) with scientific computing packages. The image has 200+ known CVEs from unnecessary system packages.\n\n**Approach**:\n1. Switch to `python:3.12-slim-bookworm` as base (150MB) and install only required system libraries\n2. Use multi-stage build: compile C extensions in builder stage, copy wheels to production\n3. Pin numpy, pandas, and scipy to pre-built wheels to avoid build dependencies in production\n4. Remove pip, setuptools, and wheel from the final image\n5. Create non-root user and set filesystem permissions\n6. Validate with Trivy: expect CVE count to drop from 200+ to under 20\n\n**Pitfalls**: Some Python packages require shared libraries at runtime (libgomp, libstdc++). Test the application thoroughly after removing system packages. Alpine-based images use musl libc which can cause compatibility issues with numpy and pandas.\n\n## Output Format\n\n```\nContainer Image Hardening Report\n==================================\nImage: app:hardened\nBase: python:3.12-slim-bookworm\nDate: 2026-02-23\n\nSIZE COMPARISON:\n  Before hardening: 1,247 MB (python:3.12)\n  After hardening:  143 MB  (python:3.12-slim + multi-stage)\n  Reduction: 88.5%\n\nSECURITY CHECKS:\n  [PASS] Non-root user configured (appuser:1000)\n  [PASS] HEALTHCHECK instruction present\n  [PASS] No setuid\u002Fsetgid binaries found\n  [PASS] Package manager removed\n  [PASS] Base image pinned by digest\n  [PASS] No shell access (\u002Fbin\u002Fsh removed)\n  [WARN] \u002Ftmp writable (emptyDir mounted)\n\nVULNERABILITY COMPARISON:\n  Before: 234 CVEs (12 Critical, 45 High)\n  After:  18 CVEs (0 Critical, 3 High)\n  Reduction: 92.3%\n```\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"subdomain":26,"description":35},[26,27,28,29,30,31],"devsecops","cicd","container-hardening","docker","cis-benchmark","secure-sdlc","mahipal","cybersecurity","1.0.0","This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.\n","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill performing-container-image-hardening",{"tool":48,"command":49},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill performing-container-image-hardening",{"tool":51,"command":52},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill performing-container-image-hardening","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002FSKILL.md",true,[56,62,66,72,76,80,86],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"assets\u002Ftemplate.md","ASSET","资产文件",1391,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002Fassets\u002Ftemplate.md",{"path":63,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fapi-reference.md","REFERENCE","参考文档",5250,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002Freferences\u002Fapi-reference.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fstandards.md",953,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002Freferences\u002Fstandards.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fworkflows.md",1827,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002Freferences\u002Fworkflows.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",11579,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002Fscripts\u002Fagent.py",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fprocess.py",7102,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-container-image-hardening\u002Fscripts\u002Fprocess.py",[91,99,106,113,120,127],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":20},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]