CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

leaked-secrets

Use when reviewing client-side JavaScript, HTML source, or git history for exposed credentials, API keys, or tokens.

Quality

66%

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 ./skills/leaked-secrets/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%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 a well-structured overview with good progressive disclosure into a single verified reference file, and its detection guidance is concrete. Its main weaknesses are a generic boilerplate Code Review section and the absence of explicit validation checkpoints around destructive remediation steps.

Suggestions

Replace the generic Code Review section with skill-specific review guidance (e.g., what to inspect in built JS bundles or window.__INITIAL_STATE__), or drop it in favor of the reference file.

Add explicit validation checkpoints after destructive steps — e.g., confirm old credentials are revoked, verify the secret no longer appears in the rebuilt bundle, re-scan git history after cleanup.

Inline one copy-paste-ready remediation example (a minimal server-side API proxy route) or a concrete scanner invocation so the Fix section is fully executable.

DimensionReasoningScore

Conciseness

The Quick Reference, Check, and Fix sections are lean and skill-specific, but the generic "Code Review" boilerplate ("Review server config, headers, forms, and integration points... Flag exact responses, cookies, or browser behaviors") and the impact-motivation intro add noticeable padding. It is not 4 because the generic sections go beyond minor trimming, and not 2 because the core content is tight rather than padded throughout.

3 / 5

Actionability

Concrete guidance is present: secret patterns ("sk_, pk_, AIza, ghp_, AKIA"), an executable command ("git log -S 'keyword'"), named tools (GitLeaks, TruffleHog, GitHub Secret Scanning), and the Next.js `NEXT_PUBLIC_` rule. It is not 5 because "Replace client-exposed credentials with server-side API proxies" is high-level with no example in the body, and not 3 because what is given is executable rather than pseudocode.

4 / 5

Workflow Clarity

The Check → Fix → prevent sequence is implicit in section order, but validation is only the vague "verify them against the effective production-like response" with no checkpoints for destructive steps like credential rotation — the rubric's cap for missing validation applies. It is not 4 because there is no explicit verify step after fixing, and not 2 because the sections are coherent and logically ordered.

3 / 5

Progressive Disclosure

The ~47-line body is organized into clear sections and closes with a single well-signaled, one-level-deep reference ("see references/rule.md", verified to exist) holding the code examples and framework detail. This matches the anchor for a clear overview with appropriately split content, and the simple-skill allowance for a short, well-organized body.

5 / 5

Total

15

/

20

Passed

Description

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

The description has a strong, specific trigger clause but omits any explicit statement of what the skill does, capping completeness at the 'when-only' anchor. Trigger terms are good, though natural synonyms like "secrets" and "leaked" are missing.

Suggestions

Add an explicit capability statement before the trigger clause, e.g., "Scans client-side JavaScript, HTML source, and git history for leaked secrets and guides rotation and remediation."

Include natural synonyms users would say — "secrets", "leaked keys", ".env files committed to git" — to broaden trigger coverage.

Mention follow-up actions (credential rotation, server-side proxying) so the 'what' covers the full scope of the skill.

DimensionReasoningScore

Specificity

"reviewing client-side JavaScript, HTML source, or git history for exposed credentials, API keys, or tokens" names the domains and one concrete action, but lists no other actions (scanning, rotating, remediating), matching the 'names domain and 1-2 concrete actions, but not comprehensive' anchor. It is not 4 because only a single action verb is present, and not 2 because the action is concrete rather than generic.

3 / 5

Completeness

The description is only a "when" clause ("Use when reviewing...") with no explicit "what" statement of the skill's capability, exactly matching the anchor 'only when is present without what'. It is not 3 because that anchor requires a clear 'what' with a weak 'when' — the reverse of this case — and not 1 because the 'when' clause itself is specific rather than vague.

2 / 5

Trigger Term Quality

Natural phrases like "client-side JavaScript", "HTML source", "git history", and "credentials, API keys, or tokens" give good keyword coverage. It falls short of 5 because common variations users would say — "secrets", "leaked", ".env files" — are absent.

4 / 5

Distinctiveness Conflict Risk

The credential-focused triggers ("exposed credentials, API keys, or tokens") carve a mostly distinct security niche. It is not 5 because "reviewing client-side JavaScript" could overlap with general code-review or security-review skills, and not 3 because the leaked-secret triggers are specific enough to avoid broad overlap.

4 / 5

Total

13

/

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

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

thedaviddias/Front-End-Checklist

Path

skills/leaked-secrets/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.