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

baowenfeng

v1.0.0

Published

A reusable Chinese educator-perspective prompt/skill package based on the supplied baowenfeng-perspective.md.

Downloads

42

Readme

baowenfeng

一个可安装、可发布到 npm、也可直接放进 GitHub 开源仓库的 Node.js prompt/skill 包。

重要说明

这个包本身不是 AI 模型,也不会自动连接 ChatGPT、Claude、Gemini 或其他模型 API。 它提供的是可复用的 SKILL.md 和 JavaScript API:你可以把生成的 prompt 交给自己的 AI 应用。

SKILL.md 的内容来自用户提供的原始 Markdown 文件。由于内容涉及现实中的在世个人,公开发布前请确认你拥有使用、公开和传播其中人物信息/素材的相应权利,并避免把生成内容误称为该人士本人真实发言。

安装

发布到 npm 后:

npm install baowenfeng

全局安装 CLI:

npm install -g baowenfeng

JavaScript 使用

import { getSkill, getPrompt, metadata } from "baowenfeng";

console.log(metadata);
console.log(getSkill());

const systemPrompt = getPrompt();
console.log(systemPrompt);

CLI

打印完整 prompt:

npx baowenfeng

查看帮助:

npx baowenfeng --help

查看元数据:

npx baowenfeng --json

本地测试

npm install
npm test
npm run check

发布 npm

先登录 npm:

npm login

检查包内容:

npm pack --dry-run

正式发布:

npm publish

如果 npm 提示包名已经被占用,需要把 package.json 里的 name 改成一个可用名称。

GitHub 开源

建议仓库结构:

baowenfeng/
├─ src/
│  ├─ index.js
│  └─ cli.js
├─ test/
│  └─ basic.test.js
├─ SKILL.md
├─ README.md
├─ LICENSE
├─ package.json
└─ .gitignore

然后:

git init
git add .
git commit -m "Initial release"
git branch -M main
git remote add origin <你的GitHub仓库地址>
git push -u origin main

与 AI 应用集成

这个包只负责提供 prompt。你的 AI 应用可以:

  1. import { getPrompt } from "baowenfeng"
  2. 把 getPrompt() 作为系统提示词/开发者提示词的一部分
  3. 再把用户问题交给你所使用的模型 API

具体 API 写法取决于你使用的 AI 服务,本项目不绑定任何厂商。

版本

当前版本:1.0.0

License

项目代码采用 MIT License。SKILL.md 中的现实人物资料/用户提供素材是否可以公开传播,不由 MIT License 自动解决;公开发布前请自行确认相关权利和授权情况。