prompt-engineering

Guide prompt engineering techniques for Claude, Gemini, and Grok.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/duyet/skills --skill prompt-engineering-duyet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineering
Source: https://github.com/duyet/skills/tree/main/prompt-engineering
Command: npx skills add https://github.com/duyet/skills --skill prompt-engineering-duyet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance to craft effective prompts tailored for different AI models, ensuring you leverage their unique capabilities for optimal results.

Core Features & Use Cases

  • Model-Specific Strategies: Learn prompt structures and best practices for Claude (XML), Gemini (System Instructions), and Grok (Conversational).
  • Advanced Techniques: Explore Chain-of-Thought, ReAct, Tree of Thoughts, and more for complex reasoning.
  • Use Case: You need to generate marketing copy. This Skill helps you choose the right model (e.g., Grok for witty copy) and craft a prompt that elicits creative, on-brand output.

Quick Start

Use the prompt-engineering skill to get examples of how to write prompts for Claude.

Frequently Asked Questions about prompt-engineering

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

FAQPage Schema
How do I write effective AI prompts for Claude, Gemini, and Grok?

To write effective AI prompts for Claude, Gemini, and Grok, use model-specific strategies like XML tags for Claude, System Instructions for Gemini, and conversational tones for Grok to elicit optimal outputs.

What is the best way to structure prompts for complex reasoning tasks?

The best way to structure prompts for complex reasoning is using advanced techniques like Chain-of-Thought, ReAct, and Tree of Thoughts to guide large language models through structured logical steps.

How does prompt engineering differ when using multimodal inputs?

Prompt engineering for multimodal inputs requires adapting prompt structures to handle diverse data formats, ensuring effective communication with AI agents by detailing model capabilities and best practices for structured output.

What are common prompt anti-patterns to avoid with large language models?

Common prompt anti-patterns to avoid with large language models include poorly structured requests that ignore model-specific syntax, leading to suboptimal outputs and ineffective communication with AI agents.

Can I use Chain-of-Thought prompting with any AI model?

Chain-of-Thought prompting can be applied across large language models like Claude, Gemini, and Grok, though implementation details and syntax may vary based on specific model capabilities and features.

When should I use specific prompt structures for generating marketing copy?

Use specific prompt structures for marketing copy when leveraging model strengths, such as choosing Grok for witty copy and crafting prompts that elicit creative, on-brand output from large language models.