# prompt-engineering

prompt-engineering — a skill that lays out prompt structure for text models, image generators and video models, with examples you can run through the belt CLI.

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

## What it does

The skill covers how to build prompts for three kinds of models: text, image and video. LLM sections walk through role assignment, task wording, constraints and output format, then move on to step-by-step reasoning, few-shot examples and system messages. A separate part handles pulling structured JSON out of a text by a given schema.

Image prompts get ordered by subject, style, composition, lighting and technical terms, with a negative prompt passed as its own field. Video prompts add shot type, camera movement and temporal markers. Advanced material shows a prompt growing over several passes, from a plain subject to a styled and technically specified scene.

Every example runs through the inference.sh CLI `belt`: `belt app run openrouter/`, `falai/flux-dev`, `google/veo-3-1-fast`. The skill's `allowed-tools: Bash(belt *)` keeps the agent inside that one command. Install the CLI with `npx skills add belt-sh/cli` and sign in with `belt login`, otherwise the calls go nowhere and only the prompt advice is left.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install 101-skills/superpowers guides/prompting/prompt-engineering
```

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini skills install https://github.com/101-skills/superpowers --path guides/prompting/prompt-engineering
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill 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/101-skills/superpowers/tree/HEAD/guides/prompting/prompt-engineering/SKILL.md

## When to use it
- turn a vague request into a prompt with a clear task and output format
- make a model return JSON that matches a schema
- write a negative prompt that drops watermarks and extra limbs
- describe a camera move for a short video shot
- add few-shot examples so the output style holds

## Example prompts
- Rewrite this prompt for a code review task with a role, constraints and an output format.
- Draft a negative prompt for a headshot on `falai/flux-dev` and say which words to cut.
- Check my `google/veo-3-1-fast` prompt and add a camera move.

## Similar
- [prompt-engineering-patterns](https://affpapa.org/en/nevibecode/skills/prompt-engineering-patterns.md) — skill · 23418 installs
- [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
- [arize-prompts](https://affpapa.org/en/nevibecode/skills/arize-prompts.md) — skill · 2500 installs
- [toon-format](https://affpapa.org/en/nevibecode/skills/toon-format.md) — skill · 1300 installs
- [context-engineering-advisor](https://affpapa.org/en/nevibecode/skills/context-engineering-advisor.md) — skill · 2800 installs
- [prompt-engineering-guidance](https://affpapa.org/en/nevibecode/skills/prompt-engineering-guidance.md) — skill · 237 installs

## Other versions with the same name
- [prompt-engineering · neolabhq](https://affpapa.org/en/nevibecode/skills/neolabhq-prompt-engineering.md) — 1500 installs
- [prompt-engineering · giuseppe-trisciuoglio](https://affpapa.org/en/nevibecode/skills/giuseppe-trisciuoglio-prompt-engineering.md) — 4200 installs
- [prompt-engineering · spencerpauly](https://affpapa.org/en/nevibecode/skills/spencerpauly-prompt-engineering.md) — 456 installs
- [prompt-engineering · martinholovsky](https://affpapa.org/en/nevibecode/skills/martinholovsky-prompt-engineering.md) — 228 installs
- [prompt-engineering · oakoss](https://affpapa.org/en/nevibecode/skills/oakoss-prompt-engineering.md) — 135 installs

From the same set: [101-skills/superpowers](https://affpapa.org/en/nevibecode/by/101-skills/superpowers.md) — 81 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
