Transforms user prompts into optimized prompts using frameworks (RTF, RISEN, Chain of Thought, RODES, Chain of Density, RACE, RISE, STAR, SOAP, CLEAR, GROW)
Add this skill
npx mdskills install sickn33/prompt-engineerComprehensive prompt optimization skill with 11 frameworks, clear workflows, and smart intent analysis
Version: 1.0.1
Status: ✨ Zero-Config | 🌍 Universal
Transform raw prompts into optimized, production-ready prompts using 11 established prompting frameworks.
Prompt Engineer is an intelligent AI skill that analyzes your intentions and automatically generates optimized prompts for Claude, ChatGPT, or any other AI model. Instead of struggling with how to phrase complex requests, simply describe what you want - the skill handles the rest.
This skill works in "magic mode" - it operates silently, only asking questions when absolutely necessary. You provide a rough idea, and it returns a polished, structured prompt ready to use.
Use any of these trigger phrases:
copilot> improve this prompt: [your rough prompt]
copilot> optimize prompt: [your idea]
copilot> refine prompt: [what you want]
copilot> prompt engineering for: [task description]
copilot> transform into prompt: [concept]
copilot> create prompt for: [goal]
Input:
copilot> improve this prompt: help me write Python code
Skill asks:
What type of Python code do you need?
- [ ] Data analysis
- [ ] Web scraping
- [ ] Task automation
- [ ] API/backend development
You select: "Web scraping"
Output:
```
You are a Python developer expert in web scraping.
Task: Create a Python script to scrape data from [specify target website].
Requirements:
- Use BeautifulSoup or Scrapy
- Implement pagination and rate limiting
- Store data in structured format (CSV or JSON)
- Include error handling for network issues
Output format: Complete, commented Python code with usage examples.
```
Input:
copilot> create prompt for: product recommendation system with purchase history and market trends
Output:
```
Role: You are a senior machine learning engineer specializing in recommendation systems.
Objective: Design a product recommendation system that combines user purchase history, preferences, and market trends.
Details:
- Input data sources: user transaction logs, preference surveys, market trend APIs
- Algorithm considerations: collaborative filtering, content-based filtering, hybrid approaches
- Performance metrics: precision, recall, diversity, novelty
- Scalability: system must handle 100k+ users
Approach step-by-step:
1. Analyze the three data sources and their relationships
2. Propose 2-3 algorithm approaches with trade-offs
3. Design data pipeline architecture
4. Define evaluation metrics
5. Outline implementation roadmap
Examples: Show pseudocode for core recommendation logic
Sense Check: Validate that the solution balances personalization with discovery and scales to production.
Output format: Technical design document with architecture diagrams and implementation roadmap.
```
Input:
copilot> transform into prompt: I want to improve my process
Skill asks:
What process do you want to improve?
- [ ] Work/productivity process
- [ ] Learning process
- [ ] Technical process (development, deployment, etc.)
You select: "Work process"
Skill asks:
What specific aspect?
- [ ] Time management
- [ ] Team collaboration
- [ ] Decision making
You select: "Decision making"
Output:
```
Context: I struggle with making decisions quickly and effectively at work.
Objective: Develop a structured framework to improve decision speed and quality.
Current Reality:
- Decisions delayed by excessive analysis
- Lack of clear criteria
- Uncertainty about when to decide vs. gather information
Desired Outcome:
- Consistent decision-making framework
- Clear criteria for different decision types
- Reduced decision fatigue
Your task:
1. Assess current patterns and identify bottlenecks
2. Propose framework (Eisenhower Matrix, RAPID, Decision Tree)
3. Create decision criteria templates
4. Design tracking and iteration process
Output format: Practical playbook with templates, examples, and metrics.
```
The Prompt Engineer skill uses 11 established frameworks to optimize your prompts. The skill automatically selects and blends these frameworks based on your task - you never need to know or choose them manually.
Structure: Role → Task → Format
Best for: Tasks requiring specific expertise or perspective
Components:
Example:
You are a senior Python developer.
Task: Refactor this code for better performance.
Format: Provide refactored code with inline comments explaining changes.
Structure: Problem → Step 1 → Step 2 → ... → Solution
Best for: Complex reasoning, debugging, mathematical problems, logic puzzles
Components:
Example:
Solve this problem step-by-step:
1. Identify the core issue
2. Analyze contributing factors
3. Propose solution approach
4. Validate solution against requirements
Structure: Role, Instructions, Steps, End goal, Narrowing
Best for: Multi-phase projects with clear deliverables and constraints
Components:
Example:
Role: You are a DevOps architect.
Instructions: Design a CI/CD pipeline for microservices.
Steps: 1) Analyze requirements 2) Select tools 3) Design workflow 4) Document
End goal: Automated deployment with zero-downtime releases.
Narrowing: Focus on AWS, limit to 3 environments (dev/staging/prod).
Structure: Role, Objective, Details, Examples, Sense check
Best for: Complex design, system architecture, research proposals
Components:
Example:
Role: You are a system architect.
Objective: Design a scalable e-commerce platform.
Details: Handle 100k concurrent users, sub-200ms response time, multi-region.
Examples: Show database schema, caching strategy, load balancing.
Sense check: Validate solution meets latency and scalability requirements.
Structure: Iteration 1 (verbose) → Iteration 2 → ... → Iteration 5 (maximum density)
Best for: Summarization, compression, synthesis of long content
Process:
Example:
Compress this article into progressively denser summaries:
1. Initial summary (300 words)
2. Compressed (200 words)
3. Further compressed (100 words)
4. Dense (50 words)
5. Maximum density (25 words, all critical points)
Structure: Role, Audience, Context, Expectation
Best for: Communication, presentations, stakeholder updates, storytelling
Components:
Example:
Role: You are a product manager.
Audience: Non-technical executives.
Context: Quarterly business review, product performance down 5%.
Expectation: Explain root causes and recovery plan in non-technical terms.
Structure: Research, Investigate, Synthesize, Evaluate
Best for: Analysis, investigation, systematic exploration, diagnostic work
Process:
Example:
Analyze customer churn data using RISE:
Research: Collect churn metrics, exit surveys, support tickets.
Investigate: Identify patterns in churned users.
Synthesize: Combine findings into themes.
Evaluate: Recommend retention strategies based on evidence.
Structure: Situation, Task, Action, Result
Best for: Problem-solving with rich context, case studies, retrospectives
Components:
Example:
Situation: Legacy monolith causing deployment delays (2 weeks per release).
Task: Modernize architecture to enable daily deployments.
Action: Migrate to microservices, implement CI/CD, containerize.
Result: Deploy 10+ times per day with optimize prompt: create REST API in Python
→ Generates structured prompt with role, requirements, output format, examples
copilot> create prompt for: write technical article about microservices
→ Generates audience-aware prompt with structure, tone, and content guidelines
copilot> refine prompt: analyze sales data and identify trends
→ Generates step-by-step analytical framework with visualization requirements
copilot> improve this prompt: I need to decide between technology A and B
→ Generates decision framework with criteria, trade-offs, and validation
copilot> transform into prompt: learn machine learning from zero
→ Generates learning path prompt with phases, resources, and milestones
A: Yes! It's a universal skill that works in any terminal context. It doesn't depend on vault structure, project configuration, or external files.
A: No. The skill knows all 11 frameworks and selects the best one(s) automatically based on your task.
A: No. It operates in "magic mode" - you get the polished prompt without technical explanations. If you want to know, you can ask explicitly.
A: Maximum 2-3 questions, and only when information is critically missing. Most of the time, it generates the prompt directly.
A: The skill uses standard framework definitions. You can't customize them, but you can provide additional constraints in your input (e.g., "create a short prompt for...").
A: Yes. If you provide input in Portuguese, it generates the prompt in Portuguese. Same for English or mixed inputs.
A: You can ask the skill to refine it: "make it shorter", "add more examples", "focus on X aspect", etc.
A: Yes. The prompts are model-agnostic and work with any conversational AI.
This skill is designed to work globally across all your projects.
Clone the repository:
git clone https://github.com/eric.andrade/cli-ai-skills.git
Configure Copilot to load skills globally:
# Add to ~/.copilot/config.json
{
"skills": {
"directories": [
"/path/to/cli-ai-skills/.github/skills"
]
}
}
cp -r /path/to/cli-ai-skills/.github/skills/prompt-engineer ~/.copilot/global-skills/
Then configure:
# Add to ~/.copilot/config.json
{
"skills": {
"directories": [
"~/.copilot/global-skills"
]
}
}
v1.0.1 | Zero-Config | Universal
Works in any project, any context, any terminal.
Install via CLI
npx mdskills install sickn33/prompt-engineerPrompt Engineer is a free, open-source AI agent skill. Transforms user prompts into optimized prompts using frameworks (RTF, RISEN, Chain of Thought, RODES, Chain of Density, RACE, RISE, STAR, SOAP, CLEAR, GROW)
Install Prompt Engineer with a single command:
npx mdskills install sickn33/prompt-engineerThis downloads the skill files into your project and your AI agent picks them up automatically.
Prompt Engineer works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code, Chatgpt. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.