# meta-prompt-engineering

The meta-prompt-engineering skill turns unclear prompts into structured instructions with a defined role, task steps, constraints, and quality checks. Use it when an agent’s responses vary between runs.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 114 installs · ★ 203 repo stars
- Author: lyndonkl
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lyndonkl/claude/tree/HEAD/skills/meta-prompt-engineering/SKILL.md
- Updated: 2026-09-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/meta-prompt-engineering

## What it does

The skill examines a prompt for gaps, then helps define the AI’s role, the goal, and the expected response format. It breaks complicated work into steps and makes limits on length, tone, and content explicit. Supporting materials include `resources/template.md` and `resources/methodology.md`.

Prompts can include self-check criteria and safeguards for known failure patterns. The workflow then tests the prompt across several runs and uses `resources/evaluators/rubric_meta_prompt_engineering.json` to guide revisions. Repeated testing is part of the process; it does not promise identical responses.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/meta-prompt-engineering/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/meta-prompt-engineering/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/meta-prompt-engineering/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/meta-prompt-engineering/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install lyndonkl/claude skills/meta-prompt-engineering
```

2. **Manually: put the files in place**
- File: `.github/skills/meta-prompt-engineering/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/lyndonkl/claude --path skills/meta-prompt-engineering
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/meta-prompt-engineering/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add lyndonkl/claude --skill meta-prompt-engineering -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/lyndonkl/claude/tree/HEAD/skills/meta-prompt-engineering/SKILL.md

## When to use it
- turn a vague request into structured agent instructions
- split a complex task into ordered steps
- set response format and content limits
- add checks for recurring prompt failures

## Example prompts
- Rewrite this prompt with a clear role, task steps, and response format.
- Find why this prompt gives inconsistent results and suggest constraints to test.
- Draft a multi-step prompt with criteria for checking the final answer.

## Similar
- [Senior AI & Data Engineering Meta-Prompt Generator](https://affpapa.org/en/nevibecode/prompts/senior-ai-data-engineering-meta-prompt-generator.md) — prompt · ★ 178201 repo stars
- [meta-prompt](https://affpapa.org/en/nevibecode/skills/meta-prompt.md) — skill · 736 installs
- [context-engineering-advisor](https://affpapa.org/en/nevibecode/skills/context-engineering-advisor.md) — skill · 2800 installs
- [prompt-engineering](https://affpapa.org/en/nevibecode/skills/neolabhq-prompt-engineering.md) — skill · 1500 installs
- [prompt-engineering-guidance](https://affpapa.org/en/nevibecode/skills/prompt-engineering-guidance.md) — skill · 237 installs
- [prompt-engineering-instructor](https://affpapa.org/en/nevibecode/skills/prompt-engineering-instructor.md) — skill · 198 installs

From the same set: [lyndonkl/claude](https://affpapa.org/en/nevibecode/by/lyndonkl/claude.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
