AI Skill Report Card

Engineering Prompts

A-83·Aug 26, 2026·Source: Extension-page
Markdown
--- name: engineering-prompts description: Transforms vague or unstructured user prompts into optimized, framework-based prompts (RTF, RISEN, Chain of Thought, RODES, Chain of Density, RACE, RISE, STAR, SOAP, CLEAR, GROW) for use with AI models. Use when a user gives a vague request like "help me code X," asks "create a prompt for...", "how do I ask AI to...", or wants to improve an existing prompt's clarity and effectiveness. --- Transforms raw, unstructured prompts into polished, framework-optimized prompts — operating in "magic mode" (silent framework selection, no jargon in output).
14 / 15

Given: "help me code Python"

Output only this (no explanation):

Markdown
Role: You are an expert Python developer and mentor. Task: Help the user write Python code by first understanding their specific goal. Approach: 1. Ask what the code should accomplish (if not already stated) 2. Identify inputs, outputs, and constraints 3. Write clean, well-commented code 4. Explain key logic decisions 5. Suggest tests or edge cases to verify correctness Output format: - **Code:** (in a code block, with comments) - **Explanation:** (brief, plain language) - **Edge cases to consider:** (bullet list)
Recommendation
Add an example showing a bad/failed output (e.g., over-explained or jargon-laden) contrasted with the good version, since the criteria value both good and bad outcomes
14 / 15

Progress:

  • Step 1: Analyze intent
  • Step 2: Ask clarifying questions (only if critical)
  • Step 3: Select framework(s)
  • Step 4: Generate optimized prompt
  • Step 5: Quality check before output

Step 1: Analyze Intent

Detect:

  • Type: coding, writing, analysis, design, learning, planning, decision-making, creative
  • Complexity: simple (<50 chars, one verb) / moderate / complex (>200 chars, multi-step, conditional logic)
  • Clarity: clear vs. ambiguous (generic verbs like "help", "improve" with no object)
  • Domain: technical, business, creative, academic, personal
  • Implicit needs: output format, examples, constraints, exploratory vs. execution

Step 2: Ask Clarifying Questions (Conditional — rare)

Only ask if ONE of these is true:

  • Task type is fully ambiguous (can't tell coding vs. writing vs. analysis)
  • Target audience is unknown and materially changes output
  • Scope is undefined and guessing wrong invalidates the prompt
  • Requested format conflicts or is missing and can't be inferred

Rules:

  • Max 3 questions, combined into one message
  • Default to skipping this step — over-asking breaks the experience
  • When in doubt, generate the best prompt anyway

Step 3: Select Framework(s)

Task TypeFrameworkUse When
Role-based tasksRTF (Role-Task-Format)Simple role + task + output
Step-by-step reasoningChain of ThoughtDebugging, logic, proofs
Multi-phase projectsRISEN (Role, Instructions, Steps, End goal, Narrowing)Complex deliverables
Design/architectureRODES (Role, Objective, Details, Examples, Sense check)Systems, ML, architecture
SummarizationChain of DensityCompress/synthesize info
CommunicationRACE (Role, Audience, Context, Expectation)Reports, presentations
Research/diagnosisRISE (Research, Investigate, Synthesize, Evaluate)Systematic analysis
Contextual problem-solvingSTAR (Situation, Task, Action, Result)Background-rich scenarios
DocumentationSOAP (Subjective, Objective, Assessment, Plan)Medical/technical records
Goal-settingCLEAR (Collaborative, Limited, Emotional, Appreciable, Refinable)OKRs, targets
Coaching/growthGROW (Goal, Reality, Options, Will)Mentoring conversations

Blend 2-3 frameworks when the task spans multiple dimensions:

  • Complex technical project → RODES + Chain of Thought
  • Leadership decision → CLEAR + GROW

Selection is silent — never mention framework names in output.

Step 4: Generate Optimized Prompt

  • Match language to user's input (Portuguese → Portuguese, English → English, mixed → English)
  • Scale length/detail to task complexity (simple task = short prompt, complex task = detailed prompt)
  • Always include explicit output format
  • Make prompt self-contained (no dependency on external context)
  • Add examples for complex/technical prompts

Step 5: Quality Check

Before returning output, verify:

  • Self-contained, no missing context
  • Task is specific and measurable
  • Output format is explicit
  • No ambiguous language
  • Detail level matches task complexity
Recommendation
Clarify how framework blending is chosen algorithmically rather than just giving two examples — a decision heuristic would strengthen completeness
18 / 20

Example 1: Simple vague request Input: "help me with AI" Process: Task type fully ambiguous → clarify. Output:

To craft the best prompt, I need one quick clarification:
1. What do you want to do with AI — build something, learn about it, or use an AI tool for a task?

Example 2: Complex, clear technical request → RODES + Chain of Thought Input: "I need to build a product recommendation system considering purchase history, user preferences, and market trends" Output:

Markdown
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: transaction logs, preference surveys, market trend APIs - Algorithm considerations: collaborative filtering, content-based filtering, hybrid approaches - Performance metrics: precision, recall, diversity, novelty - Scalability: 100k+ users - Real-time constraint: recommendations within 500ms Approach step-by-step: 1. Analyze the three data sources and their relationships 2. Propose 2-3 algorithm approaches with trade-off analysis 3. Design data pipeline architecture (ingestion, processing, serving) 4. Define evaluation metrics and A/B testing strategy 5. Outline implementation roadmap with phases Examples: - Pseudocode for core recommendation logic - Data flow diagram - Sample API response structure Sense Check: Validate that the solution balances personalization with discovery, scales to production load, and incorporates real-time trends effectively. Output format: Technical design document with architecture diagrams, algorithm justification, and implementation roadmap.

Example 3: Debugging request → Chain of Thought Input: "my Python code isn't working, needs debugging" Output:

Markdown
You are an expert Python debugger. Task: Debug the Python code provided by the user by analyzing it step-by-step. Debugging approach: 1. Read and understand the code's intended purpose 2. Identify the error or unexpected behavior 3. Trace variable states at each execution step 4. Locate the root cause 5. Propose a fix with explanation 6. Suggest preventive measures For each step, show your reasoning: what you're checking, what you found, why it matters. Output format: - **Issue identified:** - **Root cause:** - **Fix:** (corrected code with comments) - **Prevention:** Include a working example to verify the fix.
Recommendation
Consider trimming the framework table slightly or moving lesser-used frameworks (SOAP, STAR) to a reference appendix to keep the core workflow tighter
  • Keep framework selection invisible — never say "I used RODES here"
  • Scale prompt length to input complexity: short input → short prompt, long/complex input → detailed prompt
  • Always specify output format explicitly in the generated prompt
  • Present final output in a single Markdown code block, nothing else
  • Preserve user's original language
  • ❌ Explaining framework choice or adding meta-commentary ("This prompt uses...")
  • ❌ Asking more than 3 clarifying questions, or asking when context is sufficient
  • ❌ Assuming missing critical information instead of asking
  • ❌ Generating generic, one-size-fits-all prompts
  • ❌ Mixing languages inconsistently
  • ❌ Omitting output format specification
  • ❌ Using technical jargon in non-technical domains
0
Grade A-AI Skill Framework
Scorecard
Criteria Breakdown
Quick Start
14/15
Workflow
14/15
Examples
18/20
Completeness
18/20
Format
14/15
Conciseness
13/15