Agent skill · AI & Agents

ai-prompt-engineer

AI engineering skill for prompt optimization, context inference, and intelligent command routing across different models and use cases

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ai-prompt-engineer --agent claude-code

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

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

# AI Prompt Engineer An AI engineering skill focused on optimizing prompts, improving context collection, and intelligently routing requests across different models, purposes, and layers of the agent loop. ## Purpose This skill addresses the core challenge: **users shouldn't need to over-provide information**. Caro should infer context intelligently and serve users with minimal friction. This skill guides the systematic improvement of: 1. **Query Understanding** - Categorize and understand user intent from minimal input 2. **Context Inference** - Extract maximum signal from available cues (file types, platform, cwd, history) 3. **Tool Routing** - Map inferred context to appropriate tools and commands 4. **Prompt Optimization** - Craft prompts tailored to specific models and use cases ## When to Use This Skill Invoke this skill when working on: - Analyzing user query patterns to improve command generation - Optimizing prompts for different model sizes (SmolLM, larger models) - Building context inference logic that reduces user input requirements - Creating file-type-to-tool mappings for intelligent recommendations - Improving platform-aware command routing - Designing prompt templat

What's inside
Steps it walks through
  1. Purpose
  2. When to Use This Skill
  3. Core Concepts
  4. Query Taxonomy
  5. Context Inference Hierarchy
  6. The File Type Principle
  7. Workflow
  8. Phase 1: Analyze Query Pattern
  9. Phase 2: Gather Context Signals
  10. Phase 3: Map to Tool/Command Space
  11. Phase 4: Optimize Prompt
  12. Phase 5: Evaluate & Iterate
  13. Reference Materials
  14. Integration Points
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the ai-prompt-engineer skill do?

AI engineering skill for prompt optimization, context inference, and intelligent command routing across different models and use cases

How do I install it?

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