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

summary-and-test

v1.2.2

Published

Claude Code skill: generate knowledge summaries and mock exams from course slides. Supports PPT/PPTX/DOCX/PDF input with auto-conversion. Falls back to Markdown when xelatex is unavailable.

Readme

summary-and-test

一个skill,用于从课程课件生成知识总结和模拟试卷。

English

功能简介

从课程 PPT/PDF 课件和一份可选的样例试卷出发,本 skill 可以生成:

  1. 知识总结 — 以 cheat sheet 风格整理课件中的所有核心概念、公式和算法
  2. 模拟试卷(×3 份) — 三套完整的模拟试卷及参考答案,知识点分布与样例试卷对齐

快速开始

安装

通过 npm 安装(推荐):

npm install -g summary-and-test

这会自动将 skill 文件复制到 Claude skills 目录(~/.claude/skills/summary-and-test/)。

手动安装:

git clone https://github.com/YifeiZhang0508/summary-and-test.git
cp -r summary-and-test ~/.claude/skills/

或在 Windows 上:

xcopy /E /I summary-and-test %USERPROFILE%\.claude\skills\summary-and-test

使用

在 Claude Code 中,用自然语言触发 skill 或直接/summary-and-test

项目结构

summary-and-test/
├── SKILL.md                    # 主 skill 定义(578 行)
├── README.md                   # 英文文档
├── README.zh-CN.md             # 中文文档(本文件)
├── LICENSE                     # MIT 许可证
├── references/
│   ├── failure-paths.md        # 17 条故障路径及恢复策略
│   ├── quality-check.md        # 质量检查标准(五维度)
│   └── workflow-checklist.md   # 执行检查清单
├── templates/
│   ├── summary.tex             # 知识总结 LaTeX 模板
│   ├── summary.md              # 知识总结 Markdown 模板(回退方案)
│   └── exam-paper.tex          # 模拟试卷 LaTeX 模板
├── examples/
│   └── example-usage.md        # 示例会话记录
└── docs/
    └── customization.md        # 自定义指南

交付产品

skill 在 Summary-and-Test/ 文件夹下生成 4 个文件:

| 文件 | 说明 | |------|------| | <名称>.tex | 知识总结 LaTeX 源文件 | | <名称>.pdf | 知识总结编译 PDF | | 模拟试卷与答案.tex | 模拟试卷+答案 LaTeX 源文件 | | 模拟试卷与答案.pdf | 模拟试卷+答案编译 PDF |

环境要求

  • Claude Code(CLI、桌面应用或 IDE 扩展)
  • xelatex — 用于 PDF 编译(TeX Live 或 MiKTeX)
  • Pythonpdfplumberpypdf — 用于 PDF 文本提取

自定义

参见 docs/customization.md

  • 适配不同考试格式
  • 修改 LaTeX 样式
  • 添加新的知识点类别
  • 调整模拟试卷数量

许可证

MIT 许可证。详见 LICENSE