Agent skill · AI & Agents

ai-prompt

Use when optimizing prompts, skill descriptions, or agent instructions for clarity, specificity, and behavioral effectiveness.

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

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

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/ai-llm/ai-prompt/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

# Prompt ## Purpose Prompt optimization and creation. Improves prompts, skill descriptions, and agent instructions using proven techniques: explicit over implicit, examples over rules, structured formatting, and positive framing. Can auto-enhance prompts for other skills or manually optimize user-provided text. ## Trigger - Command: `/ai-prompt "<text>"` (optimize text) or `/ai-prompt --skill <name>` (optimize a skill's description) - Context: writing a new prompt, improving an existing skill's description, crafting agent instructions. ## When to Use - Writing or refining skill `description` fields (CSO optimization) - Crafting system prompts for AI integrations - Improving agent instruction clarity - Before publishing any prompt-based artifact ## Optimization Techniques Apply these in order of impact: ### 1. Be Explicit Over Implicit | Before | After | |--------|-------| | "Handle errors properly" | "Wrap database calls in try/except, log the exception with stack trace, return a structured error response with HTTP 500" | | "Follow best practices" | "Apply guard clauses for early return, extract methods over 20 lines, name variables by intent not type" | ### 2. Show, Do Not Tell Re

What's inside
Steps it walks through
  1. Purpose
  2. Trigger
  3. When to Use
  4. Optimization Techniques
  5. 1. Be Explicit Over Implicit
  6. 2. Show, Do Not Tell
  7. 3. Structure with XML Tags or Markdown
  8. 4. Explain WHY for Each Rule
  9. 5. Positive Framing
  10. 6. CSO Optimization (for skill descriptions)
  11. 7. Cialdini Principles (for discipline-enforcing skills)
  12. Procedure
  13. Optimizing text
  14. Optimizing a skill description
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the ai-prompt skill do?

Use when optimizing prompts, skill descriptions, or agent instructions for clarity, specificity, and behavioral effectiveness.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ai-prompt --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