dsh-audit-skills: DeepSeek Harness Skills and Plugins Audit

Preface

The core capabilities of DeepSeek Harness (DSH) are extended via plugins. When managing and auditing these plugins and skills, developers often face issues such as messy descriptions, unclear status, and difficulties in unifying cross-platform skills. dsh-audit-skills is a dedicated audit plugin that consolidates upstream cross-platform audit skills into a single DSH platform capability. It specifically addresses requirements such as translation refinement for skill libraries, localized implementation on the plugin page, and status maintenance.

Installation and Activation

DSH manages desktop / web profiles via the plugin manager. A DSH restart is required after installation to enable the changes.

# Official profile (web, etc.)
dsh plugin --profile web add github:gtbwpkwjnb-alt/dsh-audit-skills

Once installed, a dsh-audit-skills (Plugin Audit) card will appear on the sidebar Plugins page. The toggle on the card acts as the effect switch: enabling it applies the refinement and localization, while disabling it reverts the changes.

Core Capabilities

This plugin provides the following six core functions:

  1. Translation Refinement for Skill Libraries: Refines the translation of skill descriptions, providing Chinese candidates and quality status.
  2. Project Profile: Generates an analysis of the tech stack, project type, and scan boundaries.
  3. Skill/Plugin Recommendation: Provides optimization suggestions based on installed tools, offering comparisons with similar tools and evidence-based next steps.
  4. Plugin Page Localization: Refines plugin page descriptions into Chinese and writes them to the configuration, resolving language issues on the DSH plugin page.
  5. On-demand Marketplace Search: Searches for plugins in the DSH marketplace based on specific needs, comparing compatibility and cost.
  6. Plugin and Skill Status Maintenance: Views translation, function, source, version, and update status within a unified view.

Key Conventions: Preserve Original Plugin Names

The DSH plugin page title relies on meta.title within locale/<lang>.json. If written in Chinese, the plugin may become unrecognizable. This plugin enforces the preservation of the original package name (English code name) as the title and appends the Chinese name within parentheses.

Script Usage

The plugin provides a series of scripts for localization and retrieval operations.

Plugin Page Localization

Manages localization files within node_modules using scripts/dsh_plugin_locale.mjs. This script automatically backs up files, migrates old keys, and completes exports.

node scripts/dsh_plugin_locale.mjs --check      # Read-only inspection
node scripts/dsh_plugin_locale.mjs --apply      # Write locale files and complete exports
node scripts/dsh_plugin_locale.mjs --restore    # Restore from backup

Used to find DSH bundles that meet specific requirements.

node scripts/dsh_market_search.mjs --need memory --need search --limit 8
node scripts/dsh_market_search.mjs --need speech-to-text --json

Client and Catalog Injection

Used to generate and validate Chinese snapshots for client display.

node scripts/render-smoke.mjs                # Synthetic fixtures
node scripts/render-smoke.mjs --live         # Render using real processes
node scripts/build-client-catalog.mjs        # Inject built-in catalog Chinese snapshots
node scripts/build-client-catalog.mjs --check # Drift validation

Notes and Known Boundaries

  1. Localization Persistence: Localization files for the plugin page are written within node_modules. They will be lost after a plugin upgrade or reinstallation, requiring the re-execution of dsh_plugin_locale.mjs --apply to restore them.
  2. Version Incidents: Version v1.2.1 previously caused the GUI to fail to start due to raw ESM issues, which has now been fixed. Any client-side changes must pass the pre-check via scripts/preflight-client.mjs.
  3. Plugin Form: Since v1.1.0, this plugin exists purely as a plugin form and no longer registers skills.
  4. Platform Scope: The default configuration only scans DSH-related paths, excluding Codex / ZCode / Claude Code, focusing on the health and scoring of the DSH platform.
  5. Skill Discovery Rules: DSH skill root discovery only scans top-level <name>/SKILL.md or <name>.md; nested files are not discovered.

Summary

dsh-audit-skills is a practical tool within the DSH ecosystem used for auditing and maintaining skills/plugins. By utilizing refined translation, project profiling, and status maintenance, it helps developers better manage their DSH environment. All scripts and configurations adhere to the loading contract of the DSH client.

  • GitHub Repository: https://github.com/gtbwpkwjnb-alt/dsh-audit-skills
  • Upstream Dependency: skills-summarize-audit v9.2.2
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye