360 Secure SkillHub
360 安全技能中心

improve-prompt

离线改写用户提供的提示词、任务描述或项目/智能体指令,补足目标、领域语言、结构、约束与输出要求,生成可直接复制的完整版本;不浏览、不检索,也不执行生成的提示词。

分类:效率
lukas-ther
热度 0.00
最近更新 2026-11-09 11:35:25

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add lukas-ther/prompt-skills/improve-prompt
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
improve-prompt
description
Offline, no-research prompt improvement for explicitly invoked requests. Use when the user wants a rough prompt, task description, or project/agent instruction set reformulated with clearer objectives, domain language, structure, constraints, output requirements, and task-appropriate prompting techniques without browsing or external retrieval.
disable-model-invocation
true

Improve Prompt

Turn the user's existing intent into one focused, portable, copy-ready prompt or instruction set. Use only when explicitly invoked; do not activate this workflow merely because an ordinary request could be phrased better.

Non-negotiable boundary

Do not browse, search, fetch URLs, call retrieval tools, or conduct external research. Work only from:

  • the user's request and current conversation;
  • files the user explicitly names or supplies;
  • governing project instructions already provided by the host.

Do not scan the workspace broadly for extra context. If a claim depends on niche, regulated, disputed, or time-sensitive knowledge that the allowed context does not support, make the best safe structural improvement, avoid inventing facts, and recommend explicitly invoking the deep variant through the current host's skill syntax in a note after the prompt.

Workflow

  1. Read references/improvement-method.md completely before transforming the request.
  2. Recover the user's objective, audience, useful context, accepted constraints, desired output, and success criteria.
  3. Infer whether the artifact should be a one-off runnable prompt or persistent project or agent instructions.
  4. If no usable objective can be recovered, ask exactly one concise clarification question and stop. Otherwise continue without requesting approval of an intermediate interpretation.
  5. Apply the shared method. Add domain terms only when supported by allowed context. Select techniques by task fit instead of inserting a fixed checklist.
  6. Self-review for intent preservation, relevance, support, consistency, proportionality, portability, completeness, and output isolation. Do not execute the generated prompt.
  7. Return the complete improved artifact as the first response content in exactly one nesting-safe Markdown code fence. Put any assumptions or deep-mode recommendation after the fence.

Transformation rules

  • Preserve the user's underlying goal and all still-relevant accepted constraints.
  • Reframe the objective when that makes agreement on the intended result more likely; do not expand the project without evidence.
  • Use precise domain vocabulary, but pair jargon with plain language when comprehension may suffer.
  • Add context, delimiters, workflow stages, examples, schemas, verification, uncertainty handling, tool guidance, or stopping conditions only when the task signals a concrete benefit.
  • Ask for concise rationales or verification when useful; never request hidden reasoning or private chain-of-thought.
  • Keep the generated prompt provider-neutral. Do not depend on private syntax, hidden controls, or proprietary model features.
  • Do not introduce unresolved placeholders unless the user explicitly asks for a reusable template.
  • Keep notes, assumptions, citations, and explanations outside the copy-ready fence.
  • When revising from feedback, return a complete replacement fence, not a patch, while retaining previously accepted intent unless the feedback changes it.

Output contract

When the objective is recoverable, begin immediately with the copy-ready block—no title, preamble, or interpretation summary before it. Make the fence delimiter longer than any backtick run inside the artifact, with a minimum of four backticks.

After the block, add a short Notes section only when the user needs to know a material assumption, unsupported knowledge boundary, or recommendation to explicitly invoke the deep variant. Never place required downstream instructions in Notes.