dsh-prompt-engineering
开发工具 活跃维护

dsh-prompt-engineering

satan9394/dsh-prompt-engineering

集成思维链、少样本示例、模板化、调试优化等提示词工程能力,开箱即用无需复杂配置,可便捷适配大模型交互需求,高效完成提示词调优与输出稳定性保障

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
5 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:satan9394/dsh-prompt-engineering
git clone https://github.com/satan9394/dsh-prompt-engineering.git
git clone git@github.com:satan9394/dsh-prompt-engineering.git
README.md main

dsh-prompt-engineering

提示词工程模式:结构化推理(CoT/ToT)、few-shot 动态示例、模板变量、
生产级优化与调试、防幻觉指令。

受 wshobson/agents(38k★ MIT)
的 llm-application-dev/prompt-engineering-patterns 技能启发,改编为
DSH 中文原创精简版(与 dsh-skill-creator 互补)。

安装

dsh plugin --profile web add dsh-prompt-engineering
# 或本地开发:dsh plugin --profile web add link:E:\DeepSeek_Harness\workspace\2026_08_15\plugins\dsh-prompt-engineering
# 重启 dsh web 生效

使用

对 agent 说"优化这个提示词 / 设计 prompt 模板",
prompt-engineering 技能按模式 → 模板 → 优化 → 自查输出。

结构

dsh-prompt-engineering/
├── index.js           # 注册 skills/ 到 ctx.skills
├── cordis.patch.yml   # bundle patch 层
├── package.json       # dsh.bundle manifest
└── skills/prompt-engineering/SKILL.md

License

MIT。原创精简改编,灵感来自 wshobson/agents(MIT)。