CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

preview-environments-builder

The guide provides Vercel and Docker/Kubernetes deployment examples, along with patterns for environment naming, database seeding, and cleanup. It also lists practices and a checklist for preview URLs, approvals, resource limits, secrets, and automatic expiration.

Quality

85%

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

Scored by GLM 5.3

Content

68%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 content is lean and highly actionable, dominated by complete, executable GitHub Actions workflows with no filler. Its main weakness is workflow clarity: destructive cleanup and batch deletion steps lack any validation or error-recovery checkpoints, which the rubric caps at 3, and a few best-practices items are asserted without implementation.

Suggestions

Add validation around destructive cleanup: after the deletion loop and `kubectl delete namespace`, verify no `preview-*` deployments or namespaces remain (and fail the job if any do), so the batch cleanup has a feedback loop.

Confirm deployment success before commenting on the PR — e.g., check `steps.deploy.outcome == 'success'` or curl the preview URL — and remove the error-swallowing `|| true` on namespace creation or follow it with an existence check.

Make the unimplemented best practices concrete: show example TTL/resource-limit config (e.g., a scheduled cleanup job or Kubernetes ResourceQuota for the preview namespace) and either provide `k8s/preview.yml` or note that it must be created.

DimensionReasoningScore

Conciseness

The body is almost entirely executable YAML with no explanation of concepts Claude already knows, but the PR-comment script is duplicated across the two deployment variants and the `pr-${{ github.event.pull_request.number }}` blocks repeat heavily, so a 5 ("every token earns its place") is not quite met.

4 / 5

Actionability

The workflows are mostly copy-paste ready (pinned action versions, secrets wiring, concrete kubectl/psql commands), but `kubectl apply -f k8s/preview.yml` references a manifest never shown, and best-practices items like "Resource limits: Prevent abuse" and "TTL: Auto-delete after 7 days" give no implementation.

4 / 5

Workflow Clarity

The sequence is coherent (deploy on PR open → comment with URL; cleanup on close), but destructive batch operations ("Delete Vercel deployment" loop, "Cleanup Kubernetes namespace") run with no verification, `kubectl create namespace ... || true` swallows errors, and the PR comment fires without confirming deployment success — the rubric's destructive/batch cap of 3 applies.

3 / 5

Progressive Disclosure

Sections are clearly headed (Vercel, Docker, Cleanup, Naming, Seeding, Best Practices, Checklist) with no buried or nested references, and no bundle files exist to verify; however, at ~180 lines the alternate Docker/K8s path and database-seeding details are candidates for split-out reference files, so structure is good rather than optimally split.

4 / 5

Total

15

/

20

Passed

Description

95%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 states concrete capabilities in third person, gives an explicit "Use for" clause with four natural trigger synonyms, and occupies a distinct niche. The only minor weakness is slight redundancy between "creates... deployments" and "automatic deployment" rather than naming more distinct capabilities.

DimensionReasoningScore

Specificity

"Creates ephemeral preview deployments for each pull request", "automatic deployment, unique URLs, and cleanup on PR close" lists several concrete lifecycle actions, but "automatic deployment" partly restates the creation clause and adjacent capabilities (PR comments, database seeding) are not mentioned.

4 / 5

Completeness

Explicitly answers both what ("Creates ephemeral preview deployments... with automatic deployment, unique URLs, and cleanup on PR close") and when ("Use for...") with concrete trigger phrases, matching the top anchor exemplar.

5 / 5

Trigger Term Quality

"preview deployments", "PR environments", "ephemeral environments", or "review apps" covers four natural synonyms users would actually say, including the colloquial "review apps" — comprehensive synonym coverage.

5 / 5

Distinctiveness Conflict Risk

A clear niche (per-PR ephemeral environments) with distinct trigger phrases; only negligible overlap with generic deployment or CI/CD skills. Uses third-person voice ("Creates"), so no voice penalty applies.

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/preview-environments-builder/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.