插件目录 / Security / dsh-skill-authoring
dsh-skill-authoring
已验证 · 实测可装 boomzikazita
功能简介
DSH skill authoring toolkit: scaffold + 9-gate quality audit for skills
可用 — 实测通过,早期项目
DSH skill authoring toolkit: scaffold + 9-gate quality audit for skills 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-skill-authoring
A DeepSeek Harness plugin for creating and maintaining high-quality agent skills. It scaffolds new skills from a compliant skeleton, audits existing SKILL.md files against a 9-point quality gate, and validates skill names against the DSH naming convention — so every skill in your library ships with structure, boundaries, examples, and verification paths.
The 9-gate standard is derived from vibe-coding-cn (adapted for DSH).
Features
| Tool | Description |
|---|---|
skill_scaffold |
Generate a compliant SKILL.md skeleton (frontmatter / whenToUse / Boundaries / QuickRef / Examples placeholders) plus references/index.md for a new skill. |
skill_audit |
Audit an existing SKILL.md against the 9 quality gates, printing a ✓/✗ table per gate. |
skill_check_name |
Validate a skill name against the DSH regex ^[a-z0-9]+(-[a-z0-9]+)*$ (lowercase + hyphens). |
The plugin also installs a skill-write-guard hook: when write/edit targets a SKILL.md under ~/.dsh/skills/, it runs the audit automatically and warns the agent if the file does not pass the 9 gates yet.
The 9 quality gates
- name — matches
^[a-z0-9]+(?:-[a-z0-9]+)*$, ≤ 64 chars - description — "what + when", 20–1024 chars
- whenToUse — ≥ 3 decidable trigger conditions
- boundaries — ≥ 3 "Not For / Boundaries" statements
- quickref — 1–20 directly reusable patterns (Quick Reference)
- examples — ≥ 3 end-to-end examples with Input / Steps / Acceptance
- references —
references/index.mdexists (long content split out) - verification — uncertain claims marked with source/evidence level
- style — operational-manual style (short imperative sentences, not a doc dump)
Installation
dsh plugin --profile web add github:boomzikazita/dsh-skill-authoring
Or clone/pin a specific release:
dsh plugin --profile web add github:boomzikazita/dsh-skill-authoring@v0.1.0
After installing, restart your dsh web instance (or the profile you installed into) so the tools register.
Configuration
The plugin ships with no required configuration (config: {} in cordis.patch.yml). Optional dsh config keys passed to the bundle are accepted and currently unused.
- Skills directory — defaults to
~/.dsh/skills(derived from the OS home directory at runtime; no hardcoded paths). - Python — the gate engine (
scripts/skill_gate.py) is invoked viapython3; a Python 3.8+ interpreter must be onPATH. - Scaffold target —
skill_scaffoldaccepts an optionaldirargument to generate the skeleton outside the default skills directory.
Development
node --check index.js # syntax check the plugin
python3 -m py_compile scripts/skill_gate.py # syntax check the gate engine
License
MIT © 2026 boomzikazita — see LICENSE.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-skill-authoring」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:boomzikazita/dsh-skill-authoring Headless(CLI)profile:
dsh plugin --profile headless add github:boomzikazita/dsh-skill-authoring 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。