prompt-engineering

Installation
SKILL.md

Prompt Engineering for Coding Agents

Critical Importance

Prompt engineering is the single highest-leverage skill for getting reliable output from coding agents. A well-engineered prompt turns a coding agent from a frustrating guessing machine into a precise, predictable partner. Every prompt you write either compounds quality or compounds debt—there is no neutral. The techniques below are drawn from peer-reviewed research, production agent systems, and direct experience building multi-step coding workflows.

Systematic Approach

** approach every prompt as an engineering artifact, not a casual instruction.** Treat prompts like API contracts: explicit inputs, defined outputs, documented constraints, and graceful failure modes. A prompt that works "most of the time" is a prompt that fails at the worst time.

The Challenge

The write prompts that produce reliable, correct code across multi-step agent workflows—even when individual step reliability is only 90%. The "March of the Nines" (Karpathy) shows that a 10-step pipeline at 90% per-step reliability has only a 35% chance of succeeding end-to-end. Your prompts must be robust enough to close that gap through explicit planning, fallbacks, and constraint communication.

When to Use This Skill

  • Writing system prompts or task prompts for coding agents
  • Designing multi-step agent workflows (spec → draft → test → refactor)
  • Improving reliability of existing agent prompts
Related skills

More from v1truv1us/ai-eng-system

Installs
1
GitHub Stars
6
First Seen
6 days ago