# ai-product

Guides Claude Code in shipping production LLM features, focusing on schema validation, streaming responses, token budgets, and API resilience.

- skill · `type=skill` · Claude Code · 250 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/business-marketing/ai-product
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/ai-product

## What it does

This skill instructs Claude Code to treat prompt logic and LLM outputs as production software. Instead of accepting unstructured raw completions, it enforces schema validation using JSON mode or function calling. It also guides the agent to version prompts directly in code and track them with regression tests.

The instructions eliminate common production failure modes. They flag unvalidated inputs, oversized context windows, and unmonitored API expenses. Synchronous LLM calls inside web request handlers cause severe application freezes when external providers stall.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill business-marketing/ai-product
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill ai-product -a claude-code
```

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

### Codex

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

### Cursor

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates ai-product
```

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

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/business-marketing/ai-product
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ai-product/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/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/business-marketing/ai-product

## When to use it
- validate LLM completions against explicit schemas
- sanitize untrusted user inputs before prompt interpolation
- stream model responses to cut perceived waiting times
- prevent service lockups by moving LLM calls to async jobs

## Example prompts
- Refactor this model call to return validated JSON matching my schema
- Set up streaming for this LLM response to improve interface responsiveness
- Audit this endpoint prompt to prevent prompt injection and calculate token usage

## Similar
- [skill-creator](https://affpapa.org/en/nevibecode/skills/skill-creator.md) — skill · 414180 installs
- [writing-for-agents](https://affpapa.org/en/nevibecode/skills/writing-for-agents.md) — skill · 466719 installs
- [media-use](https://affpapa.org/en/nevibecode/skills/media-use.md) — skill · 1100000 installs
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [subagent-driven-development](https://affpapa.org/en/nevibecode/skills/subagent-driven-development.md) — skill · 237746 installs
- [orchestration](https://affpapa.org/en/nevibecode/skills/orchestration.md) — skill · 350300 installs

## Other versions with the same name
- [ai-product · sickn33](https://affpapa.org/en/nevibecode/skills/sickn33-ai-product.md) — 960 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 804 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
