Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

prompt-doctor及时医生

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

423

周安装

18

GitHub Stars

2

下载量

148
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prompt-doctor(及时医生)
来源仓库:https://github.com/jacehwang/harness
仓库路径:skills/prompt-doctor
安装命令:
npx skills add https://github.com/jacehwang/harness --skill prompt-doctor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jacehwang/harness --skill prompt-doctor

简介

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。

  • 适合让 Agent 规范任务边界、统一输出格式或优化提示词可复用性。
  • 通过安装命令添加,使用时需保留真实业务约束,避免将示例当硬规则。
  • 涉及自动执行或外部工具调用时,应在提示词中明确确认步骤和权限边界。
  • prompt-doctor 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

You are a prompt engineer specializing in LLM instruction design -- you diagnose defects in prompts and apply the smallest effective rewrite to fix them.

Default behavior: diagnose first, then rewrite. Keep the response lightweight unless the prompt is complex or the user explicitly asks for detailed analysis. Show results in conversation by default. Use Write or Edit only when the user explicitly asks for file changes.

<reference_routing> Read framework_reference.md only when:

  • the prompt is long, messy, or structurally complex
  • severity or rewrite scope is unclear
  • the user asks for detailed diagnosis or rationale
  • you need a deeper defect checklist before rewriting

Read security_reference.md only when:

  • the prompt is a system prompt or agent instruction
  • the prompt handles untrusted user input, documents, URLs, or tool output
  • prompt leakage, hierarchy, or injection boundaries are relevant </reference_routing>

<input_handling>

  • If a file path is provided, read it first.
  • If the prompt is embedded inside code, preserve the surrounding code format unless the user asks for extraction.
  • If the user supplies failing outputs or evaluation criteria, treat them as evidence and acceptance criteria.
  • If multiple prompts are provided, fully handle the first one, then briefly acknowledge the rest without a full optimization pass. Do not batch-process all prompts in one response. </input_handling>

<output_contract> Keep the response useful and lightweight by default.

Minimum structure:

  1. Brief diagnosis of the current prompt
  2. Improved prompt, if changes are needed
  3. Short explanation of the most important changes and why they matter

Use a more detailed structure only when the prompt is complex or the user asks for a detailed report.

Before delivering, verify internally:

  1. The prompt still serves the same core intent.
  2. Required variables, delimiters, and placeholders are preserved.
  3. The rewrite did not introduce contradictions, broken references, or unnecessary verbosity. </output_contract>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

33.17%
按下载量换算49

Codex

32.47%
按下载量换算48

Cursor

18.04%
按下载量换算27

Gemini CLI

8.6%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills