/active-skills:new-promptfrom active-skills
Pre-processes raw user input through the TCREI framework before execution. Trigger when the user invokes /new-prompt "<task>" or says "refine this prompt then run it". Takes raw intent, applies Task/Context/References structure via the prompt-design skill to produce a constraint-bearing prompt, then executes it as the main task and checks the result against its own constraints.
Ships in active-skills. 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.
Three-phase pipeline: refine raw intent into a TCREI prompt, execute it, then check the result against the constraints the prompt itself set.
This skill is the one place where the same agent both writes a prompt and runs it. That makes it the only context in which all five TCREI letters can close in a single turn — construction (Task, Context, References) in Phase 1, and the optimization half (Evaluate, Iterate) in Phase 3, where prompt-design alone has to hand off and wait.
/new-prompt).prompt-design skill with the raw intent as the subject.
On gap-closing. prompt-design closes missing audience, constraints, and ground truth by asking. Invoking it through /new-prompt is a standing instruction to draft rather than interview — the user asked for work, not a questionnaire. So take its own escape hatch: fill the gaps with the best inference from the raw intent and the surrounding conversation, and mark every invented specific inline as [ASSUMED: ...].
Assumptions must be visible, never silent. The user sees the full prompt block in Phase 2 before anything runs, so a wrong [ASSUMED: audience is external customers] is one interruption away from being corrected. A guess that was never labelled is not.
Ask only when proceeding under any assumption would be unsafe or would waste substantial work if wrong — a destructive operation, or an ambiguity so central that both readings produce genuinely different deliverables.
Present the Refined Prompt to the user in a fenced block, labeled clearly:
### Refined Prompt
<the output from Phase 1>
Announce: "Executing refined prompt now."
Treat the Refined Prompt as the new user instruction. Execute it immediately — no further confirmation required.
Phase 1 wrote constraints precisely so they could be checked. Verify the output against them rather than asking the user whether it looks right:
[CONTEXT]. These are mechanically checkable. Count them.[ASSUMED: ...] marker was load-bearing.When something misses, apply a surgical fix to that part and say what changed. Do not regenerate wholesale — that re-rolls the parts that already worked and hides which change helped.
Report the assumptions that survived into the result. [ASSUMED: ...] markers are the audit trail of what was inferred rather than given, and they are worth surfacing precisely when the output looks finished.
prompt-design — the structure is the point.| Excuse | Reality |
|---|---|
| "The intent was vague, so I should ask first." | Invoking /new-prompt is the instruction to draft. Infer, mark it [ASSUMED: ...], and let the visible block invite correction. |
| "I filled the gaps sensibly, no need to flag them." | An unlabelled guess is indistinguishable from a stated requirement once it is inside the prompt. Mark every one. |
| "The input was already well-structured, so I ran it directly." | Then refining costs almost nothing. Skipping Phase 1 is how unconstrained prompts slip through. |
| "The output looks good, so the constraints were met." | "Looks good" is not a word count. The constraints were written to be checked; check them. |
| "The result missed, so I'll rewrite the prompt and rerun." | Wholesale regeneration discards what worked. Fix the specific defect. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
17 skills in this plugin
/agent-eval-designDesign an evaluation strategy for a GCP AI agent before writing any eval code — choose metrics across outcome, trajectory, operational, and safety dimensions; pick scorer types (code-based rules, LLM-as-judge, human review); and plan a golden dataset with adversarial coverage. Use when the user asks how to evaluate an ADK, Vertex AI, Agent Engine, or Gemini Enterprise agent, what metrics to use, how to build a golden or test dataset for an agent, or wants an eval plan or eval strategy for an AI agent. Not for evaluating Claude Code skills (use skill-creator-enhanced), writing agent eval code (use agent-eval-implement), or executing agent evals (use agent-eval-run)./agent-eval-implementBuild the runnable eval assets for an AI agent on GCP — ADK evalset files, pytest eval wiring, Gen AI evaluation service code for trajectory and final-response metrics, custom LLM-as-judge rubrics and scorers, and ground-truth eval datasets in Cloud Storage or BigQuery. Use when the user wants to write, build, create, or add agent evals, an evalset or eval test file, a custom judge or scorer for agent output, or an eval/ground-truth dataset — for an ADK, Vertex AI, Agent Engine, Gemini Enterprise, LangGraph, or LangChain agent. Works from an eval plan produced by agent-eval-design, or standalone when the user names just one asset. Not for choosing which metrics to measure (use agent-eval-design), executing eval runs or CI/CD gating (use agent-eval-run), or creating Claude Code skills (use skill-creator-enhanced)./agent-eval-runExecute agent evals and act on the results on GCP — run adk eval or pytest eval suites, interpret per-case and aggregate scores, compare a candidate agent against a baseline with statistical quality gates, debug failed trajectories down to the first bad step, wire evals into CI/CD, and extend to production with online evals and observability. Use when the user wants to run or re-run agent evals, see why an agent eval failed, check whether an agent version regressed, add agent evals to a CI/CD or Cloud Build pipeline, gate a deployment on eval results, fix flaky or noisy eval gates, or monitor a deployed agent's quality. Covers the non-determinism discipline these runs need: one run proves nothing, and a score that moved needs a statistical test before it means anything. Not for choosing metrics (use agent-eval-design), authoring evalsets or eval code (use agent-eval-implement), or measuring Claude Code skills (use skill-creator-enhanced)./close-sessionUse when a work session is ending — updates project documentation, commits, and pushes safely to GitHub. Triggers on "close session", "wrap up", "end session", "done for now", "save my work", "let's commit everything and push", or finishing a block of work with no further tasks planned. Make sure to use this skill whenever a session of real work is ending, even if the user only says they are done. For a bare pull, push, or rebase against the remote with no session to close, use git-sync instead./cloud-build-triggersUse when creating, updating, or managing Google Cloud Build triggers. This skill handles 1st Gen and 2nd Gen GitHub connections, branch patterns, and mandatory IAM validation./documentation-lookupUse up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma).npx claudepluginhub mlarkin00/plugins --plugin active-skills