natsci-writing-deepseekharness
travis13197/natsci-writing-deepseekharness
DeepSeekHarness-Nature/Science写作作图skill
インストール
dsh plugin --profile web add github:travis13197/natsci-writing-deepseekharnessREADME
dsh-natsci-writing
A DeepSeek Harness bundle that puts a scientific-writing studio in the sidebar and serves a bilingual writing system — English and Chinese — to any Session: manuscripts, academic reports, submission-grade figure sets, reviewer responses and journal formatting.
中文速览
侧栏「Nat-Sci-写作台」把Nature、Science顶刊科研写作的五个场景(写完整论文、完成投稿终版图、进行学术报告、对审稿意见进行回复、润色与调整期刊格式) 变成一键起手:点一下就把可编辑的提示词填进新会话。
- 内置规则库:英文 26 份、中文 27 份,每种语言 19 个模板,外加 Python / R 起手代码。
natsci_studio工具:任何会话都能按语言读取规则、模板与指南;只读、不联网、不写工作区。- 安装:
dsh plugin --profile <profile> add github:Travis13197/NatSci-Writing-DeepSeekHarness
完整中文说明见 README.zh.md。
What it adds
- Sidebar entry — a Studio icon in the left column opens the writing studio in the main column.
- Studio panel — five deliverable cards, each writing an editable starter prompt into a new Session (or copying it): complete manuscript, submission figure set, academic report, reviewer response, polish and journal format. It also carries a Nature/Science figure-specification quick reference, a template library, and a clickable index of every bundled rule.
natsci_studiotool — one read-only Host tool for every Session:{ action: "catalog" }lists the modes and both language sets.{ action: "brief", mode }returns one mode's workflow and acceptance checklist (manuscript,figures,report,revision,polish).{ action: "read", kind, name, lang }returns onetemplate,code,referenceor the parentskillguide;langisen(default) orzh.
Install
Repository: https://github.com/Travis13197/NatSci-Writing-DeepSeekHarness Requires DeepSeek Harness
>= 0.2.2-rc.5(verified on 0.2.2-rc.5). No build step, no API key, no network access at runtime.
Before you start
- DeepSeek Harness Desktop, or the
dshCLI onPATH. - A profile to install into. The Desktop app uses the profile named
desktop; the CLI usually usesweb. Replace<profile>below with yours. - Installing from GitHub needs
npx(Node.js ≥ 20). Installing from a local folder needs neither.
Option A — from GitHub (recommended, no build)
npx @deepseek-ai/dsh plugin --profile <profile> add github:Travis13197/NatSci-Writing-DeepSeekHarness
This reads the repository directly — the bundle is plain JavaScript, so there is no
prepare/build step and nothing runs on your machine besides the install.
Option B — from this folder, inside the app
- Download or clone https://github.com/Travis13197/NatSci-Writing-DeepSeekHarness.
- In DeepSeek Harness open Plugins (left sidebar) → Add plugin.
- Select the downloaded folder and confirm.
- Reload the page.
Option C — from a tarball
pnpm pack # produces dsh-natsci-writing-<version>.tgz
dsh plugin --profile <profile> add ./dsh-natsci-writing-<version>.tgz
Option D — from npm (after pnpm publish)
dsh plugin --profile <profile> add dsh-natsci-writing
After installing
- Restart the profile — quit and reopen Desktop, or stop and restart
dsh web. - Reload the page. A Studio (写作台) icon appears in the left sidebar between Plugins and Scheduled tasks.
- Verify: open Plugins, confirm NatSci writing studio
1.1.3is enabled; click the Studio icon and check that five deliverable cards and the rule index appear; in any chat, ask the agent to callnatsci_studiowith{ "action": "catalog" }.
Update and remove
- Update: install the newer version again (
add github:...), or use the bundle's update action in Plugins. - Remove:
dsh plugin --profile <profile> remove dsh-natsci-writing, or uninstall it in Plugins. Disabling the bundle removes both the sidebar entry and the tool.
Library
| Set | Rule documents | Templates | Starter code | Parent guide |
|---|---|---|---|---|
| English | 26 | 19 | Python, R | library/SKILL.md |
| Chinese | 27 | 19 | Python, R | library/zh/SKILL.md |
Content covers argument architecture, section craft, editorial fit, information architecture, statistics and reporting integrity, literature search, proofreading, AI-use and AI-figure integrity, figure contracts and caption grammar, journal specifications, and reviewer-response packages. Every file ships inside the package: no network access at runtime.
Compatibility
engines.dsh: >=0.2.2-rc.5 <0.3.0-0. Verified against the running DSH 0.2.2-rc.5, and the
compatibility gate refuses 0.3.0 until it is tested.
Safety
- Reads only files inside this package. No network calls, no workspace writes, no session events.
- Panel actions do two things only: fill a starter prompt into a new Session, or copy text.
- Nothing is sent automatically; disable the bundle to remove both the entry and the tool.
Development
node scripts/selftest.mjs # 135 checks: manifest, display, both libraries, tool actions
node scripts/build-index.mjs # regenerate distribution/index.json after a version bump
pnpm pack # verify the published file list
Desktop ships no node on PATH; run the same scripts with the app's own executable and
ELECTRON_RUN_AS_NODE=1.
Repository topics
Add these in the repository's About panel (or with gh repo edit --add-topic) so the
package is discoverable from GitHub search and community plugin indexes:
dsh-plugin, deepseek-harness, deepseek, dsh, ai-agent, llm,
scientific-writing, academic-writing, manuscript, research, figures,
nature, science, peer-review, publishing, prompt-library, skills,
sidebar, plugin-market, javascript
package.json carries the same vocabulary as npm keywords. The bundle also ships
distribution/index.json, a ready-to-host plugin index: publish distribution/ on any static
HTTPS host and others can add that URL under Plugins → Discover → Add index source. The
included Pages workflow publishes it at
https://Travis13197.github.io/NatSci-Writing-DeepSeekHarness/index.json once
Settings → Pages → Source: GitHub Actions is enabled; rebuild it with
node scripts/build-index.mjs after a version bump, or --source=npm once the package is
on npm.
License
Apache-2.0. Author: Chuanyang Liu (https://github.com/Travis13197).
The bundled library derives from the author's NatSci-Writing-skills system and is
distributed under the same license; see LICENSE and NOTICE.md.