Techniques and templates for creating optimal prompts following Anthropic conventions
From fuse-prompt-engineernpx claudepluginhub fusengine/agents --plugin fuse-prompt-engineerThis skill is limited to using the following tools:
docs/techniques.mddocs/templates.mdreferences/multimodal-prompting.mdreferences/rag-patterns.mdDesigns and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Skill for creating high-performance prompts following 2025 best practices and Anthropic conventions.
Each system prompt should cover these 9 aspects:
# Task Context
You are an expert [ROLE] specializing in [DOMAIN].
Your goal is to [PRIMARY_OBJECTIVE].
# Tone
- Tone: [formal/casual/technical/friendly]
- Length: [concise/detailed/adaptive]
- Format: [prose/lists/tables/mixed]
# Task Description
Here are important rules:
- Always [MANDATORY_BEHAVIOR]
- Never [FORBIDDEN_BEHAVIOR]
- If [CONDITION] then [ACTION]
If unsure, say "I don't have enough information to answer."
# Examples
<example>
Input: [STANDARD_CASE_INPUT]
Output: [EXPECTED_OUTPUT]
</example>
<example>
Input: [EDGE_CASE_INPUT]
Output: [EXPECTED_OUTPUT]
</example>
# Input Data
<document>
[USER_PROVIDED_CONTENT]
</document>
# Immediate Task
Now, [SPECIFIC_ACTION] the above [document/code/data].
# Precognition
First, in <scratchpad> tags, analyze the key points.
Then provide your final answer in <answer> tags.
# Output Format
## Analysis
[Problem understanding]
## Solution
[Main response]
## Recommendations
[Additional suggestions]
# Prefill
<scratchpad>
In order of increasing effectiveness:
| Level | Syntax | Usage |
|---|---|---|
| 1 | Please do X | Suggestion |
| 2 | You should do X | Recommendation |
| 3 | Always do X | Standard rule |
| 4 | YOU MUST do X | Strong rule |
| 5 | IMPORTANT: Do X | Critical rule |
| 6 | CRITICAL - ZERO TOLERANCE: Do X | Absolute rule |
1. DEFINE the objective (1 sentence)
↓
2. IDENTIFY target audience
↓
3. LIST constraints
↓
4. CHOOSE techniques (CoT? Few-shot?)
↓
5. WRITE with 9-element structure
↓
6. ADD guardrails
↓
7. TEST mentally (edge cases)
↓
8. ITERATE if necessary