Fix your vibe coding prompts before they reach the AI. Scores and rewrites across 4 dimensions — no API key, no server, just npx.
Two tools with basic schemas and descriptions, but significant gaps in parameter documentation, output schema clarity, and error handling. optimize_prompt has a reasonable description (127 chars), but score_prompt is minimal (95 chars). Neither tool documents return structure or error cases. Parameters lack depth: 'mode' enum is present but 'projectRoot' has no guidance on format or when to use it. No error recovery guidance. Tool composition is reasonable (single responsibility), but output handling is opaque, both return text blobs rather than structured objects. Missing: per-parameter descriptions for all inputs, documented output schemas, error classification, and recovery hints.
Optimizes a raw prompt by applying efficiency, clarity, specificity, and completeness rules. Returns optimized text, score breakdown, tokens saved, and cost savings.
Scores a raw prompt across 4 dimensions (clarity, specificity, completeness, efficiency) and returns a breakdown with individual rule violations.
Output schemas not documented. Both tools return text blobs wrapped in content arrays, but LLMs cannot infer structure of optimize_prompt's 'optimized text, score breakdown, tokens saved, cost savings' or score_prompt's JSON. Agents cannot reliably extract and chain results.
score_prompt description is too brief (95 chars, below 120-char baseline). Does not explain when to use it vs optimize_prompt, what the 4 dimensions mean, or how to interpret the score. LLMs cannot distinguish between the two tools.
Parameter 'projectRoot' lacks description. No guidance on format (absolute vs relative path?), when it's needed, or what 'contextual rewriting' means. LLMs will guess or omit it.
No error handling or recovery guidance. If optimize_prompt fails on malformed input or score_prompt encounters an edge case, tools return no actionable error message. LLMs cannot self-correct.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
score_prompt returns raw JSON as text string, not structured output. LLMs must parse JSON from text, risking extraction errors. Should return typed object with clarity, specificity, completeness, efficiency fields.