CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

prompt-optimizer

Analyze draft prompts, detect intent and missing context, match ECC commands, skills, and agents, and output a ready-to-paste optimized prompt with diagnosis and rationale — advisory only, never executes the task. Use when the user says 'optimize prompt', 'improve my prompt', 'rewrite this prompt', 'help me prompt', 优化prompt, 改进prompt, 怎么写prompt, or 帮我优化这个指令; not for requests to optimize code or performance.

Quality

91%

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

SKILL.md
Quality
Evals
Security

Quality

Content

77%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 highly actionable and clearly sequenced, with an exact output format and strong worked examples that leave no ambiguity about what to produce. Its weakness is bulk: large ECC catalog tables and long examples are inlined in SKILL.md rather than split into reference files, and parts of the detection guidance restate what Claude can infer.

Suggestions

Move the Phase 3 ECC component-matching tables (by intent and by tech stack) into a references/ file (e.g. references/component-mapping.md), keeping only a summary and a one-level-deep pointer in SKILL.md — this improves both progressive disclosure and token cost per invocation.

Trim Phase 0's exhaustive file-to-tech-stack mapping list to the non-obvious cases (or move it to the reference file), trusting Claude to recognize common stack markers like package.json and Cargo.toml on its own.

Reduce the three worked examples to one full example plus one condensed example (or move the remaining examples to references/examples.md) — the pattern is established after the first full demonstration.

DimensionReasoningScore

Conciseness

At ~388 lines the body is mostly operational tables rather than padded prose (no explaining of concepts Claude already knows), but several sections could be tightened or trimmed — e.g., the Phase 0 file-to-stack detection list ('package.json → Node.js', 'Makefile → C/C++') largely restates what Claude can infer, and the three full example optimized prompts run ~100 lines combined. This sits at 'mostly efficient but includes some unnecessary explanation or could be tightened' (3) rather than the 'minor instances' of score 4.

3 / 5

Actionability

Guidance is fully executable for an instruction-only skill: a numbered 6-phase pipeline, concrete classification tables (intent signal words, scope heuristics, component mappings), a checkbox checklist for missing context, an exact output format with per-intent quick patterns, and three complete worked examples showing the actual optimized prompt output. This matches the copy-paste-ready, common-cases-covered score-5 anchor.

5 / 5

Workflow Clarity

The pipeline is explicitly sequenced (Phase 0-5) with clear handoffs (tech stack from Phase 0 feeds Phase 3/4), an explicit clarification gate ('If 3+ critical items are missing, ask up to 3 clarification questions'), a checklist for Phase 4, and a guardrail path for the 'just do it' refusal case. These feedback loops and checklists match the score-5 anchor; the skill is advisory (non-destructive), so the destructive-operation cap does not apply.

5 / 5

Progressive Disclosure

There are no bundle files at all (no references/, scripts/, assets/), and the body inlines large lookup catalogs that clearly belong in separate reference files — the two Phase 3 ECC component-matching tables, the tech-stack skills/agents table, and the quick-pattern table together span ~80 lines. Section structure is good, but the score-3 anchor ('content that should be separate is inline') fits better than score 4, since no detail is offloaded to navigable one-level-deep references.

3 / 5

Total

16

/

20

Passed

Description

100%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 is exemplary: comprehensive third-person capability listing, bilingual natural trigger phrases with synonyms, an explicit Use-when clause, and an explicit negative boundary distinguishing it from code-optimization tasks. Every rubric dimension lands on the top anchor.

DimensionReasoningScore

Specificity

The description enumerates multiple concrete actions — 'Analyze draft prompts, detect intent and missing context, match ECC commands, skills, and agents, and output a ready-to-paste optimized prompt with diagnosis and rationale' — plus the explicit behavioral constraint 'advisory only, never executes the task'. Coverage is comprehensive and phrased in third person, matching the score-5 anchor; nothing above exists and score 4's 'minor gaps in coverage' does not apply.

5 / 5

Completeness

Both 'what' (the full analyze → detect → match → output pipeline with diagnosis and rationale) and 'when' (explicit 'Use when the user says...' clause with concrete trigger phrases) are clearly stated, with an additional 'not for' boundary clause. This directly matches the score-5 anchor; the missing-when cap of 3 does not apply.

5 / 5

Trigger Term Quality

Natural trigger phrases are covered in both English ('optimize prompt', 'improve my prompt', 'rewrite this prompt', 'help me prompt') and Chinese synonyms (优化prompt, 改进prompt, 怎么写prompt, 帮我优化这个指令), matching real user phrasing. This exceeds the score-4 anchor ('a few natural terms missing') and matches the comprehensive-synonyms pattern of the score-5 anchor.

5 / 5

Distinctiveness Conflict Risk

The niche is distinct (prompt optimization, not execution) and the explicit negative trigger 'not for requests to optimize code or performance' prevents the most likely mis-trigger against refactoring/performance skills. Clear niche with distinct triggers and minimal conflict risk matches the score-5 anchor; score 4's 'minor overlap risk with closely related skills' is not warranted given the boundary clause.

5 / 5

Total

20

/

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

affaan-m/ECC

Path

skills/prompt-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.