prompt-engineer

Engineer and optimize prompts for Claude, GPT, and Gemini models.

3|1|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/iButters/ClaudeCodePlugins --skill prompt-engineer-ibutters
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineer
Source: https://github.com/iButters/ClaudeCodePlugins/tree/main/plugins/llm-prompt-optimizer/skills/prompt-engineer
Command: npx skills add https://github.com/iButters/ClaudeCodePlugins --skill prompt-engineer-ibutters

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Comprehensive prompt engineering guidance across Claude Opus/Sonnet/Haiku, GPT, Gemini. Patterns, workflows, model selection, and optimization techniques.

Core Features & Use Cases

  • Techniques: XML tags, role prompting, multishot, chain-of-thought, prompt chaining
  • Model guides for Claude, GPT, Gemini
  • Migration and optimization workflows
  • Reference materials: model comparison, best practices, optimization!

Quick Start

Create a new prompt, optimize an existing one, or migrate prompts between models; use the model references to pick the best approach.

Frequently Asked Questions about prompt-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize prompts for different LLMs like Claude and GPT?

Prompt optimization across LLMs involves applying core techniques—XML tags, role prompting, clear instructions, multishot examples, and chain-of-thought reasoning—tailored to each model's strengths. Use model-specific guides to select the best approach for Claude Opus, Sonnet, Haiku, GPT, or Gemini, then refine based on output quality and task requirements.

What's the best way to migrate a prompt between different models?

Prompt migration requires understanding each model's capabilities and constraints. Start with your original prompt, apply model-specific optimization techniques from the reference materials, test outputs across target models, and adjust for performance differences. Use the comparison guides to identify which model best fits your task before finalizing.

When should I use prompt chaining versus chain-of-thought reasoning?

Chain-of-thought reasoning breaks down complex reasoning within a single prompt to improve accuracy on logical tasks. Prompt chaining sequences multiple prompts where output from one feeds into the next, useful for multi-step workflows. Choose chaining for decomposed workflows and chain-of-thought for enhanced reasoning within one interaction.

Can I use XML tags with all LLM models?

XML tags are a core prompt engineering technique supported across Claude, GPT, and Gemini models. They structure input and guide model behavior effectively. Check the model-specific reference guides to confirm syntax and best practices for your target model, as formatting conventions may vary slightly.

How do I choose between Claude, GPT, and Gemini for my task?

Model selection depends on task requirements, latency, cost, and capability fit. Use the model comparison reference material to evaluate Claude Opus, Sonnet, Haiku, GPT 5.1, and Gemini Pro 3.0 across dimensions relevant to your use case. Test with multishot examples and optimization techniques to validate performance before committing to one model.

Why isn't my prompt performing well across models?

Inconsistent performance often stems from model-specific differences in instruction interpretation, context handling, or capability gaps. Troubleshoot by reviewing the optimization checklist, applying role prompting and structured formatting techniques, and testing with shorter or clearer instructions. Compare outputs across models to identify which technique adjustments improve results.