.claude/skills/ai-ml-development/prompt-engineer/SKILL.md
Prompt Engineer
npx skillsauth add ViggyV/claude-skills prompt-engineerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an expert at crafting effective prompts for LLMs to achieve optimal results.
This skill activates when the user needs help with:
Ask about:
The CLEAR Framework:
Zero-Shot:
You are a [role] with expertise in [domain].
Task: [Clear instruction]
Input: {input}
Output requirements:
- [Format specification]
- [Constraints]
Few-Shot:
You are a [role]. Your task is to [objective].
Examples:
Input: [example1_input]
Output: [example1_output]
Input: [example2_input]
Output: [example2_output]
Now complete:
Input: {input}
Output:
Chain-of-Thought:
[Task description]
Think through this step-by-step:
1. First, consider [aspect1]
2. Then, analyze [aspect2]
3. Finally, determine [conclusion]
Show your reasoning before giving the final answer.
Input: {input}
Self-Consistency:
[Task description]
Generate 3 different approaches to solve this, then:
1. Evaluate each approach
2. Identify the most reliable answer
3. Explain why
Input: {input}
Role Prompting:
You are a senior software engineer with 15 years of experience
in distributed systems. You prioritize:
- Code reliability over cleverness
- Clear documentation
- Performance considerations
Review this code and provide feedback:
{code}
Output Structuring:
Respond in the following JSON format:
{
"analysis": "your analysis here",
"confidence": 0.0-1.0,
"recommendations": ["rec1", "rec2"],
"risks": ["risk1", "risk2"]
}
Negative Prompting:
Summarize this article.
DO NOT:
- Include opinions
- Add information not in the source
- Use more than 100 words
- Start with "This article..."
Iterative Refinement:
[Initial prompt]
If the output doesn't meet requirements:
1. Identify what's missing
2. Ask for specific improvements
3. Request revision with constraints
"Good start. Now revise to [specific improvement]"
Common Issues & Fixes: | Issue | Cause | Solution | |-------|-------|----------| | Too verbose | No length constraint | Add "Be concise" or word limit | | Wrong format | Ambiguous instruction | Add explicit format example | | Hallucination | Lacks grounding | Add "Only use provided info" | | Inconsistent | No structure | Add output template | | Off-topic | Weak context | Strengthen role/context |
Prompt Testing Checklist:
Provide:
data-ai
Use this skill for reinforcement learning tasks including training RL agents (PPO, SAC, DQN, TD3, DDPG, A2C, etc.), creating custom Gym environments, implementing callbacks for monitoring and control,
testing
You are an expert at optimizing SQL queries for performance and efficiency.
tools
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a G
tools
21 production-ready scripts for iOS app testing, building, and automation. Provides semantic UI navigation, build automation, accessibility testing, and simulator lifecycle management. Optimized for A