Agent skill · Code Review & Quality

enhancing-prompts

Analyze prompt quality, classify task type, and enhance with optimized templates while preserving original intent. Provides transparent feedback showing what was enhanced and why.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill enhancing-prompts --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/ai-llm/enhancing-prompts/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Enhancing Prompts <objective> Analyze prompt quality, classify task type, and enhance with optimized templates while preserving original intent. Provides transparent feedback showing what was enhanced and why. </objective> <inputs> - `prompt`: The user's original prompt to analyze and enhance - `--analyze-only`: (optional) Show analysis without enhancement - `--task-type <type>`: (optional) Force a specific task type </inputs> <workflow> ## Phase 1: Analysis Analyze the prompt for components using the PTCF framework (Persona + Task + Context + Format). ### Component Detection | Component | Patterns | Weight | |-----------|----------|--------| | **Persona** | `^(act as\|you are\|as a\|pretend\|imagine you're)` | 2 | | **Task** | Action verbs: `(create\|review\|analyze\|fix\|summarize\|write\|debug\|refactor\|optimize\|draft\|investigate\|compare)` | 3 (required) | | **Context** | `@\w+`, file paths (`\.ts\|\.js\|\.py\|\.md`), "given that", "based on", "from the", "in the" | 3 | | **Format** | `(as bullets\|in JSON\|formatted as\|limit to\|with examples\|step by step\|list\|table)` | 2 | ### Quality Score Calculation ``` score = 0 if has_task_verb: score += 3 if has_context: score

What's inside
Steps it walks through
  1. Phase 1: Analysis
  2. Component Detection
  3. Quality Score Calculation
  4. Gap Identification
  5. Phase 2: Classification
  6. Classification Rules (priority order)
  7. Classification Algorithm
  8. Phase 3: Enhancement
  9. Template Loading
  10. Merge Algorithm
  11. Phase 4: Output
  12. Output Structure
  13. Status Icons
  14. Feedback-Driven Refinement Loop
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the enhancing-prompts skill do?

Analyze prompt quality, classify task type, and enhance with optimized templates while preserving original intent. Provides transparent feedback showing what was enhanced and why.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill enhancing-prompts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going