Skip to content
Back to skills

Prompt Engineering Few Shot Selection Extr

ASecurity

Choose and order examples covering edge cases so the model generalizes instead of copying surface patterns.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add aniruddhaadak80/skills --skill prompt-engineering-few-shot-selection-extr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Engineering Few Shot Selection Extr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Engineering Few Shot Selection Extr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aniruddhaadak80-prompt-engineering-few-shot-selection-extr/badge)](https://www.skillsdirectory.com/skills/aniruddhaadak80-prompt-engineering-few-shot-selection-extr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prompt-engineering-few-shot-selection-extr
description: "Choose and order examples covering edge cases so the model generalizes instead of copying surface patterns."
---
# Select few-shot examples that move accuracy (Extraction tasks)

> Choose and order examples covering edge cases so the model generalizes instead of copying surface patterns.

**Track:** 🤖 AI Engineering · **Domain:** Prompt Engineering · **Level:** intermediate · **~30 min**

**Who this is for:** AI Engineers, ML Engineers, LLM App Developers, Agent Builders

## When to Use This Skill

Choose and order examples covering edge cases so the model generalizes instead of copying surface patterns.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.

## Steps

1. Cover each output field's edge cases once: empty, unicode, long input, ambiguity
2. Order examples easy-to-hard so difficulty ramps within context
3. Match example format byte-for-byte to the required output format
4. Prefer real production samples over invented ones
5. Rotate in failure cases you fixed, turning regressions into teachers
6. Measure: remove one example at a time, drop any whose removal costs nothing
7. Show null handling for missing fields explicitly
8. Demonstrate normalization: dates, currencies, units

## Common Pitfalls

- Six near-identical easy examples teaching style but not judgment
- Whitespace mismatches between examples and instructions

## Commands

**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill prompt-engineering-few-shot-selection-extr
```

**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill prompt-engineering-few-shot-selection-extr -g
```

---

Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…