Agent skill

prompt-engineering

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/prompt-engineering-skill

SKILL.md

Prompt Engineering SKILL

RAG Prompt Template

python
template = """
Use the following context to answer the question.
If you don't know, say "I don't know based on the provided context."

Context:
{context}

Question: {question}

Answer:
"""

Few-Shot Template

python
template = """
Context: {context}

Examples:
Q: What is X?
A: X is...

Q: {question}
A:
"""

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results