nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:MeloFang/dsh-prompt-sharpen
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Pre-send checkup for prompts in DeepSeek Harness (DSH).
Most "enhance prompt" buttons rewrite whatever you typed. This one reads it first: a zero-token lint in the composer tells you which of four things your draft is still missing, and one click fills exactly those gaps — no padding, no invented requirements. The original stays one click away.
| Gap | Looking for |
|---|---|
| Output format | result shape: structure, fields, length, table / code block |
| Constraints | what must hold, what must not be done |
| Acceptance criteria | how you will know it is done or correct |
| Context | the background, inputs or materials that make it executable |
The lint is local, rule-based and free: it never calls a model. A red dot on the button appears only when a gap is found, and the tooltip names the gaps (缺:输出格式、验收标准). A draft shorter than 12 characters is not checked — at that size everything is missing and the answer is noise.
When you press the button, the gaps are passed to the model as a 【体检结果】 block:
The rewrite replaces the draft in place. The button turns into a revert arrow; one click restores the exact original text. A request that fails (bad route, timeout, empty completion) never touches your draft — the button just shows the reason.
| Surface | What it does |
|---|---|
| Composer button (left of the model selector) | check the draft, then sharpen it in place |
/sharpen <draft> |
same pipeline from the command line |
sharpen_prompt tool |
lets the agent tighten a prompt the user is drafting |
checkup_prompt tool |
diagnose only — no model call, no tokens |
HTTP, for the UI half: POST /api/prompt-sharpen/check and POST /api/prompt-sharpen/enhance, both taking { "draft": "…" } and restricted to loopback, same-origin requests.
Desktop app: open Plugins, search dsh-prompt-sharpen, install, then restart — client bundles are composed at startup.
Command line, for a web profile:
dsh plugin --profile web add dsh-prompt-sharpen
The package declares dsh.bundle.patch and ships cordis.patch.yml, so it loads as a bundle without hand-editing the profile.
- id: dsh-prompt-sharpen
name: dsh-prompt-sharpen
config:
provider: deepseek-account # default: the calling agent's route,
model: deepseek-flash # then the composition default model
maxOutputTokens: 1600
timeoutMs: 45000
maxInputChars: 8000
uiButton: true # false: keep the command and tools, drop the button
ctx services, so link: installs work too.client.js; host half at index.js; both are small enough to read in one sitting.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: prompt-engineering。