agcel 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/workflows/api-gen.md +59 -0
- package/.agent/workflows/architect.md +44 -0
- package/.agent/workflows/brainstorm.md +223 -0
- package/.agent/workflows/build.md +38 -0
- package/.agent/workflows/changelog.md +51 -0
- package/.agent/workflows/checkpoint.md +138 -0
- package/.agent/workflows/commit.md +223 -0
- package/.agent/workflows/debug.md +57 -0
- package/.agent/workflows/deploy.md +76 -0
- package/.agent/workflows/doc.md +247 -0
- package/.agent/workflows/execute-plan.md +225 -0
- package/.agent/workflows/feature.md +255 -0
- package/.agent/workflows/fix.md +323 -0
- package/.agent/workflows/help.md +63 -0
- package/.agent/workflows/index.md +148 -0
- package/.agent/workflows/load.md +112 -0
- package/.agent/workflows/mode.md +170 -0
- package/.agent/workflows/optimize.md +53 -0
- package/.agent/workflows/plan.md +337 -0
- package/.agent/workflows/pr.md +74 -0
- package/.agent/workflows/product-plan.md +36 -0
- package/.agent/workflows/production-deploy.md +39 -0
- package/.agent/workflows/refactor.md +63 -0
- package/.agent/workflows/research.md +116 -0
- package/.agent/workflows/review.md +344 -0
- package/.agent/workflows/security-scan.md +56 -0
- package/.agent/workflows/ship.md +221 -0
- package/.agent/workflows/spawn.md +177 -0
- package/.agent/workflows/status.md +59 -0
- package/.agent/workflows/tdd.md +139 -0
- package/.agent/workflows/test.md +340 -0
- package/.agent/workflows/verify.md +35 -0
- package/LICENSE +21 -0
- package/README.md +67 -0
- package/dist/commands/init.js +142 -0
- package/dist/commands/install.js +98 -0
- package/dist/commands/list.js +49 -0
- package/dist/commands/restart.js +17 -0
- package/dist/commands/start.js +41 -0
- package/dist/commands/status.js +24 -0
- package/dist/commands/stop.js +29 -0
- package/dist/commands/uninstall.js +78 -0
- package/dist/index.js +58 -0
- package/dist/server/index.js +174 -0
- package/dist/utils/index.js +63 -0
- package/package.json +54 -0
- package/skills/api-security-best-practices/SKILL.md +291 -0
- package/skills/api-security-best-practices/references/examples.md +617 -0
- package/skills/architecture/SKILL.md +59 -0
- package/skills/architecture/context-discovery.md +43 -0
- package/skills/architecture/examples.md +94 -0
- package/skills/architecture/pattern-selection.md +68 -0
- package/skills/architecture/patterns-reference.md +50 -0
- package/skills/architecture/trade-off-analysis.md +77 -0
- package/skills/aws-serverless/SKILL.md +327 -0
- package/skills/brainstorming/SKILL.md +234 -0
- package/skills/c4-context/SKILL.md +154 -0
- package/skills/ci-cd-engineer/SKILL.md +50 -0
- package/skills/code-auditing/SKILL.md +55 -0
- package/skills/copywriting/SKILL.md +248 -0
- package/skills/database-engineer/SKILL.md +47 -0
- package/skills/doc-coauthoring/SKILL.md +379 -0
- package/skills/docker-expert/SKILL.md +412 -0
- package/skills/langgraph/SKILL.md +291 -0
- package/skills/postgresql/SKILL.md +73 -0
- package/skills/pricing-strategy/SKILL.md +360 -0
- package/skills/product-manager/SKILL.md +57 -0
- package/skills/prompt-engineer/README.md +659 -0
- package/skills/prompt-engineer/SKILL.md +256 -0
- package/skills/python-patterns/SKILL.md +445 -0
- package/skills/qa-engineer/SKILL.md +42 -0
- package/skills/rag-engineer/SKILL.md +94 -0
- package/skills/react-patterns/SKILL.md +202 -0
- package/skills/secure-refactoring/SKILL.md +54 -0
- package/skills/security-documentation/SKILL.md +53 -0
- package/skills/senior-architect/SKILL.md +213 -0
- package/skills/senior-architect/references/architecture_patterns.md +103 -0
- package/skills/senior-architect/references/system_design_workflows.md +103 -0
- package/skills/senior-architect/references/tech_decision_guide.md +103 -0
- package/skills/senior-architect/scripts/architecture_diagram_generator.py +114 -0
- package/skills/senior-architect/scripts/dependency_analyzer.py +114 -0
- package/skills/senior-architect/scripts/project_architect.py +114 -0
- package/skills/seo-audit/SKILL.md +491 -0
- package/skills/sql-injection-testing/SKILL.md +452 -0
- package/skills/test-driven-development/SKILL.md +375 -0
- package/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/skills/test-fixing/SKILL.md +123 -0
- package/skills/testing-patterns/SKILL.md +263 -0
- package/skills/typescript-expert/SKILL.md +202 -0
- package/skills/typescript-expert/references/advanced-topics.md +252 -0
- package/skills/typescript-expert/references/tsconfig-strict.json +92 -0
- package/skills/typescript-expert/references/typescript-cheatsheet.md +383 -0
- package/skills/typescript-expert/references/utility-types.ts +335 -0
- package/skills/typescript-expert/scripts/ts_diagnostic.py +203 -0
- package/skills/ui-ux-designer/SKILL.md +46 -0
- package/skills/vercel-deployment/SKILL.md +83 -0
- package/skills/vulnerability-scanner/SKILL.md +280 -0
- package/skills/vulnerability-scanner/checklists.md +121 -0
- package/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/skills/writing-plans/SKILL.md +120 -0
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
# 🎯 Prompt Engineer
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0.1
|
|
4
|
+
**Status:** ✨ Zero-Config | 🌍 Universal
|
|
5
|
+
|
|
6
|
+
Transform raw prompts into optimized, production-ready prompts using 11 established prompting frameworks.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📋 Overview
|
|
11
|
+
|
|
12
|
+
**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.
|
|
13
|
+
|
|
14
|
+
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.
|
|
15
|
+
|
|
16
|
+
### ✨ Key Features
|
|
17
|
+
|
|
18
|
+
- **🎯 Intent Analysis:** Understands what you're trying to accomplish
|
|
19
|
+
- **🧠 11 Frameworks:** RTF, Chain of Thought, RISEN, RODES, Chain of Density, RACE, RISE, STAR, SOAP, CLEAR, GROW
|
|
20
|
+
- **🔄 Framework Blending:** Combines multiple frameworks when needed
|
|
21
|
+
- **❓ Smart Clarification:** Only asks questions when critically needed
|
|
22
|
+
- **📏 Adaptive Output:** Matches prompt length to task complexity
|
|
23
|
+
- **🌍 Universal:** Works in any project, any terminal context
|
|
24
|
+
- **🪄 Magic Mode:** No technical explanations - just results
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🚀 Quick Start
|
|
29
|
+
|
|
30
|
+
### Invoke the Skill
|
|
31
|
+
|
|
32
|
+
Use any of these trigger phrases:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
copilot> improve this prompt: [your rough prompt]
|
|
36
|
+
copilot> optimize prompt: [your idea]
|
|
37
|
+
copilot> refine prompt: [what you want]
|
|
38
|
+
copilot> prompt engineering for: [task description]
|
|
39
|
+
copilot> transform into prompt: [concept]
|
|
40
|
+
copilot> create prompt for: [goal]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Example 1: Simple Task
|
|
44
|
+
|
|
45
|
+
**Input:**
|
|
46
|
+
```bash
|
|
47
|
+
copilot> improve this prompt: help me write Python code
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Skill asks:**
|
|
51
|
+
```
|
|
52
|
+
What type of Python code do you need?
|
|
53
|
+
- [ ] Data analysis
|
|
54
|
+
- [ ] Web scraping
|
|
55
|
+
- [ ] Task automation
|
|
56
|
+
- [ ] API/backend development
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**You select:** "Web scraping"
|
|
60
|
+
|
|
61
|
+
**Output:**
|
|
62
|
+
````markdown
|
|
63
|
+
```
|
|
64
|
+
You are a Python developer expert in web scraping.
|
|
65
|
+
|
|
66
|
+
Task: Create a Python script to scrape data from [specify target website].
|
|
67
|
+
|
|
68
|
+
Requirements:
|
|
69
|
+
- Use BeautifulSoup or Scrapy
|
|
70
|
+
- Implement pagination and rate limiting
|
|
71
|
+
- Store data in structured format (CSV or JSON)
|
|
72
|
+
- Include error handling for network issues
|
|
73
|
+
|
|
74
|
+
Output format: Complete, commented Python code with usage examples.
|
|
75
|
+
```
|
|
76
|
+
````
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### Example 2: Complex Task (No Clarification Needed)
|
|
81
|
+
|
|
82
|
+
**Input:**
|
|
83
|
+
```bash
|
|
84
|
+
copilot> create prompt for: product recommendation system with purchase history and market trends
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Output:**
|
|
88
|
+
````markdown
|
|
89
|
+
```
|
|
90
|
+
Role: You are a senior machine learning engineer specializing in recommendation systems.
|
|
91
|
+
|
|
92
|
+
Objective: Design a product recommendation system that combines user purchase history, preferences, and market trends.
|
|
93
|
+
|
|
94
|
+
Details:
|
|
95
|
+
- Input data sources: user transaction logs, preference surveys, market trend APIs
|
|
96
|
+
- Algorithm considerations: collaborative filtering, content-based filtering, hybrid approaches
|
|
97
|
+
- Performance metrics: precision, recall, diversity, novelty
|
|
98
|
+
- Scalability: system must handle 100k+ users
|
|
99
|
+
|
|
100
|
+
Approach step-by-step:
|
|
101
|
+
1. Analyze the three data sources and their relationships
|
|
102
|
+
2. Propose 2-3 algorithm approaches with trade-offs
|
|
103
|
+
3. Design data pipeline architecture
|
|
104
|
+
4. Define evaluation metrics
|
|
105
|
+
5. Outline implementation roadmap
|
|
106
|
+
|
|
107
|
+
Examples: Show pseudocode for core recommendation logic
|
|
108
|
+
|
|
109
|
+
Sense Check: Validate that the solution balances personalization with discovery and scales to production.
|
|
110
|
+
|
|
111
|
+
Output format: Technical design document with architecture diagrams and implementation roadmap.
|
|
112
|
+
```
|
|
113
|
+
````
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### Example 3: Ambiguous Task (Skill Clarifies)
|
|
118
|
+
|
|
119
|
+
**Input:**
|
|
120
|
+
```bash
|
|
121
|
+
copilot> transform into prompt: I want to improve my process
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
**Skill asks:**
|
|
125
|
+
```
|
|
126
|
+
What process do you want to improve?
|
|
127
|
+
- [ ] Work/productivity process
|
|
128
|
+
- [ ] Learning process
|
|
129
|
+
- [ ] Technical process (development, deployment, etc.)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**You select:** "Work process"
|
|
133
|
+
|
|
134
|
+
**Skill asks:**
|
|
135
|
+
```
|
|
136
|
+
What specific aspect?
|
|
137
|
+
- [ ] Time management
|
|
138
|
+
- [ ] Team collaboration
|
|
139
|
+
- [ ] Decision making
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**You select:** "Decision making"
|
|
143
|
+
|
|
144
|
+
**Output:**
|
|
145
|
+
````markdown
|
|
146
|
+
```
|
|
147
|
+
Context: I struggle with making decisions quickly and effectively at work.
|
|
148
|
+
|
|
149
|
+
Objective: Develop a structured framework to improve decision speed and quality.
|
|
150
|
+
|
|
151
|
+
Current Reality:
|
|
152
|
+
- Decisions delayed by excessive analysis
|
|
153
|
+
- Lack of clear criteria
|
|
154
|
+
- Uncertainty about when to decide vs. gather information
|
|
155
|
+
|
|
156
|
+
Desired Outcome:
|
|
157
|
+
- Consistent decision-making framework
|
|
158
|
+
- Clear criteria for different decision types
|
|
159
|
+
- Reduced decision fatigue
|
|
160
|
+
|
|
161
|
+
Your task:
|
|
162
|
+
1. Assess current patterns and identify bottlenecks
|
|
163
|
+
2. Propose framework (Eisenhower Matrix, RAPID, Decision Tree)
|
|
164
|
+
3. Create decision criteria templates
|
|
165
|
+
4. Design tracking and iteration process
|
|
166
|
+
|
|
167
|
+
Output format: Practical playbook with templates, examples, and metrics.
|
|
168
|
+
```
|
|
169
|
+
````
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## 📚 Supported Frameworks
|
|
174
|
+
|
|
175
|
+
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.
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
### 1. **RTF (Role-Task-Format)**
|
|
180
|
+
|
|
181
|
+
**Structure:** Role → Task → Format
|
|
182
|
+
|
|
183
|
+
**Best for:** Tasks requiring specific expertise or perspective
|
|
184
|
+
|
|
185
|
+
**Components:**
|
|
186
|
+
- **Role:** "You are a [expert identity]"
|
|
187
|
+
- **Task:** "Your task is to [specific action]"
|
|
188
|
+
- **Format:** "Output format: [structure/style]"
|
|
189
|
+
|
|
190
|
+
**Example:**
|
|
191
|
+
```
|
|
192
|
+
You are a senior Python developer.
|
|
193
|
+
Task: Refactor this code for better performance.
|
|
194
|
+
Format: Provide refactored code with inline comments explaining changes.
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
### 2. **Chain of Thought**
|
|
200
|
+
|
|
201
|
+
**Structure:** Problem → Step 1 → Step 2 → ... → Solution
|
|
202
|
+
|
|
203
|
+
**Best for:** Complex reasoning, debugging, mathematical problems, logic puzzles
|
|
204
|
+
|
|
205
|
+
**Components:**
|
|
206
|
+
- Break problem into sequential steps
|
|
207
|
+
- Show reasoning at each stage
|
|
208
|
+
- Build toward final solution
|
|
209
|
+
|
|
210
|
+
**Example:**
|
|
211
|
+
```
|
|
212
|
+
Solve this problem step-by-step:
|
|
213
|
+
1. Identify the core issue
|
|
214
|
+
2. Analyze contributing factors
|
|
215
|
+
3. Propose solution approach
|
|
216
|
+
4. Validate solution against requirements
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
### 3. **RISEN**
|
|
222
|
+
|
|
223
|
+
**Structure:** Role, Instructions, Steps, End goal, Narrowing
|
|
224
|
+
|
|
225
|
+
**Best for:** Multi-phase projects with clear deliverables and constraints
|
|
226
|
+
|
|
227
|
+
**Components:**
|
|
228
|
+
- **Role:** Expert identity
|
|
229
|
+
- **Instructions:** What to do
|
|
230
|
+
- **Steps:** Sequential actions
|
|
231
|
+
- **End goal:** Desired outcome
|
|
232
|
+
- **Narrowing:** Constraints and focus areas
|
|
233
|
+
|
|
234
|
+
**Example:**
|
|
235
|
+
```
|
|
236
|
+
Role: You are a DevOps architect.
|
|
237
|
+
Instructions: Design a CI/CD pipeline for microservices.
|
|
238
|
+
Steps: 1) Analyze requirements 2) Select tools 3) Design workflow 4) Document
|
|
239
|
+
End goal: Automated deployment with zero-downtime releases.
|
|
240
|
+
Narrowing: Focus on AWS, limit to 3 environments (dev/staging/prod).
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
### 4. **RODES**
|
|
246
|
+
|
|
247
|
+
**Structure:** Role, Objective, Details, Examples, Sense check
|
|
248
|
+
|
|
249
|
+
**Best for:** Complex design, system architecture, research proposals
|
|
250
|
+
|
|
251
|
+
**Components:**
|
|
252
|
+
- **Role:** Expert perspective
|
|
253
|
+
- **Objective:** What to achieve
|
|
254
|
+
- **Details:** Context and requirements
|
|
255
|
+
- **Examples:** Concrete illustrations
|
|
256
|
+
- **Sense check:** Validation criteria
|
|
257
|
+
|
|
258
|
+
**Example:**
|
|
259
|
+
```
|
|
260
|
+
Role: You are a system architect.
|
|
261
|
+
Objective: Design a scalable e-commerce platform.
|
|
262
|
+
Details: Handle 100k concurrent users, sub-200ms response time, multi-region.
|
|
263
|
+
Examples: Show database schema, caching strategy, load balancing.
|
|
264
|
+
Sense check: Validate solution meets latency and scalability requirements.
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
### 5. **Chain of Density**
|
|
270
|
+
|
|
271
|
+
**Structure:** Iteration 1 (verbose) → Iteration 2 → ... → Iteration 5 (maximum density)
|
|
272
|
+
|
|
273
|
+
**Best for:** Summarization, compression, synthesis of long content
|
|
274
|
+
|
|
275
|
+
**Process:**
|
|
276
|
+
- Start with verbose explanation
|
|
277
|
+
- Iteratively compress while preserving key information
|
|
278
|
+
- End with maximally dense version (high information per word)
|
|
279
|
+
|
|
280
|
+
**Example:**
|
|
281
|
+
```
|
|
282
|
+
Compress this article into progressively denser summaries:
|
|
283
|
+
1. Initial summary (300 words)
|
|
284
|
+
2. Compressed (200 words)
|
|
285
|
+
3. Further compressed (100 words)
|
|
286
|
+
4. Dense (50 words)
|
|
287
|
+
5. Maximum density (25 words, all critical points)
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
### 6. **RACE**
|
|
293
|
+
|
|
294
|
+
**Structure:** Role, Audience, Context, Expectation
|
|
295
|
+
|
|
296
|
+
**Best for:** Communication, presentations, stakeholder updates, storytelling
|
|
297
|
+
|
|
298
|
+
**Components:**
|
|
299
|
+
- **Role:** Communicator identity
|
|
300
|
+
- **Audience:** Who you're addressing (expertise level, concerns)
|
|
301
|
+
- **Context:** Background/situation
|
|
302
|
+
- **Expectation:** What audience needs to know or do
|
|
303
|
+
|
|
304
|
+
**Example:**
|
|
305
|
+
```
|
|
306
|
+
Role: You are a product manager.
|
|
307
|
+
Audience: Non-technical executives.
|
|
308
|
+
Context: Quarterly business review, product performance down 5%.
|
|
309
|
+
Expectation: Explain root causes and recovery plan in non-technical terms.
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
### 7. **RISE**
|
|
315
|
+
|
|
316
|
+
**Structure:** Research, Investigate, Synthesize, Evaluate
|
|
317
|
+
|
|
318
|
+
**Best for:** Analysis, investigation, systematic exploration, diagnostic work
|
|
319
|
+
|
|
320
|
+
**Process:**
|
|
321
|
+
1. **Research:** Gather information
|
|
322
|
+
2. **Investigate:** Deep dive into findings
|
|
323
|
+
3. **Synthesize:** Combine insights
|
|
324
|
+
4. **Evaluate:** Assess and recommend
|
|
325
|
+
|
|
326
|
+
**Example:**
|
|
327
|
+
```
|
|
328
|
+
Analyze customer churn data using RISE:
|
|
329
|
+
Research: Collect churn metrics, exit surveys, support tickets.
|
|
330
|
+
Investigate: Identify patterns in churned users.
|
|
331
|
+
Synthesize: Combine findings into themes.
|
|
332
|
+
Evaluate: Recommend retention strategies based on evidence.
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
### 8. **STAR**
|
|
338
|
+
|
|
339
|
+
**Structure:** Situation, Task, Action, Result
|
|
340
|
+
|
|
341
|
+
**Best for:** Problem-solving with rich context, case studies, retrospectives
|
|
342
|
+
|
|
343
|
+
**Components:**
|
|
344
|
+
- **Situation:** Background context
|
|
345
|
+
- **Task:** Specific challenge
|
|
346
|
+
- **Action:** What needs doing
|
|
347
|
+
- **Result:** Expected outcome
|
|
348
|
+
|
|
349
|
+
**Example:**
|
|
350
|
+
```
|
|
351
|
+
Situation: Legacy monolith causing deployment delays (2 weeks per release).
|
|
352
|
+
Task: Modernize architecture to enable daily deployments.
|
|
353
|
+
Action: Migrate to microservices, implement CI/CD, containerize.
|
|
354
|
+
Result: Deploy 10+ times per day with <5% rollback rate.
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
### 9. **SOAP**
|
|
360
|
+
|
|
361
|
+
**Structure:** Subjective, Objective, Assessment, Plan
|
|
362
|
+
|
|
363
|
+
**Best for:** Structured documentation, medical records, technical logs, incident reports
|
|
364
|
+
|
|
365
|
+
**Components:**
|
|
366
|
+
- **Subjective:** Reported information (symptoms, complaints)
|
|
367
|
+
- **Objective:** Observable facts (metrics, data)
|
|
368
|
+
- **Assessment:** Analysis and diagnosis
|
|
369
|
+
- **Plan:** Recommended actions
|
|
370
|
+
|
|
371
|
+
**Example:**
|
|
372
|
+
```
|
|
373
|
+
Incident Report (SOAP):
|
|
374
|
+
Subjective: Users report slow page loads starting 10 AM.
|
|
375
|
+
Objective: Average response time increased from 200ms to 3s. CPU at 95%.
|
|
376
|
+
Assessment: Database connection pool exhausted due to traffic spike.
|
|
377
|
+
Plan: 1) Scale pool size 2) Add monitoring alerts 3) Review query performance.
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
### 10. **CLEAR**
|
|
383
|
+
|
|
384
|
+
**Structure:** Collaborative, Limited, Emotional, Appreciable, Refinable
|
|
385
|
+
|
|
386
|
+
**Best for:** Goal-setting, OKRs, measurable objectives, team alignment
|
|
387
|
+
|
|
388
|
+
**Components:**
|
|
389
|
+
- **Collaborative:** Who's involved
|
|
390
|
+
- **Limited:** Scope boundaries (time, resources)
|
|
391
|
+
- **Emotional:** Why it matters (motivation)
|
|
392
|
+
- **Appreciable:** Measurable progress indicators
|
|
393
|
+
- **Refinable:** How to iterate and improve
|
|
394
|
+
|
|
395
|
+
**Example:**
|
|
396
|
+
```
|
|
397
|
+
Q1 Objective (CLEAR):
|
|
398
|
+
Collaborative: Engineering + Product teams.
|
|
399
|
+
Limited: Complete by March 31, budget $50k, 2 engineers allocated.
|
|
400
|
+
Emotional: Reduces customer support load by 30%, improves satisfaction.
|
|
401
|
+
Appreciable: Track weekly via tickets resolved, NPS score, deployment count.
|
|
402
|
+
Refinable: Bi-weekly retrospectives, adjust priorities based on feedback.
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
### 11. **GROW**
|
|
408
|
+
|
|
409
|
+
**Structure:** Goal, Reality, Options, Will
|
|
410
|
+
|
|
411
|
+
**Best for:** Coaching, personal development, growth planning, mentorship
|
|
412
|
+
|
|
413
|
+
**Components:**
|
|
414
|
+
- **Goal:** What to achieve
|
|
415
|
+
- **Reality:** Current situation (strengths, gaps)
|
|
416
|
+
- **Options:** Possible approaches
|
|
417
|
+
- **Will:** Commitment to action
|
|
418
|
+
|
|
419
|
+
**Example:**
|
|
420
|
+
```
|
|
421
|
+
Career Development (GROW):
|
|
422
|
+
Goal: Become senior engineer within 12 months.
|
|
423
|
+
Reality: Strong coding skills, weak in system design and leadership.
|
|
424
|
+
Options: 1) Take system design course 2) Lead a project 3) Find mentor.
|
|
425
|
+
Will: Commit to 5 hours/week study, lead Q2 project, find mentor by Feb.
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
### Framework Selection Logic
|
|
431
|
+
|
|
432
|
+
The skill analyzes your input and:
|
|
433
|
+
|
|
434
|
+
1. **Detects task type**
|
|
435
|
+
- Coding, writing, analysis, design, communication, etc.
|
|
436
|
+
|
|
437
|
+
2. **Identifies complexity**
|
|
438
|
+
- Simple (1-2 sentences) → Fast, minimal structure
|
|
439
|
+
- Moderate (paragraph) → Standard framework
|
|
440
|
+
- Complex (detailed requirements) → Advanced framework or blend
|
|
441
|
+
|
|
442
|
+
3. **Selects primary framework**
|
|
443
|
+
- RTF → Role-based tasks
|
|
444
|
+
- Chain of Thought → Step-by-step reasoning
|
|
445
|
+
- RISEN/RODES → Complex projects
|
|
446
|
+
- RACE → Communication
|
|
447
|
+
- STAR → Contextual problems
|
|
448
|
+
- And so on...
|
|
449
|
+
|
|
450
|
+
4. **Blends secondary frameworks when needed**
|
|
451
|
+
- RODES + Chain of Thought → Complex technical projects
|
|
452
|
+
- CLEAR + GROW → Leadership goals
|
|
453
|
+
- RACE + STAR → Strategic communication
|
|
454
|
+
|
|
455
|
+
**You never choose the framework manually** - the skill does it automatically in "magic mode."
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
### Common Framework Blends
|
|
460
|
+
|
|
461
|
+
| Task Type | Primary Framework | Blended With | Result |
|
|
462
|
+
|-----------|------------------|--------------|--------|
|
|
463
|
+
| Complex technical design | RODES | Chain of Thought | Structured design with step-by-step reasoning |
|
|
464
|
+
| Leadership development | CLEAR | GROW | Measurable goals with action commitment |
|
|
465
|
+
| Strategic communication | RACE | STAR | Audience-aware storytelling with context |
|
|
466
|
+
| Incident investigation | RISE | SOAP | Systematic analysis with structured documentation |
|
|
467
|
+
| Project planning | RISEN | RTF | Multi-phase delivery with role clarity |
|
|
468
|
+
|
|
469
|
+
---
|
|
470
|
+
|
|
471
|
+
## 🎯 How It Works
|
|
472
|
+
|
|
473
|
+
```
|
|
474
|
+
User Input (rough prompt)
|
|
475
|
+
↓
|
|
476
|
+
┌────────────────────────┐
|
|
477
|
+
│ 1. Analyze Intent │ What is the user trying to do?
|
|
478
|
+
│ - Task type │ Coding? Writing? Analysis? Design?
|
|
479
|
+
│ - Complexity │ Simple, moderate, complex?
|
|
480
|
+
│ - Clarity │ Clear or ambiguous?
|
|
481
|
+
└────────┬───────────────┘
|
|
482
|
+
↓
|
|
483
|
+
┌────────────────────────┐
|
|
484
|
+
│ 2. Clarify (Optional) │ Only if critically needed
|
|
485
|
+
│ - Ask 2-3 questions │ Multiple choice when possible
|
|
486
|
+
│ - Fill missing gaps │
|
|
487
|
+
└────────┬───────────────┘
|
|
488
|
+
↓
|
|
489
|
+
┌────────────────────────┐
|
|
490
|
+
│ 3. Select Framework(s) │ Silent selection
|
|
491
|
+
│ - Map task → framework
|
|
492
|
+
│ - Blend if needed │
|
|
493
|
+
└────────┬───────────────┘
|
|
494
|
+
↓
|
|
495
|
+
┌────────────────────────┐
|
|
496
|
+
│ 4. Generate Prompt │ Apply framework rules
|
|
497
|
+
│ - Add role/context │
|
|
498
|
+
│ - Structure task │
|
|
499
|
+
│ - Define format │
|
|
500
|
+
│ - Add examples │
|
|
501
|
+
└────────┬───────────────┘
|
|
502
|
+
↓
|
|
503
|
+
┌────────────────────────┐
|
|
504
|
+
│ 5. Output │ Clean, copy-ready
|
|
505
|
+
│ Markdown code block │ No explanations
|
|
506
|
+
└────────────────────────┘
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
---
|
|
510
|
+
|
|
511
|
+
## 🎨 Use Cases
|
|
512
|
+
|
|
513
|
+
### Coding
|
|
514
|
+
|
|
515
|
+
```bash
|
|
516
|
+
copilot> optimize prompt: create REST API in Python
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
→ Generates structured prompt with role, requirements, output format, examples
|
|
520
|
+
|
|
521
|
+
---
|
|
522
|
+
|
|
523
|
+
### Writing
|
|
524
|
+
|
|
525
|
+
```bash
|
|
526
|
+
copilot> create prompt for: write technical article about microservices
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
→ Generates audience-aware prompt with structure, tone, and content guidelines
|
|
530
|
+
|
|
531
|
+
---
|
|
532
|
+
|
|
533
|
+
### Analysis
|
|
534
|
+
|
|
535
|
+
```bash
|
|
536
|
+
copilot> refine prompt: analyze sales data and identify trends
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
→ Generates step-by-step analytical framework with visualization requirements
|
|
540
|
+
|
|
541
|
+
---
|
|
542
|
+
|
|
543
|
+
### Decision Making
|
|
544
|
+
|
|
545
|
+
```bash
|
|
546
|
+
copilot> improve this prompt: I need to decide between technology A and B
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
→ Generates decision framework with criteria, trade-offs, and validation
|
|
550
|
+
|
|
551
|
+
---
|
|
552
|
+
|
|
553
|
+
### Learning
|
|
554
|
+
|
|
555
|
+
```bash
|
|
556
|
+
copilot> transform into prompt: learn machine learning from zero
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
→ Generates learning path prompt with phases, resources, and milestones
|
|
560
|
+
|
|
561
|
+
---
|
|
562
|
+
|
|
563
|
+
## ❓ FAQ
|
|
564
|
+
|
|
565
|
+
### Q: Does this skill work outside of Obsidian vaults?
|
|
566
|
+
**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.
|
|
567
|
+
|
|
568
|
+
---
|
|
569
|
+
|
|
570
|
+
### Q: Do I need to know prompting frameworks?
|
|
571
|
+
**A:** No. The skill knows all 11 frameworks and selects the best one(s) automatically based on your task.
|
|
572
|
+
|
|
573
|
+
---
|
|
574
|
+
|
|
575
|
+
### Q: Will the skill explain which framework it used?
|
|
576
|
+
**A:** No. It operates in "magic mode" - you get the polished prompt without technical explanations. If you want to know, you can ask explicitly.
|
|
577
|
+
|
|
578
|
+
---
|
|
579
|
+
|
|
580
|
+
### Q: How many questions will the skill ask me?
|
|
581
|
+
**A:** Maximum 2-3 questions, and only when information is critically missing. Most of the time, it generates the prompt directly.
|
|
582
|
+
|
|
583
|
+
---
|
|
584
|
+
|
|
585
|
+
### Q: Can I customize the frameworks?
|
|
586
|
+
**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...").
|
|
587
|
+
|
|
588
|
+
---
|
|
589
|
+
|
|
590
|
+
### Q: Does it support languages other than English?
|
|
591
|
+
**A:** Yes. If you provide input in Portuguese, it generates the prompt in Portuguese. Same for English or mixed inputs.
|
|
592
|
+
|
|
593
|
+
---
|
|
594
|
+
|
|
595
|
+
### Q: What if I don't like the generated prompt?
|
|
596
|
+
**A:** You can ask the skill to refine it: "make it shorter", "add more examples", "focus on X aspect", etc.
|
|
597
|
+
|
|
598
|
+
---
|
|
599
|
+
|
|
600
|
+
### Q: Can I use this for any AI model (Claude, ChatGPT, Gemini)?
|
|
601
|
+
**A:** Yes. The prompts are model-agnostic and work with any conversational AI.
|
|
602
|
+
|
|
603
|
+
---
|
|
604
|
+
|
|
605
|
+
## 🔧 Installation (Global Setup)
|
|
606
|
+
|
|
607
|
+
This skill is designed to work **globally** across all your projects.
|
|
608
|
+
|
|
609
|
+
### Option 1: Use from Repository
|
|
610
|
+
|
|
611
|
+
1. Clone the repository:
|
|
612
|
+
```bash
|
|
613
|
+
git clone https://github.com/eric.andrade/cli-ai-skills.git
|
|
614
|
+
```
|
|
615
|
+
|
|
616
|
+
2. Configure Copilot to load skills globally:
|
|
617
|
+
```bash
|
|
618
|
+
# Add to ~/.copilot/config.json
|
|
619
|
+
{
|
|
620
|
+
"skills": {
|
|
621
|
+
"directories": [
|
|
622
|
+
"/path/to/cli-ai-skills/.github/skills"
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
### Option 2: Copy to Global Skills Directory
|
|
629
|
+
|
|
630
|
+
```bash
|
|
631
|
+
cp -r /path/to/cli-ai-skills/.github/skills/prompt-engineer ~/.copilot/global-skills/
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
Then configure:
|
|
635
|
+
```bash
|
|
636
|
+
# Add to ~/.copilot/config.json
|
|
637
|
+
{
|
|
638
|
+
"skills": {
|
|
639
|
+
"directories": [
|
|
640
|
+
"~/.copilot/global-skills"
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
---
|
|
647
|
+
|
|
648
|
+
## 📖 Learn More
|
|
649
|
+
|
|
650
|
+
- **[Skill Development Guide](../../resources/skills-development.md)** - Learn how to create your own skills
|
|
651
|
+
- **[SKILL.md](./SKILL.md)** - Full technical specification of this skill
|
|
652
|
+
- **[Repository README](../../README.md)** - Overview of all available skills
|
|
653
|
+
|
|
654
|
+
---
|
|
655
|
+
|
|
656
|
+
## 📄 Version
|
|
657
|
+
|
|
658
|
+
**v1.0.1** | Zero-Config | Universal
|
|
659
|
+
*Works in any project, any context, any terminal.*
|