/polymath-ai:prompt-engineerfrom polymath-ai
Author or improve an LLM prompt — clarify task, constrain output shape, place worked examples, bound calibration; vendor-agnostic.
Ships in polymath-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write a prompt that gets the right answer with the lowest variance. Output is the prompt plus the reasoning behind each section.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
<message>...</message> style tags work across vendors.<example>) so they read as examples, not instructions. Long reference documents go at the top of the prompt and the question at the end.polymath-ai:eval-plan) before and after each change; keep the failures as regression cases. A prompt tuned on vibes regresses silently.Prompt:
---
You will classify an inbound support message into exactly one category from:
[billing, technical, account, abuse, other].
Output JSON only, matching:
{ "category": "<one-of-the-five>", "confidence": "high" | "low" }
Rules:
- If the message touches multiple categories, pick the one most relevant to
the user's *primary* ask.
- If you cannot determine a category from the message alone, output
category="other", confidence="low". Do NOT guess.
Examples:
<message>I was charged twice for the same order.</message>
{ "category": "billing", "confidence": "high" }
<message>The app crashes when I open settings.</message>
{ "category": "technical", "confidence": "high" }
<message>hi</message>
{ "category": "other", "confidence": "low" }
Now classify:
<message>{{user_message}}</message>
---
Reasoning per section:
- Task in the first sentence; verb "classify"; deliverable "one category".
- Output shape pinned to JSON with the legal categories enumerated.
- Calibration line guards against confabulation.
- 3 examples spanning billing / technical / abstention.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-ai6 skills in this plugin
/agent-designDesign an LLM agent — architecture (ReAct, plan-execute, reflexion), tool/function-calling contract, memory, multi-agent orchestration, and the stop/budget conditions./eval-planDesign an evaluation for an LLM feature — task type, dataset shape, automated vs human rubric, regression set, decision threshold./llm-cost-latencyCut LLM cost and latency — model routing/cascade, prompt caching, batching, streaming, context trimming, output-token control, and a per-request cost/latency budget.Other plugins' skills for the same job