/developer-kit-ai:devkit.prompt-optimize [prompt-text] [target-model] [optimization-level]from developer-kit-ai
Optimizes a given prompt using advanced techniques (CoT, few-shot, constitutional AI) with model-specific formatting. Saves the optimized prompt to optimized-prompt.md and produces an enhancement report.
Ships in developer-kit-ai. Installing the plugin adds it to Claude Code.
Provides 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
What the command file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each command page
npx claudepluginhub giuseppe-trisciuoglio/developer-kit --plugin developer-kit-aiOther plugins' commands for the same job