Skip to content

Structured guide to prompt engineering techniques for reliable, controllable LLM output across agents, subagents, commands, and hooks.

CCM score
46 of 100
skills.sh installs
1.6K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers few-shot examples, chain-of-thought reasoning, iterative prompt optimization, reusable templates, and system prompt design
  • Includes progressive disclosure, instruction hierarchy, error recovery, RAG and validation integration, and token and latency tuning
  • Adds a context-window primer and Anthropic-sourced agent prompting principles, with common pitfalls such as over-engineering and example pollution
  • Designed for developers writing production prompt templates, sub-agent instructions, or LLM-backed commands and hooks

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill prompt-engineering -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Prompt Engineering Patterns

Advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.

Core Capabilities

1. Few-Shot Learning

Teach the model by showing examples instead of explaining rules. Include 2-5 input-output pairs that demonstrate the desired behavior. Use when you need consistent formatting, specific reasoning patterns, or handling of edge cases. More examples improve accuracy but consume tokens—balance based on task complexity.

Example:

Extract key information from support tickets:

Input: "My login doesn't work and I keep getting error 403"
Output: {"issue": "authentication", "error_code": "403", "priority": "high"}

Input: "Feature request: add dark mode to settings"
Output: {"issue": "feature_request", "error_code": null, "priority": "low"}

Now process: "Can't upload files larger than 10MB, getting timeout"

2. Chain-of-Thought Prompting

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
AI Agents & LLM Apps, Skill & Plugin Building
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 62

Similar to Prompt Engineering

More AI Agents & LLM Apps