README
π― Prompt Engineer
Section titled βπ― Prompt EngineerβVersion: 1.0.1
Status: β¨ Zero-Config | π Universal
Transform raw prompts into optimized, production-ready prompts using 11 established prompting frameworks.
π Overview
Section titled βπ Overviewβ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.
β¨ Key Features
Section titled ββ¨ Key Featuresβ- π― Intent Analysis: Understands what youβre trying to accomplish
- π§ 11 Frameworks: RTF, Chain of Thought, RISEN, RODES, Chain of Density, RACE, RISE, STAR, SOAP, CLEAR, GROW
- π Framework Blending: Combines multiple frameworks when needed
- β Smart Clarification: Only asks questions when critically needed
- π Adaptive Output: Matches prompt length to task complexity
- π Universal: Works in any project, any terminal context
- πͺ Magic Mode: No technical explanations - just results
π Quick Start
Section titled βπ Quick StartβInvoke the Skill
Section titled βInvoke the Skillβ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]Example 1: Simple Task
Section titled βExample 1: Simple TaskβInput:
copilot> improve this prompt: help me write Python codeSkill asks:
What type of Python code do you need?- [ ] Data analysis- [ ] Web scraping- [ ] Task automation- [ ] API/backend developmentYou 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.```Example 2: Complex Task (No Clarification Needed)
Section titled βExample 2: Complex Task (No Clarification Needed)βInput:
copilot> create prompt for: product recommendation system with purchase history and market trendsOutput:
```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 relationships2. Propose 2-3 algorithm approaches with trade-offs3. Design data pipeline architecture4. Define evaluation metrics5. 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.```Example 3: Ambiguous Task (Skill Clarifies)
Section titled βExample 3: Ambiguous Task (Skill Clarifies)βInput:
copilot> transform into prompt: I want to improve my processSkill 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 makingYou 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 bottlenecks2. Propose framework (Eisenhower Matrix, RAPID, Decision Tree)3. Create decision criteria templates4. Design tracking and iteration process
Output format: Practical playbook with templates, examples, and metrics.```π Supported Frameworks
Section titled βπ Supported Frameworksβ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.
1. RTF (Role-Task-Format)
Section titled β1. RTF (Role-Task-Format)βStructure: Role β Task β Format
Best for: Tasks requiring specific expertise or perspective
Components:
- Role: βYou are a [expert identity]β
- Task: βYour task is to [specific action]β
- Format: βOutput format: [structure/style]β
Example:
You are a senior Python developer.Task: Refactor this code for better performance.Format: Provide refactored code with inline comments explaining changes.2. Chain of Thought
Section titled β2. Chain of ThoughtβStructure: Problem β Step 1 β Step 2 β β¦ β Solution
Best for: Complex reasoning, debugging, mathematical problems, logic puzzles
Components:
- Break problem into sequential steps
- Show reasoning at each stage
- Build toward final solution
Example:
Solve this problem step-by-step:1. Identify the core issue2. Analyze contributing factors3. Propose solution approach4. Validate solution against requirements3. RISEN
Section titled β3. RISENβStructure: Role, Instructions, Steps, End goal, Narrowing
Best for: Multi-phase projects with clear deliverables and constraints
Components:
- Role: Expert identity
- Instructions: What to do
- Steps: Sequential actions
- End goal: Desired outcome
- Narrowing: Constraints and focus areas
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) DocumentEnd goal: Automated deployment with zero-downtime releases.Narrowing: Focus on AWS, limit to 3 environments (dev/staging/prod).4. RODES
Section titled β4. RODESβStructure: Role, Objective, Details, Examples, Sense check
Best for: Complex design, system architecture, research proposals
Components:
- Role: Expert perspective
- Objective: What to achieve
- Details: Context and requirements
- Examples: Concrete illustrations
- Sense check: Validation criteria
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.5. Chain of Density
Section titled β5. Chain of DensityβStructure: Iteration 1 (verbose) β Iteration 2 β β¦ β Iteration 5 (maximum density)
Best for: Summarization, compression, synthesis of long content
Process:
- Start with verbose explanation
- Iteratively compress while preserving key information
- End with maximally dense version (high information per word)
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)6. RACE
Section titled β6. RACEβStructure: Role, Audience, Context, Expectation
Best for: Communication, presentations, stakeholder updates, storytelling
Components:
- Role: Communicator identity
- Audience: Who youβre addressing (expertise level, concerns)
- Context: Background/situation
- Expectation: What audience needs to know or do
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.7. RISE
Section titled β7. RISEβStructure: Research, Investigate, Synthesize, Evaluate
Best for: Analysis, investigation, systematic exploration, diagnostic work
Process:
- Research: Gather information
- Investigate: Deep dive into findings
- Synthesize: Combine insights
- Evaluate: Assess and recommend
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.8. STAR
Section titled β8. STARβStructure: Situation, Task, Action, Result
Best for: Problem-solving with rich context, case studies, retrospectives
Components:
- Situation: Background context
- Task: Specific challenge
- Action: What needs doing
- Result: Expected outcome
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 <5% rollback rate.9. SOAP
Section titled β9. SOAPβStructure: Subjective, Objective, Assessment, Plan
Best for: Structured documentation, medical records, technical logs, incident reports
Components:
- Subjective: Reported information (symptoms, complaints)
- Objective: Observable facts (metrics, data)
- Assessment: Analysis and diagnosis
- Plan: Recommended actions
Example:
Incident Report (SOAP):Subjective: Users report slow page loads starting 10 AM.Objective: Average response time increased from 200ms to 3s. CPU at 95%.Assessment: Database connection pool exhausted due to traffic spike.Plan: 1) Scale pool size 2) Add monitoring alerts 3) Review query performance.10. CLEAR
Section titled β10. CLEARβStructure: Collaborative, Limited, Emotional, Appreciable, Refinable
Best for: Goal-setting, OKRs, measurable objectives, team alignment
Components:
- Collaborative: Whoβs involved
- Limited: Scope boundaries (time, resources)
- Emotional: Why it matters (motivation)
- Appreciable: Measurable progress indicators
- Refinable: How to iterate and improve
Example:
Q1 Objective (CLEAR):Collaborative: Engineering + Product teams.Limited: Complete by March 31, budget $50k, 2 engineers allocated.Emotional: Reduces customer support load by 30%, improves satisfaction.Appreciable: Track weekly via tickets resolved, NPS score, deployment count.Refinable: Bi-weekly retrospectives, adjust priorities based on feedback.11. GROW
Section titled β11. GROWβStructure: Goal, Reality, Options, Will
Best for: Coaching, personal development, growth planning, mentorship
Components:
- Goal: What to achieve
- Reality: Current situation (strengths, gaps)
- Options: Possible approaches
- Will: Commitment to action
Example:
Career Development (GROW):Goal: Become senior engineer within 12 months.Reality: Strong coding skills, weak in system design and leadership.Options: 1) Take system design course 2) Lead a project 3) Find mentor.Will: Commit to 5 hours/week study, lead Q2 project, find mentor by Feb.Framework Selection Logic
Section titled βFramework Selection LogicβThe skill analyzes your input and:
-
Detects task type
- Coding, writing, analysis, design, communication, etc.
-
Identifies complexity
- Simple (1-2 sentences) β Fast, minimal structure
- Moderate (paragraph) β Standard framework
- Complex (detailed requirements) β Advanced framework or blend
-
Selects primary framework
- RTF β Role-based tasks
- Chain of Thought β Step-by-step reasoning
- RISEN/RODES β Complex projects
- RACE β Communication
- STAR β Contextual problems
- And so onβ¦
-
Blends secondary frameworks when needed
- RODES + Chain of Thought β Complex technical projects
- CLEAR + GROW β Leadership goals
- RACE + STAR β Strategic communication
You never choose the framework manually - the skill does it automatically in βmagic mode.β
Common Framework Blends
Section titled βCommon Framework Blendsβ| Task Type | Primary Framework | Blended With | Result |
|---|---|---|---|
| Complex technical design | RODES | Chain of Thought | Structured design with step-by-step reasoning |
| Leadership development | CLEAR | GROW | Measurable goals with action commitment |
| Strategic communication | RACE | STAR | Audience-aware storytelling with context |
| Incident investigation | RISE | SOAP | Systematic analysis with structured documentation |
| Project planning | RISEN | RTF | Multi-phase delivery with role clarity |
π― How It Works
Section titled βπ― How It WorksβUser Input (rough prompt) ββββββββββββββββββββββββββββ 1. Analyze Intent β What is the user trying to do?β - Task type β Coding? Writing? Analysis? Design?β - Complexity β Simple, moderate, complex?β - Clarity β Clear or ambiguous?ββββββββββ¬ββββββββββββββββ ββββββββββββββββββββββββββββ 2. Clarify (Optional) β Only if critically neededβ - Ask 2-3 questions β Multiple choice when possibleβ - Fill missing gaps βββββββββββ¬ββββββββββββββββ ββββββββββββββββββββββββββββ 3. Select Framework(s) β Silent selectionβ - Map task β frameworkβ - Blend if needed βββββββββββ¬ββββββββββββββββ ββββββββββββββββββββββββββββ 4. Generate Prompt β Apply framework rulesβ - Add role/context ββ - Structure task ββ - Define format ββ - Add examples βββββββββββ¬ββββββββββββββββ ββββββββββββββββββββββββββββ 5. Output β Clean, copy-readyβ Markdown code block β No explanationsββββββββββββββββββββββββββπ¨ Use Cases
Section titled βπ¨ Use Casesβcopilot> optimize prompt: create REST API in Pythonβ Generates structured prompt with role, requirements, output format, examples
Writing
Section titled βWritingβcopilot> create prompt for: write technical article about microservicesβ Generates audience-aware prompt with structure, tone, and content guidelines
Analysis
Section titled βAnalysisβcopilot> refine prompt: analyze sales data and identify trendsβ Generates step-by-step analytical framework with visualization requirements
Decision Making
Section titled βDecision Makingβcopilot> improve this prompt: I need to decide between technology A and Bβ Generates decision framework with criteria, trade-offs, and validation
Learning
Section titled βLearningβcopilot> transform into prompt: learn machine learning from zeroβ Generates learning path prompt with phases, resources, and milestones
β FAQ
Section titled ββ FAQβQ: Does this skill work outside of Obsidian vaults?
Section titled βQ: Does this skill work outside of Obsidian vaults?β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.
Q: Do I need to know prompting frameworks?
Section titled βQ: Do I need to know prompting frameworks?βA: No. The skill knows all 11 frameworks and selects the best one(s) automatically based on your task.
Q: Will the skill explain which framework it used?
Section titled βQ: Will the skill explain which framework it used?βA: No. It operates in βmagic modeβ - you get the polished prompt without technical explanations. If you want to know, you can ask explicitly.
Q: How many questions will the skill ask me?
Section titled βQ: How many questions will the skill ask me?βA: Maximum 2-3 questions, and only when information is critically missing. Most of the time, it generates the prompt directly.
Q: Can I customize the frameworks?
Section titled βQ: Can I customize the frameworks?β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β¦β).
Q: Does it support languages other than English?
Section titled βQ: Does it support languages other than English?βA: Yes. If you provide input in Portuguese, it generates the prompt in Portuguese. Same for English or mixed inputs.
Q: What if I donβt like the generated prompt?
Section titled βQ: What if I donβt like the generated prompt?βA: You can ask the skill to refine it: βmake it shorterβ, βadd more examplesβ, βfocus on X aspectβ, etc.
Q: Can I use this for any AI model (Claude, ChatGPT, Gemini)?
Section titled βQ: Can I use this for any AI model (Claude, ChatGPT, Gemini)?βA: Yes. The prompts are model-agnostic and work with any conversational AI.
π§ Installation (Global Setup)
Section titled βπ§ Installation (Global Setup)βThis skill is designed to work globally across all your projects.
Option 1: Use from Repository
Section titled βOption 1: Use from Repositoryβ-
Clone the repository:
Terminal window git clone https://github.com/eric.andrade/cli-ai-skills.git -
Configure Copilot to load skills globally:
Terminal window # Add to ~/.copilot/config.json{"skills": {"directories": ["/path/to/cli-ai-skills/.github/skills"]}}
Option 2: Copy to Global Skills Directory
Section titled βOption 2: Copy to Global Skills Directoryβ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" ] }}π Learn More
Section titled βπ Learn Moreβ- Skill Development Guide - Learn how to create your own skills
- SKILL.md - Full technical specification of this skill
- Repository README - Overview of all available skills
π Version
Section titled βπ Versionβv1.0.1 | Zero-Config | Universal
Works in any project, any context, any terminal.