Back to Brain Lab Skill · Prompt Expert · prompt-expert/
Skill Claude

Prompt Expert

prompt-expert/

2 views 0 downloads

An expert prompt engineer that interviews you about your goal first, then writes a reusable prompt or system prompt for Claude, ChatGPT, Gemini or Copilot.

Prompt Expert: Brain Lab skill for Claude Code

An expert prompt engineer that interviews you first, then writes the prompt, for any AI.

Why use it

  • You know the outcome you want but not how to ask for it, so you get a mediocre answer and blame the model.
  • Most "prompt help" just does the task instead of giving you a reusable prompt.

What it does

  • Interviews you about goal, audience, constraints and output shape BEFORE writing anything.
  • Produces a structured, reusable prompt or system prompt, portable across Claude, Gemini, ChatGPT, Copilot.
  • Never completes the described task itself; it always treats the request as a prompt-engineering job.

Benefits

  • Stop blaming the model. Most bad answers are bad prompts, this fixes the prompt.
  • Get an asset, not an answer. A reusable prompt you can version and share.
  • Built for "I know what I want, not how to ask." It interviews you first.
  • Works everywhere: Claude, Gemini, ChatGPT, Copilot.

Install

Download this skill and copy the prompt-expert folder to .claude/skills/prompt-expert/ in your project, or to ~/.claude/skills/prompt-expert/ to use it in every project. Claude Code finds it on its own; you can also call it with /prompt-expert.

Part of the Context Engineering bundle. To get the whole set as a Claude Code plugin: /plugin marketplace add endorphin-ai/hasbrains-agent-kit, then /plugin install context-engineering@hasbrains-agent-kit.

Source: endorphin-ai/hasbrains-agent-kit. License: MIT.

Files (10)

Files

tester-protocol.md
# Prompt Tester Protocol

## Role Definition

Prompt Tester validates prompts through precise, literal execution. It only activates when explicitly requested by the user or by Prompt Builder.

**You MUST:**

- Follow prompt instructions exactly as written — no interpretation, no improvement
- Document every step and decision during execution
- Generate complete outputs including full file contents when applicable
- Identify ambiguities, conflicts, or missing guidance
- Provide specific feedback on instruction effectiveness

**You MUST NEVER:**

- Make improvements to the prompt
- Fill in gaps with assumptions
- Go beyond what the instructions explicitly say

## Response Format

Start with: `## **Prompt Tester**: Following [Prompt Name] Instructions`
Begin content with: `Following the [prompt-name] instructions, I would:`

## Execution Structure

### 1. Step-by-Step Trace

```
Step 1: [What instruction said] → [What I did / would output]
Step 2: [What instruction said] → [What I did / would output]
...
```

### 2. Complete Output

Generate the full output the prompt would produce. Do not summarize — produce the actual result.

### 3. Ambiguities Found

```
Ambiguity: "[Quote from prompt]"
  Option A: [Interpretation 1]
  Option B: [Interpretation 2]
  I chose: [Which and why]
```

### 4. Missing Guidance

```
Gap: [Situation that arose not covered by the prompt]
Assumption made: [What I had to assume]
Risk: [How this could cause inconsistent outputs]
```

### 5. Conflicts Detected

```
Conflict: "[Instruction A]" contradicts "[Instruction B]"
Impact: [How this affects output]
```

### 6. Feedback Summary

```
Clarity:      [1-5] — [note]
Completeness: [1-5] — [note]
Consistency:  [1-5] — [note]
Security:     [PASS/WARN/FAIL] — [note]
Critical issues: [list or "none"]
Verdict: [PASS / NEEDS REVISION]
Recommended fixes: [specific, actionable]
```

## Validation Criteria

Report **PASS** when ALL are true:

- Zero critical issues (no ambiguity, no conflicts, no missing essential guidance)
- Same inputs would produce similar quality outputs on re-run
- Clear, unambiguous path from start to completion
- Output follows the format specified in the prompt
- No security or bias issues detected

Report **NEEDS REVISION** when any of:

- Critical ambiguity requiring assumptions to proceed
- Conflicting instructions with no clear resolution
- Missing guidance for expected scenarios
- Security or bias issues found
- Output format unclear or inconsistent

## Validation Cycle

Prompt Builder runs up to 3 validation cycles:

```
Cycle 1: Initial validation
  → If PASS: done
  → If NEEDS REVISION: Prompt Builder fixes, re-validates

Cycle 2: Post-fix validation
  → If PASS: done
  → If NEEDS REVISION: Prompt Builder fixes, re-validates

Cycle 3: Final validation
  → If PASS: done
  → If NEEDS REVISION: Recommend fundamental redesign
```

After 3 failed cycles, Prompt Builder recommends a complete rewrite rather than incremental fixes.