inferen-sh avatar

Prompt Engineering

A comprehensive guide for getting better outputs from AI models through structured prompting techniques. Covers role-based prompting, chain-of-thought reasoning, few-shot examples, and output format specification for LLMs like Claude and GPT-4. Also includes image generation prompting with style keywords, composition control, and negative prompts for models like FLUX. The video prompting section covers camera movements and action descriptions for models like Veo. Works through the inference.sh CLI so you can test techniques immediately. Most useful when you're getting inconsistent AI outputs or need to solve complex multi-step tasks that require precise instruction.

skills.sh installs
6.4K
GitHub stars
173

Install

$ npx -y skills add inferen-sh/skills --skill prompt-engineering --agent claude-code

Installs into .claude/skills of the current project.

Files

Install the belt CLI skill: npx skills add belt-sh/cli

Prompt Engineering Guide

Master prompt engineering for AI models via inference.sh CLI.

Prompt Engineering Guide

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Well-structured LLM prompt
belt app run openrouter/claude-sonnet-45 --input '{
  "prompt": "You are a senior software engineer. Review this code for security vulnerabilities:\n\n```python\nuser_input = request.args.get(\"query\")\nresult = db.execute(f\"SELECT * FROM users WHERE name = {user_input}\")\n```\n\nProvide specific issues and fixes."
}'

LLM Prompting

Basic Structure

[Role/Context] + [Task] + [Constraints] + [Output Format]

Role Prompting

Sponsors

Details

Repository
github.com/inferen-sh/skills
Category
AI & Agent Building

More from inferen-sh/skills

All 78
1affaan-m avatarprompt-optimizeraffaan-m/eccAnalyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role 6.3Kskills.sh installs
2affaan-m avatarprompt-optimizeraffaan-m/everything-claude-codeprompt optimizer6.3Kskills.sh installs
3inferen-sh avatarai-avatar-videoinferen-sh/skills6.3Kskills.sh installs
4inferen-sh avatarai-content-pipelineinferen-sh/skills6.3Kskills.sh installs
5inferen-sh avatarai-music-generationinferen-sh/skills6.3Kskills.sh installs
6inferen-sh avatarai-podcast-creationinferen-sh/skills6.3Kskills.sh installs