CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

aif-dockerize

Analyze project and generate Docker configuration: Dockerfile (multi-stage dev/prod), compose.yml, compose.override.yml (dev), compose.production.yml (hardened), and .dockerignore. Includes production security audit. Use when user says "dockerize", "add docker", "docker compose", "containerize", or "setup docker".

Quality

83%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

70%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 well-engineered operational workflow with excellent sequencing, explicit validation checkpoints, and concrete detection/hardening guidance. Its two real defects are redundancy in the policy sections and a broken template layer: the SKILL.md repeatedly instructs reading `templates/*` files that are not present in the bundle, which undermines both navigation and executability of the core generation path.

Suggestions

Ship the `templates/` directory (dockerfile-go/node/python/php, compose-base/override-dev/production, dockerignore, and the six deploy scripts) or inline the essential template structure into the body — generate mode cannot currently execute Step 3 or Step 8 as written.

Deduplicate the repeated guidance: state the Angie-over-Nginx preference, skill-context precedence rules, and online version-verification procedure once and reference them, trimming roughly 40-60 lines from the preamble and Steps 0-4.

Normalize reference paths to one convention (e.g. `references/SECURITY-CHECKLIST.md` everywhere instead of mixing `skills/dockerize/references/...` in Step 3) so every referenced path resolves relative to the skill root.

DimensionReasoningScore

Conciseness

The body is mostly efficient — detection tables, Grep/Glob patterns, and checklists rather than concept explanations — but repetition is more than minor: skill-context precedence rules are stated twice (the "Shared project skill-context" section and again in Step 0), the prefer-Angie-over-Nginx guidance appears three times (Steps 1.3, 2.5, 4.2), online version verification is explained twice (4.1 and 4.2), and the security checklist is invoked in Steps 4, 5, and 7. This exceeds the 4 anchor's "minor instances of over-explanation" but does not reach the heavy padding of 2, since the bulk is actionable.

3 / 5

Actionability

Guidance is largely executable: exact Grep/Glob patterns per language, concrete hardening values ("tmpfs for /tmp with noexec,nosuid,size=100m", "user: '1001:1001'", "max-size: 20m, max-file: 5"), and version-pinning derivations ("go 1.24 → golang:1.24-alpine"). It misses the 5 anchor because the core generation step instructs reading `templates/dockerfile-<language>`, `templates/compose-base.yml`, and six `templates/*.sh` files that are absent from the bundle, and Step 2.3 delegates to "/aif-build-automation Step 2.2" — execution breaks at these points.

4 / 5

Workflow Clarity

The 9-step sequence is explicit, with a mode-routing table, deterministic mode-selection logic (Path A/B/C, `--audit` override), and validation checkpoints throughout: pre-write quality checks with "Remove anything that fails the over-engineering check before writing", skill-context enforcement ("verify it against all skill-context rules... fix the output before presenting it"), and Step 7's always-run checklist with "If any checks fail → offer to fix immediately". This matches the 5 anchor: clear sequence, explicit validation, and feedback loops for a file-writing workflow.

5 / 5

Progressive Disclosure

The nine existing references are well signaled one level deep with explicit read-conditions ("read when generating or auditing Angie HTTPS/ACME configuration"), but scored against the actual bundle the structure fails: Step 3 and Step 8 direct Claude to ~11 `templates/*` files (dockerfile-go/node/python/php, four compose templates, dockerignore, six deploy scripts) that do not exist anywhere in the bundle, and Step 3 mixes path conventions (`skills/dockerize/references/BEST-PRACTICES.md` vs. `references/...`). The missing templates are a structural failure the generate-mode workflow depends on, beyond the 4 anchor's "minor organization gaps", though the existing reference layer is too well organized for 2.

3 / 5

Total

15

/

20

Passed

Description

92%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: it names each output artifact with its purpose, states the security-audit capability, and gives an explicit trigger clause with natural user phrasings. The only weakness is slightly limited trigger synonym coverage (no "Dockerfile" or "containerization" as triggers).

DimensionReasoningScore

Specificity

The description enumerates every concrete artifact with its role — "Dockerfile (multi-stage dev/prod), compose.yml, compose.override.yml (dev), compose.production.yml (hardened), and .dockerignore. Includes production security audit" — comprehensive coverage of the skill's outputs. It exceeds the 4 anchor ("minor gaps in coverage") because each output file is individually named and characterized.

5 / 5

Completeness

Both questions are explicitly answered: what ("Analyze project and generate Docker configuration: Dockerfile... compose.yml... .dockerignore. Includes production security audit") and when ("Use when user says 'dockerize', 'add docker', ...") with concrete trigger phrases. This directly matches the 5 anchor's pattern of explicit what-and-when with concrete triggers.

5 / 5

Trigger Term Quality

"Use when user says 'dockerize', 'add docker', 'docker compose', 'containerize', or 'setup docker'" provides natural phrases users would actually say. It falls short of the 5 anchor because common variations like "Dockerfile", "containerization", or "docker deployment" are absent, though these are minor gaps rather than missing synonyms.

4 / 5

Distinctiveness Conflict Risk

Docker configuration generation is a clear niche with distinct triggers ("dockerize", "containerize", "docker compose") that no adjacent skill (build automation, docs) would naturally claim. Not 4: the trigger phrases are unambiguous for this niche and overlap risk is minimal.

5 / 5

Total

19

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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

Warning

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

13

/

16

Passed

Repository

lee-to/ai-factory

Path

skills/aif-dockerize/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.