Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Prompt Engineer

ASecurity

This skill transforms raw, unstructured user prompts into highly optimized prompts using established prompting frameworks. It analyzes user intent, identifies task complexity, and intelligently selects the most appropriate framework(s) to maximize LLM output quality.

22 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongodebuggingdocumentation

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lev-os/agents --skill prompt-engineer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Engineer?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Prompt Engineer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lev-os-prompt-engineer/badge)](https://www.skillsdirectory.com/skills/lev-os-prompt-engineer)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
# Prompt Engineer

## Purpose

This skill transforms raw, unstructured user prompts into highly optimized prompts using established prompting frameworks. It analyzes user intent, identifies task complexity, and intelligently selects the most appropriate framework(s) to maximize LLM output quality.

The skill operates in "magic mode" - it works silently behind the scenes, only interacting with users when clarification is critically needed. Users receive polished, ready-to-use prompts without technical explanations or framework jargon.

## When to Use

Invoke this skill when:

- User provides a vague or generic prompt (e.g., "help me code Python")
- User has a complex idea but struggles to articulate it clearly
- User's prompt lacks structure, context, or specific requirements
- Task requires step-by-step reasoning (debugging, analysis, design)
- User needs a prompt for a specific AI task but doesn't know prompting frameworks
- User wants to improve an existing prompt's effectiveness
- User asks variations of "how do I ask AI to..." or "create a prompt for..."

## Workflow

### Step 1: Analyze Intent

1. Read the raw prompt provided by the user
2. Detect task characteristics:
   - **Type:** coding, writing, analysis, design, learning, planning, decision-making, creative, etc.
   - **Complexity:** simple (one-step), moderate (multi-step), complex (requires reasoning/design)
   - **Clarity:** clear intention vs. ambiguous/vague
   - **Domain:** technical, business, creative, academic, personal, etc.
3. Identify implicit requirements:
   - Does user need examples?
   - Is output format specified?
   - Are there constraints (time, resources, scope)?
   - Is this exploratory or execution-focused?

**Detection Patterns:**
- **Simple tasks:** Short prompts (<50 chars), single verb, no context
- **Complex tasks:** Long prompts (>200 chars), multiple requirements, conditional logic
- **Ambiguous tasks:** Generic verbs ("help", "improve"), missing object/context
- **Structured tasks:** Mentions steps, phases, deliverables, stakeholders

### Step 2: Clarify (Conditional)

Ask up to 3 clarifying questions if critical information is ambiguous or missing. Never assume details; request them explicitly.

### Step 3: Select Framework(s)

**Framework Mapping Logic:**

| Task Type | Recommended Framework(s) | Rationale |
|---|---|---|
| **Role-based tasks** | **RTF** (Role-Task-Format) | Clear role definition + task + output format |
| **Step-by-step reasoning** | **Chain of Thought** | Encourages explicit reasoning steps |
| **Structured projects** | **RISEN** (Role, Instructions, Steps, End goal, Narrowing) | Comprehensive structure for complex work |
| **Complex design/analysis** | **RODES** (Role, Objective, Details, Examples, Sense check) | Balances detail with validation |
| **Summarization** | **Chain of Density** | Iterative refinement to essential info |
| **Communication** | **RACE** (Role, Audience, Context, Expectation) | Audience-aware messaging |
| **Investigation/analysis** | **RISE** (Research, Investigate, Synthesize, Evaluate) | Systematic analytical approach |
| **Contextual situations** | **STAR** (Situation, Task, Action, Result) | Context-rich problem framing |
| **Documentation** | **SOAP** (Subjective, Objective, Assessment, Plan) | Structured information capture |
| **Goal-setting** | **CLEAR** (Collaborative, Limited, Emotional, Appreciable, Refinable) | Goal clarity and actionability |
| **Coaching/development** | **GROW** (Goal, Reality, Options, Will) | Developmental conversation structure |

**Blending Strategy:**
- Combine 2-3 frameworks when task spans multiple types
- Example: Complex technical project -> RODES + Chain of Thought
- Example: Leadership decision -> CLEAR + GROW
- Avoid over-engineering: simple tasks get simple frameworks

**Critical Rule:** This selection happens silently - do not explain framework choice to user.

### Step 4: Generate Optimized Prompt

**Construction Guidelines:**
- Incorporate all framework components seamlessly
- Use clear, direct language appropriate to task domain
- Include output format specification
- Add examples for complex prompts
- Ensure prompt is self-contained (no external context needed)
- Adapt length to original input complexity

**Quality Checks:**
- [ ] Prompt is self-contained
- [ ] Task is specific and measurable
- [ ] Output format is clear
- [ ] No ambiguous language
- [ ] Appropriate level of detail for task complexity

## Critical Rules

### NEVER:

- Assume information that wasn't provided - ALWAYS ask if critical details are missing
- Explain which framework was selected or why (magic mode)
- Generate generic, one-size-fits-all prompts
- Use technical jargon in the final prompt (unless user's domain is technical)
- Ask more than 3 clarifying questions
- Include meta-commentary in the output
- Mix languages inconsistently

### ALWAYS:

- Analyze intent before generating (Step 1 is mandatory)
- Ask clarifying questions if critical information is ambiguous
- Select framework(s) based on task type and complexity
- Blend multiple frameworks when it improves prompt quality
- Adapt prompt length to original input complexity
- Include output format specification in generated prompts
- Present final prompt in clean Markdown code block
- Make prompts self-contained
- Use examples in complex prompts
- Validate prompt completeness before presenting

Attribution

lev-oslev-os
View sourceMore from lev-os →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →