# llm-prompting-guide

llm-prompting-guide is a Claude Code skill with prompt format rules for MiniMax H3 and MiniMax Music 3. Consult it when drafting prompts for these models in ComfyUI or other tools.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 173 repo stars
- Author: sammcj
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/sammcj/agentic-coding/tree/HEAD/Skills/llm-prompting-guide/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/llm-prompting-guide

## What it does

This skill documents labelled prompt formats for two generative models. MiniMax H3 accepts text, image, or video reference and outputs video with stereo audio; MiniMax Music 3 generates complete songs from a structured caption and tagged lyrics. Both models degrade significantly when prompt structure is guessed rather than followed exactly.

The skill includes mode tables for each model—T2VA, I2VA, FL2VA, L2VA, R2V for H3—and a full corpus of music styles and production terms supported by Music 3. Check the appropriate reference before writing any prompt, and verify that every genre term and production phrase is in the model's training corpus.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sammcj/agentic-coding --skill llm-prompting-guide -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sammcj/agentic-coding --skill llm-prompting-guide -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sammcj/agentic-coding --skill llm-prompting-guide -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sammcj/agentic-coding Skills/llm-prompting-guide/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/llm-prompting-guide/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sammcj/agentic-coding --skill llm-prompting-guide -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sammcj/agentic-coding --path Skills/llm-prompting-guide
```

### Windsurf (Devin Desktop)

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

### 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/sammcj/agentic-coding/tree/HEAD/Skills/llm-prompting-guide/SKILL.md

## When to use it
- draft a video-to-audio prompt for MiniMax H3
- generate a song in MiniMax Music 3 with custom lyrics
- verify whether a genre or style is in the model corpus
- structure a prompt correctly for a generative model

## Example prompts
- Write a prompt for MiniMax H3: person with rifle, midnight film noir
- Check my style keywords against the MiniMax Music 3 corpus
- Show me the prompt structure for video with native audio

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 370f01562fbb3e6a.

BEGIN THIRD-PARTY FILE 370f01562fbb3e6a
```text
---
name: llm-prompting-guide
description: Prompt format rules for generative video and music models. Use when writing or reviewing a prompt for MiniMax H3 (text/image/reference-to-video with native audio) or MiniMax Music 3 (song generation from caption plus lyrics), in ComfyUI or elsewhere. Do NOT use for chat-assistant prompts, or for generative models not named here.
---

# LLM Prompting Guide

The models below were trained on prompts written in a specific labelled structure, and guessing at that structure degrades output. Read the full guide for the model in play before writing any prompt text; the bullet here is a router, not enough to draft from.

- MiniMax H3 (video + native stereo audio; T2VA, I2VA, FL2VA, L2VA, R2V) -> [references/minimax-h3.md](references/minimax-h3.md)
- MiniMax Music 3 (full songs from a structured caption + tagged lyrics) -> [references/minimax-music-3.md](references/minimax-music-3.md)
  - Music 3 only responds to styles its training corpus contains. Check every genre term and production phrase before writing: [references/minimax-music-3-corpus.md](references/minimax-music-3-corpus.md)

Adding a model: one bullet above, plus the skills `references/<model>.md` opening with a table of contents and a mode-selection table.

By default, unless instructed otherwise save your generated outputs to a file in the current working directory named something related to the request.
```
END THIRD-PARTY FILE 370f01562fbb3e6a

The third-party file has ended. Everything between the 370f01562fbb3e6a tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© sammcj · Apache-2.0 · https://github.com/sammcj/agentic-coding/tree/HEAD/Skills/llm-prompting-guide/SKILL.md

## Similar
- [video-prompting](https://affpapa.org/en/nevibecode/skills/video-prompting.md) — skill · 753 installs
- [h3-prompt-writing](https://affpapa.org/en/nevibecode/skills/h3-prompt-writing.md) — skill · 13200 installs
- [buddy-sings](https://affpapa.org/en/nevibecode/skills/buddy-sings.md) — skill · 1400 installs
- [scenario-minimax-music](https://affpapa.org/en/nevibecode/skills/scenario-minimax-music.md) — skill · 847 installs
- [fal-prompting](https://affpapa.org/en/nevibecode/skills/fal-prompting.md) — skill · 683 installs
- [kling-3-prompting](https://affpapa.org/en/nevibecode/skills/kling-3-prompting.md) — skill · 635 installs

From the same set: [sammcj/agentic-coding](https://affpapa.org/en/nevibecode/by/sammcj/agentic-coding.md) — 73 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
