/antigravity-awesome-skills:prompt-engineering-patternsfrom antigravity-awesome-skills
Applies advanced prompt engineering techniques including few-shot learning, chain-of-thought, prompt optimization, and system prompt design for production LLM applications.
Ships in antigravity-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.
resources/implementation-playbook.md.from prompt_optimizer import PromptTemplate, FewShotSelector
# Define a structured prompt template
template = PromptTemplate(
system="You are an expert SQL developer. Generate efficient, secure SQL queries.",
instruction="Convert the following natural language query to SQL:\n{query}",
few_shot_examples=True,
output_format="SQL code block with explanatory comments"
)
# Configure few-shot learning
selector = FewShotSelector(
examples_db="sql_examples.jsonl",
selection_strategy="semantic_similarity",
max_examples=3
)
# Generate optimized prompt
prompt = template.render(
query="Find all users who registered in the last 30 days",
examples=selector.select(query="user registration date filter")
)
Start with simple prompts, add complexity only when needed:
Level 1: Direct instruction
Level 2: Add constraints
Level 3: Add reasoning
Level 4: Add examples
[System Context] → [Task Instruction] → [Examples] → [Input Data] → [Output Format]
Build prompts that gracefully handle failures:
# Combine retrieved context with prompt engineering
prompt = f"""Given the following context:
{retrieved_context}
{few_shot_examples}
Question: {user_question}
Provide a detailed answer based solely on the context above. If the context doesn't contain enough information, explicitly state what's missing."""
# Add self-verification step
prompt = f"""{main_task_prompt}
After generating your response, verify it meets these criteria:
1. Answers the question directly
2. Uses only information from provided context
3. Cites specific sources
4. Acknowledges any uncertainty
If verification fails, revise your response."""
Track these KPIs for your prompts:
assets/few-shot-examples.json (opens in a new tab)assets/prompt-template-library.md (opens in a new tab)references/chain-of-thought.md (opens in a new tab)references/few-shot-learning.md (opens in a new tab)references/prompt-optimization.md (opens in a new tab)references/prompt-templates.md (opens in a new tab)references/system-prompts.md (opens in a new tab)scripts/optimize-prompt.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (bennercas/antigravity-awesome-skills) — no native marketplace selected
npx claudepluginhub p/bennercas-antigravity-awesome-skills1,423 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantArquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español./10-andruia-skill-smithIngeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.22 plugins in 12 repositories ship this exact skill · first indexed Jun 3, 2026
Showing 6 of 22 plugins, one per repository first
Other plugins' skills for the same job