Introduction

In the DSH plugin workflow, the common first step after entering an unfamiliar repository is to identify the project tech stack, test setup, documentation, git, Docker, and database clues, and then decide which DSH skill plugins, MCP servers, and hygiene files are needed next. dsh-repo-setup is a DSH plugin maintained by gongyijie85, positioned as a “Repository Health Check Guide Plugin,” and it is also the DeepSeek Harness version of Anthropic’s claude-code-setup. It registers a read-only tool repo_setup_scan that performs read-only detection within the project directory, outputs a Markdown report and recommendations, and does not modify any content.

What is it

dsh-repo-setup is a DSH plugin. It solves the problem of quickly obtaining setup recommendations based on the current state of a repository before starting to modify it. The plugin provides suggestions for which DSH skill plugins, MCP servers, and hygiene files should be installed, but it is only responsible for scanning and reporting; it does not execute installation or write to the repository.

Core Features

  1. Registers a read-only tool repo_setup_scan.
  2. Scans the project directory for tech stack, test setup, documentation, git, Docker, and database clues.
  3. Outputs a Markdown report containing Detected stack, Repo hygiene, and Recommended installs.
  4. Provides suggestions for DSH skill plugins, MCP servers, and hygiene files that should be installed.
  5. Maintains read-only detection, never modifying any content.

Installation and Enablement

The README states that the supported DSH version is >=0.1.1-rc.2 and explains that it has been verified in the production version and is compatible with higher versions.

Use the npm installation command:

dsh plugin --profile web add dsh-repo-setup

After installation, the profile needs to be restarted:

dsh web

Tool Arguments

repo_setup_scan provides a path parameter used to specify the project directory to scan; the default is the current working directory.

Typical Usage

After installing and restarting the profile, the model will automatically call repo_setup_scan when entering a new or unfamiliar repository. You can also request it directly in the conversation:

Scan this repository for configuration

If you wish to target a specific directory, you can ask the model to point the path parameter to that directory.

Local Verification

When verifying locally, you can first perform a syntax check:

node --check lib/index.js

Then run a functional smoke test:

node scripts/verify-tool.mjs

Dependencies and License

This plugin uses the MIT license.

The README states zero runtime dependencies: besides the @deepseek-ai/dsh-tools peer dependency injected by the harness, it only uses Node built-in modules. package.json also declares peerDependencies:

{
  "@deepseek-ai/dsh-tools": ">=0.0.1-rc.1 <0.2.0",
  "@deepseek-ai/cordis": "^4.0.1"
}

Use Cases and Notes

It is suitable for scenarios where you want to perform a repository health check in DSH before deciding whether to install other plugins or MCP servers. Note that DSH plugins run with the permissions of the current dsh process; even for a read-only scanning plugin, you should check the source code, license, and version requirements before installing.

Links

Directory page (from plugin link):
https://www.skillhub.cn/plugins/gongyijie85/dsh-repo-setup

GitHub:
https://github.com/gongyijie85/dsh-repo-setup