npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-repo-setup

v0.1.1

Published

Repo bootstrap guidance for DeepSeek Harness: read-only repo_setup_scan tool that detects stack/tests/docs/git/db and recommends skill plugins, MCP servers and hygiene files to install (claude-code-setup counterpart)

Readme

dsh-repo-setup

npm version GitHub release License: MIT

English | 简体中文

仓库体检引导插件 —— Anthropic claude-code-setup 的 DeepSeek Harness 版。

注册一个只读工具 repo_setup_scan:扫描项目目录的语言栈、测试设置、 文档、git、Docker 与数据库线索,然后给出设置建议:该装哪些 DSH 技能插件、 该挂哪些 MCP 服务器、该补哪些卫生文件。绝不修改任何东西。

安装

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

# GitHub
dsh plugin --profile web add github:gongyijie85/dsh-repo-setup

# 本地开发
dsh plugin --profile web add D:\plugins\dsh-repo-setup

装完重启 profile(dsh web),模型会在进入新/陌生仓库时自动调用 repo_setup_scan(也可在对话里直接要求"扫描这个仓库怎么配置")。

工具:repo_setup_scan

| 参数 | 说明 | | --- | --- | | path | 要扫描的项目目录;缺省为当前工作目录 |

输出 Markdown 报告:

  • Detected stack — package.json / pyproject.toml / Cargo.toml / go.mod / Dockerfile 等标记识别的技术栈(含前端框架与测试运行器探测)
  • Repo hygiene — AGENTS.md 缺失、git 未初始化、无测试、数据库线索
  • Recommended installs — 一键命令:
    • mattpocock-skills-dsh(grilling/to-spec/to-tickets/tdd/code-review 工作流)
    • superpowers-dsh(规划→TDD→评审方法论)
    • dsh-ponytail-skills(防过度工程)
    • dsh-claude-mem(可选:跨会话记忆)
    • dsh-mcp-manager(挂载下方 MCP 用)
    • MCP:context7(库文档)、playwright(前端)、postgres、github(按检测结果)

工作原理

  • Bundle 层 —— cordis.patch.yml 在 dsh-base 层插入插件行。
  • 工具 —— lib/index.js@deepseek-ai/dsh-toolsdefineTool 注册 repo_setup_scan,只读探测(读有限个已知文件 + 顶层目录列表),不做任何写入。
  • 零运行时依赖 —— 除 harness 注入的 @deepseek-ai/dsh-tools peer 依赖外 只用 Node 内置模块。

开发验证

node --check lib/index.js
# 功能冒烟(伪 ctx 注册 + 直接调 scanRepo 逻辑见 scripts/verify-tool.mjs)
node scripts/verify-tool.mjs

许可证

MIT。见 LICENSE