EN

A tool to refine AI prompts for better output quality and consistency.

Install

mkdir -p .claude/skills/enhance-prompts && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3996" && unzip -o skill.zip -d .claude/skills/enhance-prompts && rm skill.zip

Installs to .claude/skills/enhance-prompts

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when improving general prompts for structure, examples, and constraints.
76 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Analyze prompt clarity and structure
  • →Inject XML tags for context management
  • →Implement few-shot examples
  • →Apply auto-fixes for high-certainty issues
  • →Optimize prompt token usage

How it works

The skill uses a JavaScript-based analyzer to evaluate prompt files against detection patterns for clarity, structure, and anti-patterns. It provides a structured report and can optionally apply automated fixes for identified issues.

Inputs & outputs

You give it
Prompt file path
You get back
Analysis report or fixed prompt file

When to use enhance-prompts

  • →Refine ambiguous prompts
  • →Add constraints to prompts
  • →Include few-shot examples in prompts
  • →Structure prompt instructions

About enhance-prompts

Analyzes existing prompts and injects necessary structure, constraints, and examples to improve prompt clarity and response accuracy.

Use when improving general prompts for structure, examples, and constraints.

When not to use it

  • →Tasks unrelated to prompt engineering
  • →Agent files requiring YAML frontmatter management

Prerequisites

Node.js

Limitations

  • →Auto-fixes are limited to high-certainty issues only
  • →Requires specific file path input for analysis

How it compares

It uses AST-based validation and specific detection patterns to provide objective quality metrics rather than relying on subjective manual review.

Compared to similar skills

enhance-prompts side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
enhance-prompts (this skill)18moReviewIntermediate
prompt-optimizer439moNo flagsBeginner
prompt-optimize131yNo flagsAdvanced
ai-cost-optimizer98moCautionIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

prompt-optimizer

solatis

Optimize system prompts for Claude Code agents using proven prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.

43147

prompt-optimize

YYH211

Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue. Activates when user asks to "optimize prompt", "improve system instruction", "enhance AI instruction", or mentions prompt engineering tasks.

13113

ai-cost-optimizer

ScientiaCapital

Save 40-70% on AI costs with intelligent multi-LLM routing. Automatically selects the optimal model based on task complexity across 40+ models from 8 providers.

990

prompt-library

davila7

Curated collection of high-quality prompts for various use cases. Includes role-based prompts, task-specific templates, and prompt refinement techniques. Use when user needs prompt templates, role-play prompts, or ready-to-use prompt examples for coding, writing, analysis, or creative tasks.

1169

context-compression

muratcankoylan

This skill should be used when the user asks to "compress context", "summarize conversation history", "implement compaction", "reduce token usage", or mentions context compression, structured summarization, tokens-per-task optimization, or long-running agent sessions exceeding context limits.

1350

prompt-lookup

f

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.

738

Search skills

Search the agent skills registry