nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Saoutax/dsh-prompt-polish
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
A DeepSeek Harness plugin that uses AI to polish the prompt in the composer.
A compact button sits in the composer toolbar next to the model selector. Clicking it rewrites the current draft in place. For 8 seconds after the rewrite, the button becomes an undo control.
The package is published on npm. The easiest way to install it is the DSH CLI:
dsh plugin --profile web add @saoutax/dsh-prompt-polish
You can also install from a released .tgz (see Releases below) or a local directory. These options are useful for offline installs and development.
@file and @session chips are re-anchored in the rewritten text. Chips that the rewrite no longer mentions are appended to the end rather than dropped./plan, a selected slash command) is polished like any other draft. Only the prose after the token is rewritten, and the claim is kept unchanged. A /plan chip with no task text after it has nothing to polish, so the button stays hidden until you type the task.provider and model on the plugin row, or leave them empty to use the Session's own route, including its reasoning effort. If the Session provides no route, the plugin falls back to the deployment's default model.Ctrl+Shift+. on Windows or Linux, and Cmd+Shift+. on macOS, to run the focused conversation's button action.| Field | Default | Meaning |
|---|---|---|
provider |
"" |
Provider route for the rewrite. Empty follows the Session. |
model |
"" |
Model ID for the rewrite. Empty follows the Session. |
instructions |
empty → prompts/polish.md |
System instruction that defines what "polish" means. |
maxInputChars |
8000 |
Longest draft a single rewrite accepts. |
maxOutputTokens |
2000 |
Maximum output tokens requested from the model. |
temperature |
0.3 |
Sampling temperature. |
The default instruction exists only in prompts/polish.md. The build copies that file into the package, and the Host reads it when the plugin activates. The plugin does not include a compiled copy, so this file is the only definition of the default instruction. If the file is missing or empty, the plugin refuses to activate and reports an explicit error instead of running without its rules. Set instructions to override the default instruction for a plugin row.
pnpm install
pnpm run build # build both halves and refresh icon.svg
pnpm run check # oxfmt + type-aware oxlint + tsc + build
pnpm run fmt # format
pnpm run lint # syntax lint
src/host/ builds to lib/index.js (ESM). Harness packages are not bundled. At runtime, they are resolved from the dsh installation.src/client/ builds to lib/client.js and is wrapped as a window.__ModuleLoader__.load({ id, factory }) registration. React and ReactDOM come from the page's module table and are not bundled into this package.To install from the Harness, use the bundle's directory as the install target, or use a released .tgz (see below).
Every push to main runs the CI checks. On main, the automated release-please pipeline versions, tags, and publishes the package to npm. No manual release steps are needed.
Toolbar and plugin icons are generated at build time from Lucide icon data (sparkles, undo-2, loader-circle). Lucide is licensed under the ISC License. The generated icon.svg and the in-app SVGs retain that attribution.
The plugin's own code is MIT. The bundled Lucide artwork is ISC (see above).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: prompt。