Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计通过

promptingprompting 测试

Agent Skill

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

总安装

1,616

周安装

66

GitHub Stars

公开资料未说明

下载量

523
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/diskd-ai/prompting --skill prompting

简介

prompting 构建模块化提示词工程体系,提供角色设定、约束条件与输出格式标准化模板。

  • 适用于复杂任务拆解与多 Agent 协作时的行为规范统一。
  • 包含常见陷阱规避指南,如过度指定示例导致泛化能力下降等问题。
  • 修改提示词时应同步更新测试用例,确保变更前后行为一致性可验证。
  • prompting 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Prompt Engineering

Guide for crafting effective prompts for large language models (Claude, GPT, Gemini, Llama, etc.).

Workflow

  1. Clarify the goal: What task should the prompt accomplish?
  2. Choose techniques: Select from references/techniques.md
  3. Structure the prompt: Apply appropriate format
  4. Add constraints: Specify requirements and boundaries
  5. Test and refine: Iterate based on outputs

Writing a New Prompt

Start with this template:

[Context/Role - optional]
[Task - required]
[Constraints/Requirements - as needed]
[Output format - as needed]
[Examples - for complex tasks]

Minimal prompt (simple tasks):

Summarize this article in 3 bullet points.

Structured prompt (complex tasks):

You are a senior code reviewer.

Review this code for:
- Security vulnerabilities
- Performance issues
- Maintainability concerns

Format your response as:
## Summary
[1-2 sentences]

## Issues
- [severity]: [description]

## Recommendations
[prioritized list]

Improving an Existing Prompt

Diagnose issues:

ProblemSolution
Output too vagueAdd specific constraints or examples
Wrong formatSpecify output structure explicitly
Missing detailsUse chain-of-thought or decomposition
Inconsistent resultsAdd few-shot examples
Off-topic responsesStrengthen role/context framing

Improvement checklist:

  • Is the task clear and unambiguous?
  • Are constraints specific (not "be concise" but "under 100 words")?
  • Does output format match intended use?
  • Would examples clarify expectations?

Quick Reference: Techniques

TechniqueWhen to Use
Few-shotSpecific format/style needed
Chain-of-thoughtComplex reasoning, math, analysis
Role promptingDomain expertise, specific tone
Task decompositionMulti-step workflows
ConstraintsPrecise requirements

See references/techniques.md for detailed patterns and examples.

Quick Reference: Output Formats

FormatWhen to Use
XML tagsComplex prompts, clear section boundaries
JSONProgrammatic parsing, structured data
MarkdownHuman-readable reports, documentation

See references/structured.md for format patterns.

System Prompts

For designing AI assistant behavior, see references/system-prompts.md.

Key sections:

  • Identity and role definition
  • Behavioral guidelines
  • Constraints and boundaries
  • Output format defaults

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

28.63%
按下载量换算150

OpenCode

23.17%
按下载量换算121

Gemini CLI

16.48%
按下载量换算86

Cursor

11.73%
按下载量换算61

Codex

8.47%
按下载量换算44

Antigravity

3.27%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills