Agent skill · Data & Analytics

prompt-engineer

Expert prompt engineering for building AI agents via Claude, GPT, and Gemini APIs. Triggers when: writing or editing system prompts, tool descriptions, agent instructions, function calling schemas, tool response design, context engineering, agentic system design, or discussing prompt quality for any LLM API. Also triggers on: prompt optimization, tool-use accuracy, cross-provider compatibility, or prompt review. Examples: 'improve the system prompt', 'write a tool description', 'the agent keeps calling the wrong tool', 'make this work on Gemini too', 'the tool returns too much data', 'design t

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill prompt-engineer-shaharsha-prompt-engineer-skil --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 24 KB
Bundled scripts: none
Path: skills/ai-llm/prompt-engineer-shaharsha-prompt-engineer-skil/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Guides an agent to craft and refine prompts, system prompts, tool descriptions, and agent instructions for multiple LLM APIs (Claude, GPT, Gemini). Triggers when editing prompts, tool descriptions, or discussing prompt quality; also covers prompt optimization, tool-use accuracy, cross-provider compatibility, and prompt reviews.

How it works

Outlines a step-by-step process for editing prompts: read the existing prompt, identify necessary improvements, draft the minimal change, re-read for contradictions, and test on the target provider. For new prompts, start minimal (role + constraints + examples + output format), test, then iteratively add instructions only if failures are observed. Requires checking for contradictions and clarity before submission to ensure unambiguous follow-through by colleagues.

General best practices include: structure prompts with explicit roles and XML-like sections, include 3-5 diverse few-shot examples wrapped in <example> with <input> and <output>, define a clear output format with concrete examples, and use positive framing about actions to take. Emphasizes context engineering, phased task decomposition, and agentic system considerations (subagents, state management, and controlled autonomy). Tool descriptions should be detailed (3-4 sentences minimum for full models) and cover what the tool does, when to use it, when not to use it, parameters, return value, and caveats. Encourages patterns like decision-tree routing, explicit alternatives, and explicit safety constraints.

It provides guidance on how to structure and optimize cross-provider tool descriptions, and highlights response design principles to return high-signal information and concise results, with explicit absence notes and error handling.

When to use it

Triggered when prompts or tool descriptions are being written or edited, when agent instructions or function calling schemas are being designed, or when discussing prompt quality for any LLM API; also applicable for prompt optimization and cross-provider compatibility discussions.

What it can touch

Not applicable in this summary because the content focuses on procedural guidelines rather than specific tools or scripts in this excerpt. The skill emphasizes using standardized prompt structures, tool descriptions, and workflow for testing across Claude, GPT, and Gemini.

Caveats

Contains guidance and best practices but does not guarantee outcomes; results depend on provider behavior and prompt execution. No explicit licensing or risk disclosures beyond standard constraints for prompt engineering guidance.

From the SKILL.md

# Prompt Engineering for AI Agent APIs Guidelines for writing system prompts, tool descriptions, and agent instructions for building AI agents via the Claude, GPT, and Gemini APIs. ## Process When editing an existing prompt, follow this order: 1. **Read** the full existing prompt. Understand its intent, structure, and target provider. 2. **Identify** the specific failure mode or improvement needed. Don't rewrite what isn't broken. 3. **Draft** the minimal change that addresses the issue, following the guidelines below. 4. **Re-read** the full prompt after editing to check for contradictions or broken flow. 5. **Test** the prompt on the target provider with representative inputs. For new prompts: start minimal (role + constraints + examples + output format), test, then add instructions only when you observe failure modes. Before submitting any prompt edit: check for contradictions (if two rules conflict, the model picks arbitrarily — remove one), and verify clarity (could a colleague with no context follow this prompt unambiguously?). ## A. Universal Best Practices These apply to all three providers and cover ~70% of prompt engineering work. ### System Prompt Structure - **Set a cle

What's inside
Steps it walks through
  1. Process
  2. A. Universal Best Practices
  3. System Prompt Structure
  4. Few-Shot Examples
  5. Output Format
  6. Context Engineering
  7. Task Decomposition
  8. Agentic Systems
  9. B. Tool Descriptions
  10. Minimum Requirements
  11. Architecture
  12. Provider-Specific Tool Guidance
  13. Effective Patterns from Production Systems
  14. Input Examples
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the prompt-engineer skill do?

Expert prompt engineering for building AI agents via Claude, GPT, and Gemini APIs. Triggers when: writing or editing system prompts, tool descriptions, agent instructions, function calling schemas, tool response design, context engineering, agentic system design, or discussing prompt quality for any LLM API. Also triggers on: prompt optimization, tool-use accuracy, cross-provider compatibility, or prompt review. Examples: 'improve the system prompt', 'write a tool description', 'the agent keeps calling the wrong tool', 'make this work on Gemini too', 'the tool returns too much data', 'design t

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill prompt-engineer-shaharsha-prompt-engineer-skil --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going