Build or optimize prompts following Anthropic's best practices
Builds or optimizes prompts using Anthropic's best practices. Use it to create effective prompts from scratch or improve existing ones for better AI responses.
/plugin marketplace add majesticlabs-dev/majestic-marketplace/plugin install majestic-llm@majestic-marketplace[prompt description or 'optimize: <prompt>']meta/Build new prompts or optimize existing ones following Anthropic's best practices.
Optimization Mode - When:
optimize: followed by a promptCreation Mode - When:
If unclear, ask: "Would you like to optimize an existing prompt or create a new one?"
| Issue | Solution |
|---|---|
| Vague | Add specific aspects, output format, depth |
| Missing context | Add constraints, audience, background |
| Complex | Break into steps, add headers, define success |
| Unclear scope | Set boundaries, depth level, completion criteria |
When improvements needed:
## Optimized Prompt
[Enhanced version]
## Key Improvements
1. **[Change]**: [Why it helps]
When already good:
## Assessment
Your prompt is clear and well-structured. [Optional minor suggestion]
When unclear:
## Clarification Needed
To optimize effectively, please clarify:
- [Question about intent]
Build prompts by collecting parameters and assembling per Anthropic's format.
## Context
[taskContext]
## Tone
[toneContext if provided]
## Background Information
[backgroundData if provided]
## Instructions
[detailedTaskInstructions if provided]
## Examples
[examples if provided]
## Approach
[chainOfThought if provided]
## Task
[finalRequest]
## Output Format
[outputFormatting if provided]
# Create with parameters
/new-prompt taskContext:"Review code" finalRequest:"Analyze for security issues"
# Optimize existing
/new-prompt optimize:"Write a blog post about AI"