Write or audit AI agent system prompts component-by-component across identity, instruction architecture, behavioral constraints, tools, examples, context strategy, output format, and error handling. Use when the user wants to design a new agent prompt, write a system prompt, review an existing agent prompt, fix tool-use instructions, audit prompt structure, improve context strategy, tune output formats, or define error handling for single-agent or multi-agent systems.
100
100%
Does it follow best practices?
Impact
100%
1.33xAverage score across 3 eval scenarios
Passed
No known issues
Write or audit AI agent system prompts component-by-component across identity, instruction architecture, behavioral constraints, tools, examples, context strategy, output format, and error handling.
This skill designs new agent system prompts from requirements or audits existing prompts for structural and behavioral improvements. It works through the components that determine prompt quality: persona depth, instruction placement, constraint framing, tool definition quality, example strategy, context management, output format enforcement, and error handling.
The workflow supports single-agent and multi-agent systems. In write mode it produces a complete prompt plus iteration guidance. In audit mode it scores each applicable component and returns prioritized findings with rewritten prompt text.
Use this skill for prompts such as:
tessl install sharaf/agent-prompt-engineer| Layer | Where | Purpose |
|---|---|---|
| Entry point | SKILL.md | Executable workflow, triage rules, component checklist, examples, and output contracts |
| Tile manifest | tile.json | Registry metadata and skill entrypoint |
| Evals | evals/ | Tessl scenarios for write, audit, and multi-agent prompt architecture |
Write mode returns:
# Agent System Prompt: [Name]
## First Actions
## Design Decisions
## System Prompt
## How to IterateAudit mode returns:
# Agent Prompt Audit: [Name]
## First Actions
## Component Scores
## Highest-Impact Fixes
## Detailed Findings
## Rewrite Blocks
## Open QuestionsAudit findings cite prompt sections, assign priority, explain behavioral risk, and include concrete replacement text.
Migrated from the legacy flat skill
/home/mamba/work/skill-builder/skills/agent-prompt-engineer.md.
Research lineage:
agent-prompt-engineeringagent-identity-persona-design, instruction-architecture,
behavioral-steering-constraints, tool-action-definitions,
few-shot-examples-demonstrations, context-engineering,
multi-agent-prompt-design, output-format-response-shaping,
error-handling-edge-case-instructions, domain-adaptation,
prompt-evaluation-iteration2026-04-11