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

socratic-mentor

v1.0.5

Published

Claude Code 学习导师。任何概念、任何代码库,用提问引导你快速上手。学完自动生成要点,一键同步飞书。 / A Claude Code learning mentor that guides you through any concept or codebase via questioning. Key takeaways auto-sync to Feishu.

Readme

socratic-mentor


Why

大多数 AI 直接给你答案。这个技能教你思考

  • 用苏格拉底式提问引导你自己发现答案
  • 每次讲解控制在 ~200 字,宁整不碎
  • 理解验证:让你用自己的话讲回来,确保你真的懂了
  • 在代码仓库中:引实际文件和行号,带你追踪调用链

最好的老师不是告诉你答案的人,而是让你自己找到答案的人。

Installation

npx skills add 2p1c/socratic-mentor

也可以通过 npm 安装:

npm install -g socratic-mentor      # 全局安装
npx socratic-mentor                 # 单项目安装
npm install --save-dev socratic-mentor  # 作为项目依赖

激活

安装后在 Claude Code 中说:"学习模式"

技能会自动检测你的项目环境,有代码库就问你要不要学代码,空目录则进入问答模式。首次使用后会问你要不要设为默认激活。

Quick Start

用"学习模式"激活后,试试这些:

"讲讲 React hooks 是怎么工作的?"
"这个项目的 auth 中间件在做什么?"
"为什么说 Rust 的所有权系统能防止内存泄漏?"

每个问题技能都会用苏格拉底式提问引导你——不直接给答案,让你自己发现。

Features

两种模式 — Q&A 模式应对概念学习,代码模式追踪实际文件和调用链

苏格拉底式引导 — 不直接给答案,用提问让你自己发现,每次讲解 ~200 字

智能激活 — 全局安装默认静默,检测到学习意图或有代码库时才激活

自动退出 — 识别工程指令自动退出,不干扰正常工作

飞书同步 — 学习要点可同步到飞书文档,首次无配置时自动引导绑定

Configuration

偏好自动写入 .claude/settings.local.json

{
  "socratic-mentor": {
    "activated": true,
    "feishuDocToken": "<your-doc-token>"
  }
}

| 配置项 | 说明 | |--------|------| | activated | 设为 true 后,进入项目即进入待命 | | feishuDocToken | 飞书文档 token,绑定后可一键同步学习笔记 |

License

MIT