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

memoir-book-pipeline-skill

v1.1.0

Published

Cursor/Agent 技能:老年人回忆录成书流水线(访谈→story-extractor 碎片→骨架 JSON→逐章散文→单文件 HTML,系统字体无 Google Fonts)

Downloads

32

Readme

memoir-book-pipeline-skill

老年人回忆录成书 Agent 技能:原始访谈 → story-extractor 碎片 → 书籍骨架 JSON → 逐章第一人称散文 → 可打印单文件 HTML(A5、封面/目录/章扉/封底;默认系统字体、无 Google Fonts)。


安装到哪?(先读这段)

没有跨所有产品的「唯一全局 skills 目录」:Cursor、Claude Code、Codex 等各自读自己的配置路径,所以本包用不同参数装到对应工具常用手册/社区里常见的位置

| 使用场景 | 命令 | 安装路径(技能文件夹) | |----------|------|-------------------------| | Cursor,全局(推荐默认) | npx memoir-book-pipeline-skill | ~/.cursor/skills-cursor/memoir-book-pipeline/ | | Cursor,仅当前仓库 | npx memoir-book-pipeline-skill --project | <项目根>/.cursor/skills/memoir-book-pipeline/ | | Claude Code.agents/skills 那套) | npx memoir-book-pipeline-skill --claude | ~/.agents/skills/memoir-book-pipeline/ | | Codex 等其它工具 | 见下表「其它工具」 | 用 --dir 指到该工具文档要求的 skills 子目录 |

安装后目录内应有 SKILL.mdreferences/。若你的 Cursor/Claude 实际配置里指向别的根目录,请用 --dir 指到该根目录下的 memoir-book-pipeline 文件夹路径。

其它工具常见路径(需自行对照官方文档)

| 产品 | 常见 skills 根目录(社区/文档惯例,以官方为准) | |------|--------------------------------------------------| | Codex | $CODEX_HOME/skills(未设置时有人用 ~/.codex/skills) | | 通用 | 以各 IDE / Agent 设置里「Skills 路径」为准,再用 --dir |

npx memoir-book-pipeline-skill --dir "$CODEX_HOME/skills/memoir-book-pipeline"

环境变量(可选)

MEMOIR_SKILL_DIR=~/my-skills/memoir-book-pipeline npx memoir-book-pipeline-skill

仅在不带 --project / --claude / --dir 时,MEMOIR_SKILL_DIR 会作为默认安装目标(完整路径,含文件夹名 memoir-book-pipeline)。


一句话安装(Cursor 全局)

npx memoir-book-pipeline-skill

会在 ~/.cursor/skills-cursor/memoir-book-pipeline 下创建或覆盖技能文件;若 ~/.cursor/skills-cursor 不存在会自动创建


发布到 npm(维护者)

在包含 package.json 的本目录执行:

npm login
npm publish --access public --registry https://registry.npmjs.org/

版式规范(book-renderer)

HTML 的 CSS 与封面/封底结构references/canon-a5-memoir.css.md 为准,生成时应原样复制其中 B 节样式与 D 节 DOM,避免不同模型各写一套 CSS。

字体:规范稿默认不引用 Google Fonts,仅用系统宋体/楷体栈,以便墙内、企业网、离线环境双击即可打开 HTML;详见 canon-a5-memoir.css.md「B2」。


不用 npm 时

把本仓库中的 memoir-book-pipeline 文件夹(含 SKILL.mdreferences/)复制到你的 Agent 技能目录即可。