wshobson/agents

prompt-engineering-patterns

All-time #945 Trending #1990 First seen Jan 20, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/wshobson/agents

Summary

  • Advanced prompt engineering techniques for optimizing LLM performance, reliability, and structured outputs in production.
  • Covers six core capability areas: few-shot learning with dynamic example selection, chain-of-thought reasoning with self-consistency, structured outputs via JSON and Pydantic schemas, iterative prompt optimization, reusable template systems, and role-based system prompt design Includes practical patterns for semantic example selection, self-verification workflows, progressive disclosure, error recovery with fallbacks, and integration with RAG systems Provides token efficiency strategies, prompt caching for repeated prefixes, and performance monitoring metrics (accuracy, consistency, latency, success rate) Emphasizes testing on diverse inputs, versioning prompts as code, and avoiding common pitfalls like over-engineering, context overflow, and ambiguous instructions

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Apr 17, 2026

This skill is a comprehensive resource for prompt engineering, offering templates, guides, and an optimization script. It follows best practices for LLM interaction and contains no malicious code or security vulnerabilities.

snyk LOW

Analyzed Apr 17, 2026

No issues detected.

socket Score 0.9000 · 0 alerts

Analyzed Apr 17, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from wshobson/agents · top by installs.

npx skills add https://github.com/wshobson/agents

Browse all from wshobson/agents

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 39.5K
License LICENSE
Default branch main
Open issues 4
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 21,113 installs