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

@ross-sec/handoff-od

v0.1.9

Published

Open Design plugin that hands a design project off to OpenCode — the open-source counterpart of Claude Design's design-to-code handoff. Offline-complete bundle, materialized design system, lintable adherence config, optional authored implementation spec.

Readme


What it does

Closes the loop that @ross-sec/sync-od opened.

sync-od     : codebase      ->  Open Design      (already shipped)
handoff-od  : Open Design   ->  OpenCode         (this plugin)

Two mechanisms, composable — the default runs both:

| Mode | What you get | Cost | |------|--------------|------| | bundle | <Project>-handoff.zip — verbatim project mirror, materialized design system, generated adherence config | seconds, no model tokens | | spec | design_handoff_<feature>/ — an authored per-screen implementation document | one agent turn | | both (default) | the spec nested inside the bundle | |


Features

| Feature | Description | |---------|-------------| | Prompt-first transport | Emits the MCP prompt the agent pastes — the archive is the fallback, not the default | | Verbatim mirror | Nothing renamed, re-suffixed or reformatted. Button.jsx stays Button.jsx | | Design system, whole | Canonical dir and the short alias the HTML actually references, plus real .woff2 binaries | | Lintable fidelity | Generates _adherence.oxlintrc.json — raw hex, raw px, off-system fonts, undeclared props, union values | | Route map | Pre-fills the prototype-state-machine → real-routes table from the source | | Real gates | Six hard gates and two advisories; phase 04 refuses to archive an unvalidated tree | | Verified archives | Checks zip magic bytes, because GNU tar -a -c -f out.zip silently writes a tar | | Zero dependencies | Plain Node ESM. No build step, nothing to compile, no SDK to install |


Install

Open Design plugins are folders, not npm packages — so this package's root is the plugin folder, and every install path works:

npm i @ross-sec/handoff-od
od plugin install --source ./node_modules/@ross-sec/handoff-od
od plugin install github:ross-sec/handoff-od

Then grant what it needs (third-party plugins install restricted):

od plugin trust handoff-od --capabilities fs:read,fs:write,bash
od plugin doctor handoff-od

Or vendor it at <yourRepo>/.open-design/plugins/handoff-od/ to version-control it with your code.


Prerequisites

The Open Design daemon must be running (default http://127.0.0.1:7456) — desktop app, or pnpm tools-dev from the Open Design repo.

The od binary ships with the desktop app and is usually not on PATH. On macOS and WSL2, /usr/bin/od (octal dump) shadows it — see references/platforms.md.


Usage

In Open Design, the plugin appears as a card in the inline rail under the composer. Click Use.

| Input | Options | Default | |---|---|---| | depth | bundle · spec · both | both | | feature | free text — the scope for the authored spec | — | | transport | zip · mcp · both | zip | | includeChats | boolean | false | | rootPointers | emit AGENTS.md / CLAUDE.md pointers | true | | verification | add a visual-verification section to the spec | false |

Or drive the scripts directly:

node scripts/hod-detect.js --project-name "My App" --project-dir <cwd> --entry "Landing.dc.html"
node scripts/hod-bundle.js
node scripts/hod-validate.js
node scripts/hod-archive.js
node scripts/hod-prompt.js --transport mcp --agent opencode

The bundle

my-app/
├── README.md            # the instruction carrier — generated
├── AGENTS.md CLAUDE.md  # pointers (rootPointers)
└── project/             # verbatim mirror
    ├── <Design>.dc.html  support.js
    ├── _ds/<ds-slug>-<uuid>/   # the design system, whole
    └── _ds/<short-alias>/      # what the HTML actually loads — both must ship

No manifest, no screenshots. The tree shape is the schema.


Scripts

| Script | Phase | Purpose | |--------|-------|---------| | hod-detect.js | 00 | Resolve entry file, design system, shape, alias, token carrier | | hod-bundle.js | 01 | Build <slug>/ — README, mirror, adherence config | | hod-spec.js | 02 | Scaffold design_handoff_<feature>/ with derived facts | | hod-validate.js | 03 | Six hard gates, two advisories; writes the verdict | | hod-archive.js | 04 | .zip + .tar.gz, magic-byte verified | | hod-prompt.js | — | The handoff prompt, MCP or zip form |

The emitted prompt tells the receiving agent it can push its work back with sync-od — that is what turns a one-way export into a round trip.


References

| File | What it holds | |---|---| | RUNBOOK.md | Numbered, copy-paste steps with no judgement calls | | adherence.md | The adherence generator, rule by rule | | spec-sections.md | The authored-README section spine | | bundle-contract.md | Tree, README slots, invariants I1–I8 | | mcp-contract.md | The Open Design surface that actually exists | | platforms.md | Install, trust, capabilities, version skew, zip traps |


Links

| Platform | Link | Description | |----------|------|-------------| | npm | @ross-sec/handoff-od | Public package | | GitHub | ross-sec/handoff-od | Source | | Sibling | @ross-sec/sync-od | The other direction | | Open Design | open-design.ai | The design workspace | | Skills Hub | skills.ross-developers.com | Ross Technologies skills |