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-browser-testgen

v1.5.0

Published

把 browser-testgen 技能做成可开关的 DSH 插件:技能正文就在本包内,开启后出现在会话技能目录,关闭后移除。

Readme

dsh-browser-testgen

把 browser-testgen 技能做成了 DeepSeek Harness 的可开关插件。仓库根目录就是插件包,SKILL.md 与 references/ 只有这一份,没有第二份副本需要同步:开启插件后技能进入会话技能目录,关闭后技能被移除。插件不注册任何工具、不追加系统提示词、不存储会话数据。

它做什么

  • 开启时:browser-testgen 出现在会话技能目录里。模型在测试分析、测试设计、用例生成与评审这类任务上会按需加载它,你也可以在对话里直接点名。
  • 关闭时:技能从目录里消失,新步骤、新会话都不再带这段技能说明,也不再生效;已经加载进当前对话的正文不会撤回。插件不注册工具、不改系统提示词、不写入会话数据。
  • 技能内容:从 PRD、Figma 设计稿(链接或节点)、OpenAPI/Swagger 产出按业务模块与页面组织、可追溯、可手工执行的 Markdown 测试用例,也用于已有用例的查漏与评审。只做设计与分析,不生成自动化脚本、不执行测试、不操作真实业务数据。

开关

  • 位置:Plugins 页面 → 本插件行的开关。点完即时对后续步骤生效,不用重启 Harness,也不用新开对话。
  • 要从 profile 里彻底移除:Plugins 页面点 Remove,或用 plugin_manager 的 remove_bundle。

技能正文从哪里读

  • 默认读本包目录(index.js 所在目录)里的 SKILL.md,references/... 的相对路径也解析到这里。
  • 每次列目录、每次加载都重新读文件,所以改技能正文、加一个新的 reference 文件,下一次加载就生效,不用重装插件。
  • 只有想读另一份副本时才需要配置:给 bundle 的 cordis.patch.yml 里那一行加 config.skillDir: /absolute/path(或在 ~/.dsh/profiles/desktop/cordis.patch.yml 追加同 id、name 的覆盖,config 写全量)。路径必须是绝对路径,写相对路径会忽略并回退到包目录。
  • 读不到时技能不会出现在目录里,Host 日志留一条 [browser-testgen] 警告(同一条消息只记一次)。

目录结构

.
├── package.json       # bundle 清单,dsh.bundle.patch 指向 patch
├── cordis.patch.yml   # 一行技能提供者
├── index.js           # 技能提供者:catalog 条目 + 按需加载技能正文
├── SKILL.md           # 技能正文(插件的唯一一份)
├── references/        # 技能引用的模板、方法、示例
├── locale/en.json     # Plugins 页面里的标题与说明(英文)
├── locale/zh.json     # 同上(中文)
├── .npmignore         # 发布到 npm 时的排除清单
└── README.md          # 本页,也是插件详情页的兜底内容

发布

  • 打包内容以 package.json 的 files 白名单为准;根目录 .npmignore 不覆盖 files,只做兜底。
  • 技能正文版本与包版本同号:技能版本以 SKILL.md 顶部为唯一来源,发版时让 package.json 的 version 跟上,不在 README 或 references 里另写版本号。
  • 发布前可用 npm pack --dry-run 核对:应只打出 index.js、cordis.patch.yml、locale/、SKILL.md、references/、README.md、package.json。

限制

  • 只提供技能说明,不带执行类工具:不打开浏览器、不跑脚本、不改真实业务数据(技能本身的铁律)。
  • 技能里需要读 Figma 设计稿时,依赖 profile 里已经装好的 Figma MCP 工具。
  • 包内不带图标,Plugins 页面和插件行使用 Plugin Manager 的默认图形。
  • 本 profile 以 link: 软链安装(node_modules/dsh-browser-testgen 指向本目录),改技能正文、locale、README 立即生效;改 index.js 需要重启 Harness 才会加载新代码。