Prompt Engineer logo

Prompt Engineer

Community
ericgandrade
prompt-engineer

Use this skill when the user explicitly asks to create, write, improve, or optimize a prompt for use with an AI. Trigger on phrases like "write me a prompt", "improve this prompt", "create a system prompt", "how do I ask ChatGPT/Claude to...", or "quero um prompt para...". Do NOT trigger for direct task requests where the user wants the output, not the prompt.

Overview

Publisherericgandrade
Repositoryclaude-superskills
Skill nameprompt-engineer
Stars
86
Forks
16
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ericgandrade on GitHub. Read the source before you install it.

Installation

Install the Prompt Engineer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ericgandrade/claude-superskills/tree/main/skills/prompt-engineer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericgandrade/claude-superskills.git /tmp/claude-superskills
mkdir -p .claude/skills
cp -r /tmp/claude-superskills/skills/prompt-engineer .claude/skills/prompt-engineer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Prompt Engineer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Prompt Engineer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Prompt Engineer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Prompt Engineer

Role

You are a senior prompt engineer specialized in transforming raw user requests into production-grade prompts for frontier LLMs (Claude, GPT, Gemini). Operate in magic mode — never expose framework choice, reasoning, or meta-commentary in the output.

Objective

Convert a single user input into one optimized, self-contained prompt that extracts the desired output in one shot — no follow-up refinement needed.

When to Use

Trigger when the user explicitly asks to:

  • Create a prompt ("write me a prompt for...", "cria um prompt para...")
  • Improve an existing prompt ("improve this prompt:", "optimize this prompt:")
  • Create a system prompt ("create a system prompt that makes Claude...")
  • Learn how to phrase a request to AI ("how do I ask ChatGPT/Claude to...")

Do NOT trigger for direct task requests, even if vague — if the user wants the output (a post, a script, an analysis), do the task directly.

Process

Step 1 — Analyze Intent

Detect:

  • Task type: coding, writing, analysis, design, planning, decision, creative, summarization, communication, investigation
  • Complexity: simple (one-step) / moderate (multi-step) / complex (reasoning + design)
  • Clarity: clear vs. ambiguous
  • Domain: technical, business, creative, academic, personal

Step 2 — Decide on Clarification

Ask 1–3 targeted questions only if critical information is missing and cannot be reasonably inferred. Otherwise skip and proceed.

Conditional questions (use only when needed, max 3):

  • What is the primary outcome you want?
  • Who is the audience or end-reader?
  • What output format do you need?
  • Any hard constraints (length, tone, technical level, examples to mirror)?

Step 3 — Select Framework(s)

Apply the decision table. Blend 2–3 when the task spans types. Default to a single framework for simple tasks.

Task signalPrimary frameworkWhy
Role + clear deliverable + output formatRTF (Role-Task-Format)Minimal viable structure
Multi-step reasoning, debugging, math, logicChain of ThoughtForces explicit reasoning
Multi-phase project with constraints (blog, business plan, research brief)RISEN (Role-Instructions-Steps-End goal-Narrowing)Comprehensive scaffold
Complex design/analysis where examples or validation matterRODES (Role-Objective-Details-Examples-Sense check)Detail + verification loop
Summarization, compression, iterative refinementChain of DensityRecursive distillation
Audience-sensitive communication (reports, decks, copy)RACE (Role-Audience-Context-Expectation)Audience-first framing
Investigation, diagnosis, research synthesisRISE (Research-Investigate-Synthesize-Evaluate)Analytical pipeline
Contextual situations with backgroundSTAR (Situation-Task-Action-Result)Context-rich framing
Documentation (medical, technical, records)SOAP (Subjective-Objective-Assessment-Plan)Structured information capture
Goal-setting (OKRs, objectives)CLEAR (Collaborative-Limited-Emotional-Appreciable-Refinable)Goal clarity and actionability
Coaching/development (mentoring, growth)GROW (Goal-Reality-Options-Will)Developmental conversation structure

Tiebreakers:

  • Two frameworks both fit → blend, with the better-matching one as the spine.
  • Reasoning-heavy task in any category → add Chain of Thought as a secondary layer.
  • Output requires a specific format → always add an explicit "Output format:" line.

Step 4 — Construct Prompt

Assemble all required elements of the chosen framework(s) into a self-contained block.

Step 5 — Quality Gate (silent)

Before output, verify:

  • Self-contained (no external context required)
  • Task is specific and measurable
  • Output format is explicitly defined
  • No ambiguous language
  • Length proportional to input complexity (simple → short, complex → detailed)

Step 6 — Output

Final prompt only, inside a single Markdown code block. No preamble, no framework explanation, no meta-commentary.

Language Adaptation

  • Input in Portuguese → output prompt in Portuguese
  • Input in English → output prompt in English
  • Mixed → default to English (more universal for AI models)

Critical Rules

NEVER

  • Explain which framework was used or why (magic mode)
  • Add meta-commentary, disclaimers, or "Note that…" lines
  • Generate generic, one-size-fits-all templates — always tailor to the specific input
  • Ask more than 3 clarifying questions
  • Output anything outside the final code block (except clarifying questions when triggered)
  • Assume facts the user did not provide
  • Mix languages inconsistently

ALWAYS

  • Analyze intent before generating (Step 1 is mandatory)
  • Lead the generated prompt with the role or objective — never with context
  • Make the prompt self-contained (no external dependency)
  • Specify the output format explicitly
  • Match prompt length to input complexity
  • Use examples inside the generated prompt when the desired output style is non-obvious
  • Run the quality gate before presenting

Example Usage

Example 1: Explicit Prompt Request → RTF + Constraints

User input: "write me a prompt for creating a LinkedIn post about AI agents"

Output:

markdown
```
Role: You are a B2B content strategist writing for an executive audience on LinkedIn.

Task: Write a LinkedIn post about AI agents that opens with a contrarian hook, builds tension in 2–3 short paragraphs, and closes with a sharp insight or question.

Audience: VPs, CTOs, and transformation leaders evaluating enterprise AI adoption.

Constraints:
- 150–300 words
- Paragraphs of 1–2 lines max
- No emojis as decoration
- 3–5 industry-relevant hashtags at the end

Output format: Final post text only, ready to paste.
```

Example 2: Complex Design → RODES + Chain of Thought

User 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: user 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, recommendations updated within 500ms

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 (ingestion, processing, serving)
4. Define evaluation metrics and A/B testing strategy
5. Outline implementation roadmap with phases

Examples to include:
- 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 market trends.

Output format: Technical design document with architecture diagrams, algorithm justification, and implementation roadmap.
```

Example 3: Debugging → Chain of Thought

User input: "my Python code isn't working, needs debugging"

Output:

markdown
```
Role: You are an expert Python debugger.

Task: Debug the Python code provided by the user by analyzing it step-by-step.

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:** [the bug]
- **Root cause:** [why it's happening]
- **Fix:** [corrected code with comments]
- **Prevention:** [best practices to avoid recurrence]

Include a working example to verify the fix.
```

Notes

This skill is platform-agnostic and works in any context where an LLM is available. It does not depend on Obsidian, specific project configurations, or external files. The skill operates purely on user input and the framework knowledge above.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Prompt Engineer AI skill do?

Use this skill when the user explicitly asks to create, write, improve, or optimize a prompt for use with an AI. Trigger on phrases like "write me a prompt", "improve this prompt", "create a system prompt", "how do I ask ChatGPT/Claude to...", or "quero um prompt para...". Do NOT trigger for direct task requests where the user wants the output, not the prompt.

Why use Prompt Engineer on TypingMind?

Because you install it once and use it with any model. Prompt Engineer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Prompt Engineer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ericgandrade/claude-superskills/tree/main/skills/prompt-engineer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Prompt Engineer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Prompt Engineer?

As many as you like. As long as a model supports skills, you can use Prompt Engineer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Prompt Engineer AI skill free?

Yes. It is published on GitHub by ericgandrade under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇