CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

generate-dockerfile

This skill generates a Dockerfile sketch and build/run notes when a user asks for a Dockerfile or container image definition. It emphasizes multi-stage builds, a non-root user, a minimal runtime image, keeping secrets out of the image, and configuring JVM flags appropriately.

Quality

65%

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 ./.cursor/skills/generate-dockerfile/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

53%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.

The body is appropriately brief and cleanly organized for a single-purpose skill, but it operates purely at the level of principles. A concrete Dockerfile skeleton with named base images and example JVM flags would transform it from a checklist into executable guidance.

Suggestions

Include a minimal multi-stage Dockerfile skeleton (e.g., Maven/build stage on a named JDK base image, runtime stage on a slim JRE image, USER non-root) so the guidance is copy-paste adaptable.

Give concrete examples of JVM flags passed as config (e.g., ENTRYPOINT ["java", "-XX:MaxRAMPercentage=75.0", "-jar", "app.jar"]) instead of the abstract 'flags as config' directive.

Add a verification step such as 'confirm the image builds with docker build and runs as the non-root user' to close the workflow validation gap.

DimensionReasoningScore

Conciseness

The body is lean, assumes Claude's competence, and explains nothing it already knows; only the redundant "**Role:**" and "Trigger:" lines (duplicating the frontmatter description) keep it just below the 'every token earns its place' anchor.

4 / 5

Actionability

"Multi-stage build; non-root user; minimal runtime image" and "JVM flags as config, not hard-coded" are high-level directives with no code, base-image names, example JVM flags, or commands — matching 'minimal concrete guidance; high-level hints but missing the specific steps to execute'.

2 / 5

Workflow Clarity

The numbered Method is a parallel constraint checklist rather than a sequence, and there is no validation step (e.g., verifying the sketch builds or that no secrets are baked in), matching 'steps listed but validation gaps'.

3 / 5

Progressive Disclosure

The skill is under 50 lines with no need for external references, and its sections are clear; minor duplication (Role line, restated title) keeps it just below the well-organized ideal for a simple skill.

4 / 5

Total

13

/

20

Passed

Description

62%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 concise, third-person description that clearly pairs a what with an explicit when-clause and is well-scoped to a niche. Its main weaknesses are thin trigger-term coverage (missing Docker/image variations) and a single-action capability statement.

Suggestions

Add trigger synonyms users naturally say, e.g. "Use when the user asks for a Dockerfile, wants to containerize a Spring Boot service, or build a container image".

Enumerate 1-2 more concrete capabilities, such as producing build/run instructions or hardening an existing Dockerfile, to lift specificity.

DimensionReasoningScore

Specificity

"Sketch a production-minded Dockerfile for an Orbit Spring Boot module" names the domain and a single concrete action, but lists no further capabilities (build, run, optimization), matching the '1-2 concrete actions, not comprehensive' anchor.

3 / 5

Completeness

Both parts are present: a clear what ("Sketch a production-minded Dockerfile...") and an explicit when ("Use when containerizing a service"), but the when-clause is terse and lacks the concrete multiple trigger phrases required for a 5.

4 / 5

Trigger Term Quality

"Dockerfile" and "containerizing" are natural terms, but common variations users would say — "Docker", "image", "docker build", "container image" — are absent, matching 'some relevant keywords but missing common variations or synonyms'.

3 / 5

Distinctiveness Conflict Risk

"Orbit Spring Boot module" and "Dockerfile" carve out a clear niche, though the broad "containerizing a service" phrasing leaves minor overlap risk with general container/CI skills, matching 'mostly distinct; minor overlap risk'.

4 / 5

Total

14

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

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

14

/

16

Passed

Repository

chandrakanthbalaraman/spring-boot-microservices

Path

.cursor/skills/generate-dockerfile/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.