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

prime-dev-cli

v2.0.2

Published

`prime-dev-cli` 是一个用于管理多前端项目开发环境的工具,当前包含: - CLI - 本地 Web UI - 浏览器扩展 - 通用 skill 源与 Claude Code 适配层

Readme

prime-dev-cli

prime-dev-cli 是一个用于管理多前端项目开发环境的工具,当前包含:

  • CLI
  • 本地 Web UI
  • 浏览器扩展
  • 通用 skill 源与 Claude Code 适配层

安装

npm install -g prime-dev-cli

或:

pnpm add -g prime-dev-cli

常用命令

prime init
prime ui
prime update
prime version
prime help

Skill 结构

本仓库现在采用两层结构:

1. 通用 skill 源

平台无关的能力说明位于:

  • skills/prime-workspace/README.md
  • skills/prime-workspace/SKILL.md

它描述的是 prime-dev-cli 的通用能力,而不是只绑定 Claude Code。

2. Claude Code 适配层

Claude Code plugin / skill 位于:

  • plugin-marketplace/plugins/prime-dev-cli

其中提供:

  • /prime-workspace

推荐安装方式:skills CLI

下面的 ./skills./plugin-marketplace 示例默认在仓库根目录执行。 如果你不是在仓库里,而是在已安装的 npm 包目录中操作,请把它们替换成实际安装目录下的对应路径。

推荐直接使用 skills 安装通用 skill:

npx skills add ./skills --agent claude-code --global --copy --yes

如果你要装到别的 agent,替换 --agent 即可,例如:

npx skills add ./skills --agent codex --global --copy --yes

这个 skill 的目标体验

这个 skill 应该支持用户直接说自然语言,而不是要求用户记接口。

例如:

  • 帮我启动 icrc
  • 停掉 ilink-icrc
  • 看看 iqc 在不在跑
  • 把 icrc 切到 sitnew
  • 给 isource 挂上 ilink-isource
  • 把 /api/user/info 切到异常场景
  • 看下 esource-fe 分支

/prime-workspace 能做什么

  • 查看 workspace / 项目状态看板
  • 查询单个应用状态
  • 启动 / 停止 / 查看日志
  • 管理 mock 场景
  • 切换代理地址
  • 切换 microapp 地址
  • 查看项目分支状态

Claude Code 兼容安装方式

如果你需要使用 Claude Code plugin 兼容层,可以直接使用官方 Claude CLI:

持久化安装

claude plugin marketplace add ./plugin-marketplace
claude plugin install prime-dev-cli@prime-dev-cli-marketplace

当前 session 临时加载

claude --plugin-dir ./plugin-marketplace/plugins/prime-dev-cli

如果本机有 cc 别名,也可以:

cc --plugin-dir ./plugin-marketplace/plugins/prime-dev-cli

开发与验证

校验 plugin / marketplace

claude plugin validate ./plugin-marketplace

本地加载 Claude adapter

claude --plugin-dir ./plugin-marketplace/plugins/prime-dev-cli

运行 root 测试

pnpm run test:root