Agent skill

Prompt Engineer

by majiayu000 in majiayu000/claude-skill-registry

Expert in designing, optimizing, and evaluating prompts for Large Language Models.

MITAuto-check passedAI & LLM Engineering

Install Prompt Engineer

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill prompt-engineer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry prompt-engineer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-llm/prompt-engineer-skill .claude/skills/prompt-engineer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
prompt-engineer
GitHub stars
666
Used in
1 other repo
Token cost
~794 tokens
SKILL.md length
289 words
Files
2
Skills in repo
1,273
Repo updated
First seen
Licence
MIT

At a glance

Expert in designing, optimizing, and evaluating prompts for Large Language Models.

  • Works in 3 steps: Prompt Design → Chain-of-Thought Implementation → Prompt Optimization
  • Crafting prompts
  • SKILL.md covers Purpose, When to Use, Quick Start and Decision Framework, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Prompt Engineer is an agent skill from majiayu000/claude-skill-registry. Expert in designing, optimizing, and evaluating prompts for Large Language Models. Specializes in Chain-of-Thought, ReAct, few-shot learning, and production prompt management. Use when crafting prompts, optimizing LLM outputs, or building prompt systems. Triggers include "prompt engineering", "prompt optimization", "chain of thought", "few-shot", "prompt template", "LLM prompting".

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in AI & LLM Engineering, covering Prompt engineering. It works with React. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • Crafting prompts
  • Optimizing LLM outputs
  • Building prompt systems
  • Include prompt engineering

Example prompts

  • “prompt engineering”
  • “prompt optimization”
  • “chain of thought”
  • “/prompt-engineer”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Prompt Design
  2. Chain-of-Thought Implementation
  3. Prompt Optimization

What it can do on your machine

Read from SKILL.md and the folder at commit 2d14a69. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prompt Engineer loads about 794 tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 289 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~794

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from majiayu000/claude-skill-registry at commit 2d14a69, republished under its MIT licence (© majiayu000). 289 words, ~794 tokens.

Download SKILL.mdSave it as .claude/skills/prompt-engineer/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
prompt-engineer
description
Expert in designing, optimizing, and evaluating prompts for Large Language Models. Specializes in Chain-of-Thought, ReAct, few-shot learning, and production prompt management. Use when crafting prompts, optimizing LLM outputs, or building prompt systems. Triggers include "prompt engineering", "prompt optimization", "chain of thought", "few-shot", "prompt template", "LLM prompting".

Prompt Engineer

Purpose

Provides expertise in designing, optimizing, and evaluating prompts for Large Language Models. Specializes in prompting techniques like Chain-of-Thought, ReAct, and few-shot learning, as well as production prompt management and evaluation.

When to Use

  • Designing prompts for LLM applications
  • Optimizing prompt performance
  • Implementing Chain-of-Thought reasoning
  • Creating few-shot examples
  • Building prompt templates
  • Evaluating prompt effectiveness
  • Managing prompts in production
  • Reducing hallucinations through prompting

Quick Start

Invoke this skill when:

  • Crafting prompts for LLM applications
  • Optimizing existing prompts
  • Implementing advanced prompting techniques
  • Building prompt management systems
  • Evaluating prompt quality

Do NOT invoke when:

  • LLM system architecture → use /llm-architect
  • RAG implementation → use /ai-engineer
  • NLP model training → use /nlp-engineer
  • Agent performance monitoring → use /performance-monitor

Decision Framework

Prompting Technique?
├── Reasoning Tasks
│   ├── Step-by-step → Chain-of-Thought
│   └── Tool use → ReAct
├── Classification/Extraction
│   ├── Clear categories → Zero-shot + examples
│   └── Complex → Few-shot with edge cases
├── Generation
│   └── Structured output → JSON mode + schema
└── Consistency
    └── System prompt + temperature tuning

Core Workflows

1. Prompt Design
  1. Define task clearly
  2. Choose prompting technique
  3. Write system prompt with context
  4. Add examples if few-shot
  5. Specify output format
  6. Test with diverse inputs
2. Chain-of-Thought Implementation
  1. Identify reasoning requirements
  2. Add "Let's think step by step" or equivalent
  3. Provide reasoning examples
  4. Structure expected reasoning steps
  5. Test reasoning quality
  6. Iterate on step guidance
3. Prompt Optimization
  1. Establish baseline metrics
  2. Identify failure patterns
  3. Adjust instructions for clarity
  4. Add/modify examples
  5. Tune output constraints
  6. Measure improvement

Best Practices

  • Be specific and explicit in instructions
  • Use structured output formats (JSON, XML)
  • Include examples for complex tasks
  • Test with edge cases and adversarial inputs
  • Version control prompts
  • Measure and track prompt performance

Anti-Patterns

Anti-PatternProblemCorrect Approach
Vague instructionsInconsistent outputBe specific and explicit
No examplesPoor performance on complex tasksAdd few-shot examples
Unstructured outputHard to parseSpecify format clearly
No testingUnknown failure modesTest diverse inputs
Prompt in codeHard to iterateSeparate prompt management

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/ai-llm/prompt-engineer-skill of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 2d14a69

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Prompt Engineer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Prompt Engineer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prompt Engineer this skillmajiayu000/claude-skill-registry6661 repos~794Automated safety check: PassMIT
Canvas TemplatesPostHog/code179—~2.2kAutomated safety check: PassMIT
Thought Based ReasoningNeoLabHQ/context-engineering-kit1.7k1 repos~5.5kAutomated safety check: PassGPL-3.0
Building Agent Systemstelagod/code-abyss243—~691Automated safety check: PassMIT
Prompt Engineering Patternslamm-mit/scienceclaw244—~522Automated safety check: PassApache-2.0
Dspymagnus919/agent-skills113—~2kAutomated safety check: PassMIT

Similar skills

  • Canvas Templates

    PostHog/code

    Official

    How PostHog "canvas" dashboards work end-to-end — the two rendering tiers (json-render vs freeform React-in-iframe), the agent system prompts that steer each, and the RIGHT way to fetch PostHog data…

    179 GitHub stars~2.2k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • Thought Based Reasoning

    NeoLabHQ/context-engineering-kit

    A skill your agent uses when tackling complex reasoning tasks requiring step-by-step logic, multi-step arithmetic, commonsense reasoning, symbolic manipulation, or problems where simple prompting…

    1.7k GitHub starsUsed in 1 repo~5.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Building Agent Systems

    telagod/code-abyss

    AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt…

    243 GitHub stars~691 tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • Prompt Engineering Patterns

    lamm-mit/scienceclaw

    Generate optimized LLM prompts using chain-of-thought, ReAct, and other scientific reasoning patterns

    244 GitHub stars~522 tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Dspy

    magnus919/agent-skills

    Optimize and build programmatic prompt systems with Stanford DSPy.

    113 GitHub stars~2k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Prompt Improver

    severity1/claude-code-prompt-improver

    This skill enriches vague prompts with targeted research and clarification before execution.

    1.9k GitHub starsUsed in 2 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed

More from majiayu000/claude-skill-registry

All 1,273 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Pyzotero

    majiayu000/claude-skill-registry

    Interact with Zotero reference management libraries using the pyzotero Python client.

    666 GitHub starsUsed in 5 repos~1.6k tokens
    Auto-check: notes
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed

Works with

Questions about Prompt Engineer

What does Prompt Engineer do?

Expert in designing, optimizing, and evaluating prompts for Large Language Models. Prompt Engineer is an agent skill from majiayu000/claude-skill-registry. Expert in designing, optimizing, and evaluating prompts for Large Language Models.

When should I use Prompt Engineer?

Prompt Engineer fits situations like: crafting prompts; optimizing LLM outputs; building prompt systems; include prompt engineering.

How do I install Prompt Engineer in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill prompt-engineer -a claude-code`. Or copy the skill folder (skills/ai-llm/prompt-engineer-skill in majiayu000/claude-skill-registry) into .claude/skills/prompt-engineer in your project. Claude Code loads it when a task matches its description.

How do I install Prompt Engineer in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill prompt-engineer -a codex`. Or copy the skill folder (skills/ai-llm/prompt-engineer-skill in majiayu000/claude-skill-registry) into .agents/skills/prompt-engineer in your project. Codex loads it when a task matches its description.

Can I use Prompt Engineer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill prompt-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prompt-engineer, .gemini/skills/prompt-engineer, .github/skills/prompt-engineer and .opencode/skills/prompt-engineer in your project.

What does Prompt Engineer need to run?

SKILL.md names no scripts, command-line tools or credentials: Prompt Engineer is instructions for the agent only.

Does Prompt Engineer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Prompt Engineer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Prompt Engineer use?

Prompt Engineer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prompt Engineer use?

About 794 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prompt Engineer?

Skills that share tags, products or a category with Prompt Engineer: Canvas Templates (PostHog/code, 179 stars), Thought Based Reasoning (NeoLabHQ/context-engineering-kit, 1.7k stars), Building Agent Systems (telagod/code-abyss, 243 stars) and Prompt Engineering Patterns (lamm-mit/scienceclaw, 244 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prompt Engineer?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 1,273 skills in this directory. The repository was last updated on October 7, 2026.

Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.