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

prompt-plus

v1.1.2

Published

AI技能包管理工具 - 基于技能包驱动的 AI 开发工作流

Readme

prompt-plus

AI 技能包管理工具 - 基于技能包驱动的开发工作流

⚠️ v1.1.0+ 断档式更新:不兼容 v1.0.x,请重新安装

安装

npm install -g prompt-plus

快速开始

# 1. 添加技能包仓库
pp repo add official https://github.com/LeeSeaside/prompt-plus-templates.git

# 2. 同步仓库
pp repo sync

# 3. 查看可用技能包
pp skill list

# 4. 安装技能包到当前项目
pp skill install backend_api

# 5. 查看已安装的技能包
pp skill installed

命令列表

仓库管理

pp repo add <name> <url>          # 添加技能包仓库
pp repo add <name> <url> -b <branch>  # 指定分支
pp repo remove <name>             # 移除仓库
pp repo list                      # 列出所有仓库
pp repo sync                      # 同步所有仓库
pp repo sync <name>               # 同步指定仓库

技能包管理

pp skill list                     # 列出所有可用技能包
pp skill list -r <repo>           # 列出指定仓库的技能包
pp skill install                  # 交互式安装技能包
pp skill install <name>           # 安装指定技能包
pp skill installed                # 查看已安装的技能包
pp skill upgrade                  # 升级技能包(保留 context.md)
pp skill upgrade <name>           # 升级指定技能包
pp skill up                       # upgrade 简写

工作区管理

pp workspace init                 # 初始化 AI 工作区
pp ws init                        # 简写

技能包仓库格式

如果你想创建自己的技能包仓库,请按以下格式组织:

prompt-plus-templates/
└── skills/
    ├── backend_api/
    │   ├── manifest.md      # 执行流程和规范(必需)
    │   ├── context.md       # 项目配置模板(必需)
    │   ├── input/           # 输入文档目录
    │   │   └── .gitkeep
    │   ├── output/          # 输出文档目录
    │   │   └── .gitkeep
    │   └── tools/           # 提示词工具
    │       ├── init.md      # 初始化提示词
    │       └── dev.md       # 开发提示词
    ├── frontend_api/
    │   └── ...
    └── another_skill/
        └── ...

manifest.md 格式

# Skill Manifest: 技能名称

## 技能描述
简要说明这个技能包的用途。

## 执行协议
定义 AI 执行任务的步骤流程。

### 1. Context Check (上下文检查)
...

### 2. Input Acquisition (获取需求)
...

### 3. Code Generation (代码生成)
...

### 4. Documentation Output (文档输出)
...

## 约束条件
- 约束 1
- 约束 2

安装后的项目结构

your-project/
├── .ai-workspace/
│   ├── RULES.md             # AI 工作流规则(自动生成)
│   └── skills/
│       ├── backend_api/
│       │   ├── manifest.md
│       │   ├── context.md   # 需要初始化
│       │   ├── input/
│       │   ├── output/
│       │   └── tools/
│       └── frontend_api/
│           └── ...
└── (你的项目源码)

使用流程

  1. 安装技能包pp skill install backend_api
  2. 初始化配置:查看 tools/init.md,复制提示词发送给 AI
  3. AI 扫描项目:AI 会分析项目并填充 context.md
  4. 开始开发:将需求文档放入 input/,使用 tools/dev.md 的提示词

技能包升级

当仓库有更新时:

pp repo sync              # 同步仓库(不影响已安装的技能包)
pp skill upgrade          # 升级技能包(保留 context.md、input/、output/)

工作流闭环

backend_api 会输出前端对接文档,可直接用于 frontend_api:

backend_api 开发完成
    ↓
输出 output/api-spec-[模块].md
    ↓
复制到 frontend_api/input/
    ↓
frontend_api 生成前端代码

License

MIT