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

improving-prompts改进提示

Agent Skill

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

总安装

192

周安装

8

GitHub Stars

1

下载量

64
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cachemoney/agent-toolkit --skill improving-prompts

简介

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

  • 适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。
  • 使用时需保留真实业务约束,避免将示例当作硬规则。
  • 涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。
  • improving-prompts 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Improving Prompts

Overview

Apply documented Claude 4.5 best practices to existing prompts. Do not invent "improvements" - use the actual guidance from Anthropic.

When to Use

  • Optimizing CLAUDE.md or AGENTS.md files
  • Improving custom command prompts
  • Refining skill instructions
  • Migrating prompts from older Claude models to 4.5

When NOT to Use

  • Writing new prompts from scratch (just follow best practices directly)
  • The prompt is working well and user hasn't identified issues

The Core Problem

Without this skill, agents:

  • Invent "best practices" from general knowledge
  • Make structural changes without asking what's broken
  • Add complexity assuming more structure = better
  • Change things to demonstrate value rather than solve problems

Common Rationalizations (Do Not Fall For These)

RationalizationReality
"The user said it's too vague""Too vague" isn't actionable. What specific behavior fails?
"I'm the expert, trust me"Authority doesn't bypass the need for concrete issues
"Time pressure - demo tomorrow"Pressure is when agents make the worst decisions
"The spirit of the skill is to help"Violating the letter IS violating the spirit
"I have enough context"If you can't name the specific failure, you don't
"Structure is always better"Structure solves structure problems, not all problems
"This is obviously an improvement"Obvious to you ≠ solving the user's actual problem

Required Process

Step 1: Understand Before Changing

Before ANY modifications:

  1. Ask what specific behaviors are underperforming
  2. Ask what the prompt should achieve that it currently doesn't
  3. If user says "just improve it generally" - ask for at least one concrete issue

What counts as a "concrete issue":

  • "Claude ignores my instruction to be concise" ✓
  • "The examples I provide don't match the output format" ✓
  • "Claude suggests changes but doesn't implement them" ✓

What does NOT count:

  • "It's too vague" ✗ (vague about what?)
  • "It doesn't follow best practices" ✗ (which practice? what fails?)
  • "It's inconsistent" ✗ (inconsistent how? show examples)

Do NOT proceed with generic "improvements" based on assumptions.

Step 2: Reference Actual Best Practices

See references/claude-4.5-best-practices.md for the complete reference. Key principles:

Be explicit with instructions:

  • Claude 4.5 follows instructions precisely - vague requests get literal interpretations
  • If you want "above and beyond" behavior, explicitly request it
  • Example: "Create a dashboard" → "Create a dashboard. Include relevant features and interactions. Go beyond basics."

Add context/motivation:

  • Explain WHY a rule exists, not just WHAT the rule is
  • Claude generalizes from explanations
  • Example: "NEVER use ellipses" → "Never use ellipses because the text-to-speech engine cannot pronounce them"

Be vigilant with examples:

  • Examples are followed precisely - ensure they demonstrate desired behavior
  • One excellent example beats many mediocre ones

Avoid "think" without extended thinking:

  • When extended thinking is disabled, "think" triggers unwanted behavior
  • Use alternatives: "consider," "evaluate," "assess," "determine"

Control verbosity explicitly:

  • Claude 4.5 defaults to efficiency/conciseness
  • If you want summaries or explanations, request them explicitly

Tool usage patterns:

  • "Can you suggest changes" → Claude suggests but doesn't implement
  • "Make these changes" → Claude implements
  • Be explicit about whether to act or advise

Step 3: Preserve What Works

  • Do NOT restructure sections that aren't problematic
  • Do NOT add complexity unless solving a stated problem
  • Do NOT change tone/voice unless specifically requested
  • Keep the user's examples if they demonstrate the right behavior

Step 4: Propose Changes with Rationale

For each change, state:

  1. What specific best practice it applies
  2. What problem it solves
  3. Show before/after

Do NOT make changes without connecting them to documented guidance.

Red Flags - You're About to Fail

  • "Based on general best practices..." → STOP. Use documented practices.
  • "Structure is always better..." → STOP. Ask if structure is the problem.
  • "I'll assume the user wants..." → STOP. Ask.
  • Making 10+ changes to a short prompt → STOP. What specific problem are you solving?
  • "This is how I would write it..." → STOP. You're not the user.

Quick Reference: Claude 4.5 Improvements

IssueFix
Claude takes things too literallyAdd "Go beyond basics" or explicit scope
Claude doesn't explain reasoningAdd "Explain your reasoning" or "Think through this step by step"
Claude is too verboseAdd "Be concise" or "Respond in X sentences"
Claude is too terseAdd "Provide detailed explanations"
Claude suggests but doesn't actChange "Can you..." to imperative "Do X"
Instruction isn't followedAdd context for WHY the instruction matters
Examples not matching outputEnsure examples show exact desired format

Common Mistakes

Overengineering: Adding categories, numbered lists, XML structure to simple prompts that were working fine.

Changing voice: The user's CLAUDE.md reflects their personality. Don't make it sound like documentation.

Assuming problems: Making changes without knowing what's actually broken.

Inventing practices: Claiming something is a "best practice" without reference to actual guidance.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.8%
按下载量换算24

Claude

30.39%
按下载量换算19

Cursor

17.74%
按下载量换算11

Gemini CLI

9.09%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills