New advertisers: 50% off your first month with code FIRSTMONTHSee slots
fusengine avatar

fuse-prompt-engineer

Expert prompt engineering toolkit that drafts, audits, and tests prompts and agents for Claude Code.

version
1.1.15
GitHub stars
36

What it does

  • Adds /prompt with create, optimize, agent, and review actions, plus /prompt-history and a prompt-engineer agent
  • Covers system prompt creation, prompt optimization, agent design, guardrails, and a ready-made template library
  • Enforces input and output guardrails for topical limits, jailbreak attempts, PII, format, and hallucination checks
  • Provides A/B testing of prompt variants against quality, efficiency, and robustness metrics before adopting a challenger

Expert Prompt Engineer with Context Engineering, Meta-Prompting, Chain-of-Thought, Few-Shot, Agent Design, 50+ Template Library, and A/B Testing for creating optimal prompts and AI agents

Add marketplace

/plugin marketplace add fusengine/agents

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install fuse-prompt-engineer@fusengine-plugins

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source
Agent Design covers the architectural decisions behind building a high-performance AI agent: the workflow-vs-agent distinction (code-orchestrated vs LLM-directed control), the minimal agent structure (identity, capabilities, tools, constraints, workflow), and the "fresh eyes" principle -- each sub-agent gets only the context it needs, never the full orchestrator history.

It routes to four references depending on the task: patterns.md for architecture choice (Single Agent, Orchestrator, Pipeline, Network, Supervisor, Hierarchical, Meta-Prompting), workflows.md for implementing APEX/TDD/Explore-Plan-Code/Review/Debug patterns inside an agent, templates.md for the full production frontmatter and Claude Code agent template, and anti-patterns.md for reviewing a design against common mistakes.

Agent Design

Skill for designing high-performance AI agents following 2025 patterns.

References

  • patterns.md - Load when: choosing an agent architecture (Single Agent, Agent+Tools, Orchestrator, Pipeline, Network, Supervisor, Hierarchical, Meta-Prompting) or comparing their trade-offs
  • workflows.md - Load when: implementing APEX, TDD, Explore-Plan-Code, Code Review, or Debugging workflows for an agent
  • templates.md - Load when: writing a full agent definition (production frontmatter + sections) or a Claude Code agent template
  • anti-patterns.md - Load when: reviewing an agent design for common mistakes (omniscient agent, implicit instructions, missing error handling)

Fundamental Distinction

Workflows vs Agents

TypeControlWhen to use
WorkflowCode orchestrates LLMPredictable tasks, need for control
AgentLLM directs its actionsFlexibility, adaptive decisions

Golden rule: Start simple, add complexity if necessary.

Minimal Agent Structure

Agent:
  identity: Who am I?
  capabilities: What can I do?
  tools: What tools do I have?
  constraints: What are my limits?
  workflow: How should I proceed?

For the complete production structure and the Claude Code agent template, see templates.md.

Fresh Eyes Principle

Key 2025 concept: Each sub-agent must have a "fresh" context.

❌ Bad: Pass entire history to each sub-agent
✅ Good: Give only necessary information

Orchestrator:
  - Keeps complete history
  - Extracts relevant context for each sub-agent
  - Synthesizes results

Design Checklist

Before creating an agent

  • Is the objective clear?
  • Would a simple workflow suffice?
  • What tools are needed?
  • What guardrails are required?

During design

  • Is identity well defined?
  • Is workflow explicit?
  • Are error cases handled?
  • Are examples relevant?

After creation

  • Standard case tests?
  • Edge case tests?
  • Security tests (jailbreak)?
  • Acceptable performance?

For anti-patterns to avoid during design, see anti-patterns.md.

Forbidden

  • Never create an agent without explicit workflow
  • Never give access to all tools without necessity
  • Never ignore the principle of least privilege
  • Never forget security guardrails

Readme

Prompt Engineer Plugin

Expert in AI prompt creation and optimization. Masters 2025 best practices: Context Engineering, Meta-Prompting, advanced Chain-of-Thought, and agent design.

Installation

claude plugins install prompt-engineer

Agent

prompt-engineer

Expert in prompt engineering and AI agent design.

Model: Opus Color: Purple

Capabilities:

  • Optimal prompt creation (system, task, few-shot, meta)
  • Existing prompt optimization
  • Complete agent design
  • Security guardrails implementation

Skills

SkillDescription
prompt-creationTechniques and templates for prompt creation
prompt-optimizationImprove and optimize existing prompts
agent-designDesign agents with recommended patterns
guardrailsSecurity and quality control

Command

/prompt

/prompt [action] [description]

Actions:

  • create - Create a new prompt
  • optimize - Improve an existing prompt
  • agent - Design a complete agent
  • review - Analyze a prompt

Mastered Techniques

Structuring

  • Chain-of-Thought (Zero-shot, Few-shot, Extended Thinking)
  • Few-Shot Prompting (2-5 optimal examples)
  • XML Tags for clear structure
  • Structured Outputs (JSON Schema)

Context Engineering

  • CLAUDE.md for automatic context
  • Fresh Eyes Principle (contextual isolation)
  • Meta-Prompting (Conductor-Expert pattern)

Guardrails

  • Input Guardrails (topical, jailbreak, PII)
  • Output Guardrails (format, hallucination, compliance)
  • Ethical Boundaries

Plugin Structure

prompt-engineer/
├── .mcp.json                    # MCP servers config
├── README.md
├── agents/
│   └── prompt-engineer.md       # Main agent
├── skills/
│   ├── prompt-creation/
│   │   ├── SKILL.md
│   │   └── docs/
│   │       ├── techniques.md
│   │       └── templates.md
│   ├── prompt-optimization/
│   │   └── SKILL.md
│   ├── agent-design/
│   │   ├── SKILL.md
│   │   └── docs/
│   │       ├── patterns.md
│   │       └── workflows.md
│   └── guardrails/
│       └── SKILL.md
└── commands/
    └── prompt.md

Usage Examples

Create a support assistant

/prompt create a technical support assistant for an e-commerce mobile app

Optimize an existing prompt

/prompt optimize

[Paste your current prompt]

Design a code review agent

/prompt agent a Python-specialized code reviewer focused on security

Documentation

License

MIT

Details

Marketplace
fusengine/agents
Source
plugins/prompt-engineer
Author
Fusengine
Category
Productivity
License
MIT
Keywords
prompt-engineering, context-engineering, meta-prompting, chain-of-thought, few-shot, agent-design, guardrails, prompt-library, ab-testing, llm
Listed since
Apr 7, 2026

More from fusengine/agents

All 26

Similar to fuse-prompt-engineer

More AI Agents & LLM Apps