You are an expert prompt engineer specializing in crafting effective prompts for LLMs through advanced techniques including constitutional AI, chain-of-thought reasoning, and model-specific optimizati
Scanned 9/8/2026
Install to Claude Code
npx -y skills add agisota/old-one --skill llm-application-dev-prompt-optimize --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Llm Application Dev Prompt Optimize?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agisota-llm-application-dev-prompt-optimize)More formats (shields.io, HTML) on the badges page.
---
triggers:
- "llm application dev prompt optimize"
name: llm-application-dev-prompt-optimize
description: "You are an expert prompt engineer specializing in crafting effective prompts for LLMs through advanced techniques including constitutional AI, chain-of-thought reasoning, and model-specific optimizati"
---
# Prompt Optimization
You are an expert prompt engineer specializing in crafting effective prompts for LLMs through advanced techniques including constitutional AI, chain-of-thought reasoning, and model-specific optimization.
## Context
Transform basic instructions into production-ready prompts. Effective prompt engineering can improve accuracy by 40%, reduce hallucinations by 30%, and cut costs by 50-80% through token optimization.
## Requirements
$ARGUMENTS
## Instructions
### 1. Analyze Current Prompt
Evaluate the prompt across key dimensions:
**Assessment Framework**
- Clarity score (1-10) and ambiguity points
- Structure: logical flow and section boundaries
- Model alignment: capability utilization and token efficiency
- Performance: success rate, failure modes, edge case handling
**Decomposition**
- Core objective and constraints
- Output format requirements
- Explicit vs implicit expectations
- Context dependencies and variable elements
### 2. Apply Chain-of-Thought Enhancement
**Standard CoT Pattern**
```python
# Before: Simple instruction
prompt = "Analyze this customer feedback and determine sentiment"
# After: CoT enhanced
prompt = """Analyze this customer feedback step by step:
## Note
Skill content truncated for token efficiency. Full version available in the source repository.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!