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-refactoring-guide

v0.1.0

Published

A DSH plugin that provides the refactoring-guide skill for safe, incremental, behavior-preserving refactorings.

Readme

dsh-refactoring-guide

A DeepSeek Harness (DSH) plugin that provides the refactoring-guide skill for safe, incremental, behavior-preserving refactorings.

What it does

This plugin bundles the refactoring-guide skill, which applies safe, incremental, behavior-preserving refactorings using a test-protected, small-step workflow. The skill includes guidance for:

  • Extract function/variable
  • Rename
  • Inline
  • Decompose conditionals
  • Remove duplication
  • Replace conditional with polymorphism
  • Introduce parameter object

The skill is automatically available in DSH sessions when this plugin is installed.

Installation

Installing from a local directory (recommended for development)

  1. Navigate to the plugin directory:

    cd E:\DeepSeek_Harness\plugins\dsh-refactoring-guide
  2. Install into a DSH profile:

    dsh plugin --profile web add .

    Or from an absolute path:

    dsh plugin --profile web add E:\DeepSeek_Harness\plugins\dsh-refactoring-guide

Installing from a published package (when available)

dsh plugin --profile web add dsh-refactoring-guide

Installing from a Git repository (when published)

 dsh plugin --profile web add github:owner/dsh-refactoring-guide

Usage

No manual configuration is needed after installation. When the model encounters a refactoring-related trigger scenario during a session, it loads the matching skill automatically. You can also specify directly in conversation:

First give me an implementation plan for this refactor.

Or:

Refactor this function to improve readability.

How it works

The plugin registers a skill provider on ctx.skills that reads the bundled skills/refactoring-guide/SKILL.md file. The DSH skill system discovers the skill and makes it available to the model via the skill tool.

File structure

dsh-refactoring-guide/
├── package.json          # declares dsh.bundle manifest
├── cordis.patch.yml      # the layer applied when a profile lists this bundle
├── README.md             # this file
├── lib/
│   └── index.js          # plugin module that registers skill provider
└── skills/
    └── refactoring-guide/
        └── SKILL.md      # the skill content

License

MIT