Skip to content

prompt-engineer

Prompt engineering. Craft, analyze, harden, convert, design tool prompts, and build PromptOps/eval plans. Use for system, agent, tool, RAG prompts. NOT for running prompts or building agents.

prompt-engineer 3388 words MIT v1.2.0 wyattowalsh opus

Prompt engineering. Craft, analyze, harden, convert, design tool prompts, and build PromptOps/eval plans. Use for system, agent, tool, RAG prompts. NOT for running prompts or building agents.

Install:

Terminal window
npx skills add github:wyattowalsh/agents --skill prompt-engineer -y -g --agent claude-code --agent codex --agent gemini-cli --agent antigravity --agent github-copilot --agent opencode

Use: /prompt-engineer <mode> [target]

Works with Claude Code, Gemini CLI, Codex, and other agentskills.io-compatible agents.

prompt-engineer designs and audits the full prompt context, not only the wording of a system prompt. It covers prompt structure, target-model fit, trust boundaries, tool definitions, eval design, and production PromptOps controls.

$ARGUMENTSAction
craft <description>Craft a new prompt from scratch
analyze <prompt or path>Diagnose and improve an existing prompt
audit <prompt or path>Read-only prompt review
convert <source-model> <target-model> <prompt or path>Port between model families
evaluate <prompt or path>Build an eval framework
harden <prompt or path>Stress-test injection, trust boundaries, and robustness
tool <tool definition or schema>Design or review model-facing tool definitions
promptops <prompt or path>Plan versioning, rollout, monitoring, and rollback
Raw prompt textAuto-detect existing prompt and audit
Natural-language prompt requestAuto-detect craft mode
EmptyShow mode menu

All modes start with the same checks:

  1. Ingest — Read prompt text or the supplied file path.

  2. Classify — Identify mode, target model/provider, model class, deployment context, and trust boundary.

  3. Load selectively — Read only the reference files needed for the selected mode.

  4. Evidence-scope claims — Classify non-obvious recommendations as official docs, provider guide, research, community heuristic, local practice, or single-study.

  5. Refuse wrong scope — Do not run prompts, build agents, or perform implementation work from this skill.

Use harden for prompts that handle user input, retrieved documents, tool results, external content, user-facing output, or write-capable tools. The output maps attack surfaces, controls, residual risk, and required adversarial evals.

Use tool for function schemas, MCP tools, OpenAPI fragments, or model-facing tool-selection guidance. The review checks name clarity, description specificity, parameters, errors, permission class, adjacent-tool overlap, and tool-result injection risk.

Use promptops to turn prompt changes into a deployable workflow: versioning, linked evals, rollout stages, monitoring, provider fact refresh, and rollback.

Model ClassExamplesGuidance
Instruction-followingGPT-4.1-style, non-thinking Gemini/Claude modes, standard Llama variantsMore explicit structure and examples can help; test before adding complexity
ReasoningGPT-5.5/GPT-5.x reasoning modes, Claude extended thinking, Gemini thinking, o-series models, reasoning Llama variantsAvoid mandatory hidden CoT transcripts; use provider-supported reasoning controls or concise planning/preambles when current docs support them
  1. Do not recommend mandatory hidden chain-of-thought transcripts for reasoning models.
  2. Use clear delimiters for multi-section prompts; XML is a strong default for Claude and many complex prompts, but provider guidance wins.
  3. Run security review for any prompt handling untrusted input.
  4. Recommend evals for any non-trivial prompt.
  5. Cite reference files and last-verified dates for provider-specific claims.
  6. Keep audit report-only and read-only.
  7. Refuse and redirect requests to run prompts, build agents, or do non-prompt implementation work.
  8. Update evals when dispatch behavior or modes change.
  9. Run scripts/validate-references.py after reference, dispatch, or eval changes.

FieldValue
Nameprompt-engineer
LicenseMIT
Version1.2.0
Authorwyattowalsh