prompt-engineer

Define portable cross-provider prompts for AI agents across Claude, GPT, and Gemini APIs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prompt engineering for AI agents across Claude, GPT, and Gemini often suffers from brittle prompts that fail to generalize across providers. This Skill provides a portable, structured approach to writing system prompts, tool descriptions, and agent instructions that work consistently across leading LLM APIs.

Core Features & Use Cases

  • Cross-provider prompt structure using XML-like sections to separate role, constraints, examples, and output format.
  • Tool description patterns and templates that improve tool-use accuracy and maintainability.
  • Guidance on context engineering, subagent design, and testing prompts for reliability across providers.

Quick Start

Start by editing a minimal system prompt and a simple tool description using the XML structure, then test across Claude, GPT, and Gemini to validate consistency.

Frequently Asked Questions about prompt-engineer

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

FAQPage Schema
How do I write system prompts for AI agents that work across Claude, GPT, and Gemini?

To write cross-provider system prompts, use XML-like sections to separate role, constraints, examples, and output format. This portable structure ensures your AI agent instructions maintain consistency and performance across Claude, GPT, and Gemini APIs.

What is the best way to structure tool descriptions for LLM APIs?

The best way to structure tool descriptions for LLM APIs is to use standardized patterns and templates that separate function definitions from contextual guidance. This improves tool-use accuracy and maintainability across different AI providers.

Does prompt engineering for AI agents require different approaches for each provider?

Prompt engineering for AI agents does not require entirely different approaches for each provider. By applying context engineering and subagent design best practices, you can create reliable prompts that generalize across leading LLM APIs without becoming brittle.

How do I test prompts for reliability across multiple LLM providers?

To test prompts for reliability across multiple LLM providers, start by editing a minimal system prompt and a simple tool description using the XML structure, then validate consistency by running the same prompts against Claude, GPT, and Gemini APIs.

Why do my AI agent prompts fail to generalize across different LLM APIs?

AI agent prompts fail to generalize across different LLM APIs when they lack a portable, structured approach. Without using XML-like sections to separate components and applying context engineering, prompts become brittle and perform inconsistently across providers.