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-api-designer

v0.1.0

Published

DSH plugin to inject the api-designer skill into system-prompt persona, providing API design guidance for REST and GraphQL.

Readme

dsh-api-designer

A DeepSeek Harness (DSH) plugin that injects the api-designer skill into the system prompt, providing comprehensive guidance for designing clean, consistent REST and GraphQL APIs.

Features

  • Injects the api-designer skill content into the system-prompt persona (order 10, after deployment persona).
  • Covers resource modeling, URI design, HTTP semantics, versioning, pagination, filtering/sorting, error contracts (RFC 9457), idempotency, concurrency control, authentication, rate limiting, and machine-readable contracts (OpenAPI 3.1 / GraphQL SDL).
  • Helps agents when designing new APIs, reviewing API designs, choosing REST vs GraphQL, defining error responses, or writing OpenAPI/GraphQL schemas.

Installation

Prerequisites

  • DeepSeek Harness dsh installed and configured.
  • Web profile installed (default: ~/.dsh/profiles/web/).

Option A: Using dsh plugin add (recommended)

dsh plugin --profile web add github:your-username/dsh-api-designer

Then add the plugin to your profile's package.json bundles list (see Option B for example).

Option B: Manual installation

  1. Clone or download this repository into your DSH plugins directory:
cd ~/.dsh/plugins
git clone https://github.com/your-username/dsh-api-designer.git
  1. Edit your web profile's package.json (typically ~/.dsh/profiles/web/package.json) to include the plugin in the dsh.profile.bundles array and as a dependency:
{
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-api-designer"
      ]
    }
  },
  "dependencies": {
    "dsh-api-designer": "file:../../plugins/dsh-api-designer"
  }
}
  1. Install dependencies:
cd ~/.dsh/profiles/web
pnpm install
  1. Restart the DSH web server:
dsh web
  1. Hard-refresh your browser to load the new plugin.

Usage

Once installed, the api-designer skill is automatically injected into the system prompt for all agents. The agent will have access to API design best practices when:

  • Designing new REST or GraphQL APIs
  • Reviewing existing API designs
  • Deciding between REST, GraphQL, or RPC
  • Choosing versioning or pagination strategies
  • Defining error responses (RFC 9457 Problem Details)
  • Adding idempotency keys or concurrency control
  • Writing or critiquing OpenAPI 3.1 or GraphQL SDL schemas
  • Establishing API style guidelines

No configuration is required; the skill is always active.

How It Works

The plugin registers a system-prompt section with order 10 (after the deployment persona at order 0, but before tool guidance at orders 100–199). The section content is extracted from skill.md (YAML frontmatter stripped) and injected into every prompt assembly.

Customization

To modify the skill content, edit skill.md and restart the DSH web server. The plugin reads the file at startup.

License

MIT