CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dockerfile-optimizer

The guide covers multi-stage builds, base-image selection, layer caching, image-size reduction, security hardening, health checks, and Docker Compose and CI/CD examples. It includes language-specific Dockerfile examples, debugging commands, and a checklist for reviewing optimized images.

Quality

78%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/dockerfile-optimizer/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable reference with excellent copy-paste-ready examples covering the common stacks, but it is a ~630-line monolith that duplicates well-known Docker best practices across redundant sections. Splitting per-language templates and CI/CD material into reference files and cutting the recap sections would substantially improve it.

Suggestions

Remove the 'Best Practices' and 'Common Optimizations' recap sections, which restate guidance already covered earlier in the body and Docker fundamentals Claude already knows (COPY vs ADD, combining RUN, apt cleanup).

Move the four full per-language Dockerfile templates (Node.js, Next.js, Python, Go) into references/ files (e.g., references/templates/node.md) and keep one representative example plus short per-language pointers in SKILL.md.

Replace the scattered pinned versions (node:20.11.0-alpine3.19, golang:1.22-alpine) with a brief pinning-strategy note, or collect current versions in one clearly maintained section so the skill does not silently age.

DimensionReasoningScore

Conciseness

At ~630 lines the body restates Docker fundamentals Claude already knows (COPY vs ADD, combining RUN, apt cleanup, non-root users) and duplicates coverage across "Image Size Reduction", "Common Optimizations", and the "Best Practices" recap, with two near-identical Node/Next.js templates. Time-sensitive pinned versions (node:20.11.0-alpine3.19, golang:1.22-alpine) are also scattered rather than isolated in a maintained section.

2 / 5

Actionability

Everything is complete and copy-paste ready: four full multi-stage Dockerfiles covering the common stacks (Node, Next.js, Python, Go), a base-image size table, health-check variants without curl, a .dockerignore template, and executable debugging commands (docker history, dive, --progress=plain).

5 / 5

Workflow Clarity

The 6-step Core Workflow is clearly sequenced (analyze → multi-stage → caching → size → security → health checks) and the Output Checklist provides a final verification checkpoint, but there are no intermediate validation steps or error-recovery loops such as rebuilding/verifying after changes or comparing image size before and after.

4 / 5

Progressive Disclosure

Sections are well-organized with clear headers and a good/bad contrast pattern, but the skill is a single monolithic file — the four per-language templates, CI/CD workflow, and docker-compose config are inline content that clearly belongs in separate reference files, and no references exist at all.

3 / 5

Total

14

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that states capability and triggers in third person with concrete quoted phrases, explicitly covering both what and when. Minor improvements are possible through additional trigger synonyms and narrowing the broad "containerize application" trigger.

DimensionReasoningScore

Specificity

The description enumerates concrete outcomes — "smaller images, faster builds, better caching, and security hardening" — plus a concrete method ("multi-stage builds"), matching the several-specific-actions anchor with minor gaps (no mention of health checks, .dockerignore, or debugging that the body covers).

4 / 5

Completeness

It explicitly answers both what ("Optimizes Dockerfiles for smaller images, faster builds, better caching, and security hardening") and when ("Use when users request 'optimize Dockerfile'...") with concrete trigger phrases, matching the anchor-5 example structure exactly.

5 / 5

Trigger Term Quality

Four natural quoted trigger phrases ("optimize Dockerfile", "reduce Docker image size", "Docker best practices", "containerize application") give good keyword coverage, but common variations such as "make the image smaller", "docker build is slow", or "multi-stage build" are missing.

4 / 5

Distinctiveness Conflict Risk

Dockerfile optimization is a clear niche with distinct triggers, but "containerize application" and "Docker best practices" are broad enough to overlap with general Docker or container-scaffolding skills — minor overlap risk rather than minimal.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (632 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/dockerfile-optimizer/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.