Skip to content
mcp/skillhub

Agent Skill

Prompt Engineer skill

prompt-engineerJeffallan/claude-skillsskills/prompt-engineer/SKILL.md

Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot learning, creating system prompts with personas and guardrails, building JSON/function-calling schemas, or developing prompt evaluation frameworks to measure and improve model performance.

12kMIT

always on

93 tokname + description

once used

1,011 tokSKILL.md body

bundled files

6101 KB

repo stars

12kGitHub

Install the Prompt Engineer skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/Jeffallan/claude-skills --skill prompt-engineer

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/Jeffallan/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -R /tmp/claude-skills/skills/prompt-engineer ~/.claude/skills/prompt-engineer

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description93 tok
When the agent uses itThe SKILL.md instructions1,011 tok
Only if opened6 bundled files (101 KB)varies

Until it is used, prompt-engineer costs about 15× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 67 skills from Jeffallan/claude-skills would load 5,798 tokens of descriptions. Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Prompt Engineer
  • When to Use This Skill
  • Core Workflow
  • Reference Guide
  • Prompt Examples
  • Zero-shot vs. Few-shot
  • Before/After Optimization
  • Constraints
  • MUST DO
  • MUST NOT DO
  • Output Templates
  • Coverage Note

More skills from Jeffallan/claude-skills

All skills in this repo
  1. angular-architectJeffallan/claude-skills

    Generates Angular 17+ standalone components, configures advanced routing with lazy loading and guards, implements NgRx state management, applies RxJS patterns, and optimizes bundle performance. Use when building Angular 17+ applications with standalone components or signals, setting up NgRx stores, establishing RxJS reactive patterns, performance tuning, or writing Angular tests for enterprise apps.

    12k76 tok idle · 1,197 in use
  2. api-designerJeffallan/claude-skills

    Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.

    12k39 tok idle · 1,730 in use
  3. architecture-designerJeffallan/claude-skills

    Use when designing new high-level system architecture, reviewing existing designs, or making architectural decisions. Invoke to create architecture diagrams, write Architecture Decision Records (ADRs), evaluate technology trade-offs, design component interactions, and plan for scalability. Use for system design, architecture review, microservices structuring, ADR authoring, scalability planning, and infrastructure pattern selection — distinct from code-level design patterns or database-only design tasks.

    12k87 tok idle · 778 in use
  4. atlassian-mcpJeffallan/claude-skills

    Integrates with Atlassian products to manage project tracking and documentation via MCP protocol. Use when querying Jira issues with JQL filters, creating and updating tickets with custom fields, searching or editing Confluence pages with CQL, managing sprints and backlogs, setting up MCP server authentication, syncing documentation, or debugging Atlassian API integrations.

    12k75 tok idle · 1,054 in use
  5. chaos-engineerJeffallan/claude-skills

    Designs chaos experiments, creates failure injection frameworks, and facilitates game day exercises for distributed systems — producing runbooks, experiment manifests, rollback procedures, and post-mortem templates. Use when designing chaos experiments, implementing failure injection frameworks, or conducting game day exercises. Invoke for chaos experiments, resilience testing, blast radius control, game days, antifragile systems, fault injection, Chaos Monkey, Litmus Chaos.

    12k87 tok idle · 1,418 in use
  6. cli-developerJeffallan/claude-skills

    Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.

    12k65 tok idle · 979 in use
  7. cloud-architectJeffallan/claude-skills

    Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost optimization, disaster recovery, landing zones, security architecture, serverless design.

    12k70 tok idle · 1,643 in use
  8. code-documenterJeffallan/claude-skills

    Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides. Use when adding docstrings to functions or classes, creating API documentation, building documentation sites, or writing tutorials and user guides. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, getting started guides.

    12k79 tok idle · 1,191 in use