DeepSHPlugins
dsh-prompt-profile 项目预览
GITHUB / COMMUNITY PROJECT

dsh-prompt-profile

生态与开发TypeScriptMIT

DeepSeek Harness 可复用 Markdown Prompt Profile,支持单轮模型选择、参数替换和状态恢复。

2 StarsBrambleXu 更新时间 2026-08-14
访问 GitHub 仓库
dsh-prompt-profile 项目预览

项目介绍

中文

DeepSeek Harness 可复用 Markdown Prompt Profile,支持单轮模型选择、参数替换和状态恢复。

English

Reusable Markdown prompt profiles for DeepSeek Harness with per-turn model selection, argument substitution, and state restoration.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
BrambleXu
仓库
BrambleXu/dsh-prompt-profile
GitHub Stars
2
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-08-14
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

57/ 100
维护活跃
81
文档与实用信息
100
生态关注度
14
安装便捷信号
100
项目声明信号
100

README 含完整安装与使用说明;关注度尚低(2);标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:BrambleXu/dsh-prompt-profile

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-prompt-profile

dsh-prompt-profile hero

MIT license

Node.js ^22.19 or >=24

TypeScript 5.9

Tests with Vitest

awesome · DSH plugin · development

English | 中文

Reusable Markdown prompt profiles for DeepSeek Harness. A profile can select a provider, model, and reasoning effort for one turn, render command arguments into its body, and restore the previous selection afterward.

Why this exists 💡

Model choice and review instructions are often repeated across sessions. dsh-prompt-profile turns those combinations into small, reusable Markdown profiles that can be invoked for one turn and then leave the Agent's previous model selection intact.

Features ✨

  • Discover profiles from user and project directories, with project profiles taking precedence.
  • Substitute positional arguments into profile bodies with shell-style placeholders.
  • Select a provider, model, and reasoning effort for one turn.
  • Restore the previous Agent selection automatically or opt out per profile.
  • List available profiles and invoke nested profiles by slash-separated names.

Install 📦

dsh plugin --profile demo add ./dsh-prompt-profile

Create a user profile under ~/.dsh/prompt-profiles/ or a project profile under <repo>/.dsh/prompt-profiles/:

---
description: Deep code review
provider: deepseek
model: deepseek-reasoner
reasoningEffort: high
restore: true
---
Review $1 for correctness, regressions, and missing tests. Extra context: ${@:2}

Project profiles override user profiles with the same relative name.

Use 🚀

/prompt-profile list
/prompt-profile review src/index.ts "focus on cancellation"

Nested files use slash-separated names. For example, .dsh/prompt-profiles/review/security.md is review/security.

Supported placeholders:

PlaceholderValue
$1, $2, …One positional argument
$@, @$, $ARGUMENTSAll arguments
${@:N}Arguments from position N
${@:N:L}L arguments from position N

Frontmatter 🧾

FieldRequiredMeaning
descriptionNoText shown by /prompt-profile list
providerWith modelHarness provider route
modelWith providerProvider-owned model ID
reasoningEffortWith provider and modelAdapter-owned reasoning effort ID
restoreNoRestore the prior selection after the turn; defaults to true

Omit both provider and model to use the current agent selection.

Configure ⚙️

- id: dsh-prompt-profile
  name: dsh-prompt-profile
  config:
    userDirectory: ~/.dsh/prompt-profiles
    projectDirectory: .dsh/prompt-profiles

Develop 🧑‍💻

pnpm install
pnpm run check

Scope 🎯

Version 0.1 intentionally omits prompt chains, loops, skill injection, subagents, worktrees, and best-of-N orchestration. Those features should be added only when Harness extension points can preserve their lifecycle and durable-session semantics.

License 📄

MIT

Credits 🙏

The core idea comes from pi-prompt-template-model. This first Harness-native release focuses on the smallest useful unit: deterministic discovery, argument substitution, scoped model routing, and restoration.

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目