Bundle
dsh-content-rewriter
一键将内容改写为多种风格:小红书、知乎、商务邮件、精简版、扩写版、Twitter/X
- Source
- jetheaven
- stars
- 1 stars
- License
- MIT
- Updated
- Updated 14 days ago
Readme
# dsh-content-rewriter > DeepSeek Harness 内容改写插件 — 一键将内容改写为多种平台风格 [](LICENSE) [](https://github.com/deepseek-ai/deepseek-harness) ## ✨ 功能 支持以下改写风格: | 风格 | 说明 | 适用场景 | |------|------|---------| | `xiaohongshu` | 小红书笔记(emoji、分段、话题标签) | 种草、分享、产品推广 | | `zhihu` | 知乎高赞回答(逻辑论证、数据支撑) | 专业科普、经验分享 | | `email` | 商务邮件(正式格式、专业语气) | 正式沟通 | | `concise` | 精简版(保留核心,1/3长度) | 摘要、简报 | | `expand` | 扩写版(丰富细节,2-3倍长度) | 文章丰富、SEO内容 | | `twitter` | Twitter/X 帖子(Hook + 短句式 + CTA) | 海外社媒传播 | ## 📦 安装 ```bash dsh plugin add github:jetheaven/dsh-content-rewriter ``` ## 🚀 使用 在 DSH Web UI 或任何 DSH agent 会话中,直接用自然语言: ``` 帮我把这段文字改写成小红书风格:今天学习了DSH插件开发,感觉很有意思 ``` Agent 会自动调用 `rewrite_content` 工具。 ### 工具参数 | 参数 | 类型 | 必填 | 说明 | |------|------|------|------| | `content` | string | ✅ | 要改写的原始文本 | | `style` | string | ✅ | 目标风格:xiaohongshu / zhihu / email / concise / expand / twitter | ## 🛠 开发 ```bash # 编译 tsc # 本地安装测试 dsh plugin add /path/to/dsh-content-rewriter ``` ## 💬 社区 DSH 社区插件发布帖:[deepseek-harness/discussions/1381](https://github.com/deepseek-ai/deepseek-harness/discussions/1381) 欢迎 Issue 和 PR! ## 📄 License MIT
Install
dsh plugin --profile web add github:jetheaven/dsh-content-rewriter
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-content-rewriter from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.