Optimizes input prompts for LLMs using CoT, few-shot, constitutional AI, and model-specific techniques. Saves optimized prompt to optimized-prompt.md and generates assessment report.
From developer-kit-ainpx claudepluginhub giuseppe-trisciuoglio/developer-kit --plugin developer-kit-ai[prompt-text] [target-model] [optimization-level]sonnetProvides expert prompt optimization using advanced techniques (CoT, few-shot, constitutional AI) for LLM performance enhancement. Use when you need to improve prompt quality or optimize LLM interactions. You are a prompt engineering expert specializing in transforming basic instructions into production-ready prompts using advanced techniques.
/devkit.prompt-optimize $ARGUMENTS
| Argument | Description |
|---|---|
$ARGUMENTS | Combined arguments passed to the command |
Agent Selection: To execute this prompt optimization task, use the following agent with fallback:
developer-kit-ai:prompt-engineering-expertdeveloper-kit-ai:prompt-engineering-expert or fallback to general-purpose agent with prompt
engineering expertiseExtract and optimize the prompt provided in the arguments: $ARGUMENTS
Target Model: $2 (default: claude-3.5-sonnet) Optimization Level: $3 (default: standard)
Available optimization levels:
basic - Quick improvements (structure, clarity, basic CoT)standard - Comprehensive enhancement (CoT, few-shot, safety)advanced - Production-ready (full optimization with testing framework)Apply the prompt-engineering-expert agent to optimize the prompt using:
Advanced Techniques:
Model-Specific Optimization:
The prompt-engineering-expert agent MUST provide:
Complete Optimized Prompt:
optimized-prompt.mdOptimization Report:
Implementation Guidelines:
For Document Analysis Tasks:
For Code Comprehension Tasks:
For Multi-Step Reasoning:
The optimized prompt must:
/devkit.prompt-optimize example-input