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

digital-intern

v1.0.0

Published

一键将 digital-intern 的自动化开发/测试提示词安装到 .claude / .codebuddy 等目录

Downloads

17

Readme

digital-intern

一键把 digital-intern 的自动化开发/测试提示词,安装到主流 AI 编程工具的命令目录下。

使用

npx digital-intern@latest init                # 交互式选择工具
npx digital-intern@latest init claude          # 只装到 .claude/
npx digital-intern@latest init claude cursor   # 同时装多个
npx digital-intern@latest init --all           # 装到所有支持的工具

支持的工具

工具的"命令系统"实现方式并不统一,所以分成两档:

✅ 完全兼容(目录名不同,文件格式相同,转换 100% 可靠)

| 工具参数 | 安装目录 | |----------|----------| | claude | .claude/commands/ | | codebuddy | .codebuddy/commands/ | | cursor | .cursor/commands/ | | trae | .trae/commands/ | | qwen | .qwen/commands/(参数占位符 {{args}}) |

⚠️ 格式转换(自动转换后可用,但和源工具的格式差异较大,建议装完打开看一眼)

| 工具参数 | 安装目录 | 差异点 | |----------|----------|--------| | gemini | .gemini/commands/*.toml | Gemini CLI 用 TOML 而不是 Markdown | | copilot | .github/prompts/*.prompt.md | 文件名后缀、frontmatter 字段、参数语法(${input:arguments})都不同 | | windsurf | .windsurf/workflows/*.md | 目录叫 workflows 不叫 commands,且不支持 frontmatter / 参数占位符 |

不支持

  • iFlow CLI:已于 2026 年 4 月 17 日官方停止服务,不再适配。

模板编写规则(重要)

templates/commands/*.md 里,两个地方不要写死:

  1. 用户输入 —— 写 $ARGUMENTS(各工具的语法差异由 CLI 自动转换)
  2. 指向"自己所在工具目录"的路径 —— 写 {{TOOL_DIR}},比如 `{{TOOL_DIR}}/prompts/xxx.md`,装到 .codebuddy 时会自动变成 .codebuddy/prompts/xxx.md。

templates/prompts/*.md 是被 commands 按需读取的规则文件,不需要 frontmatter, 原样复制到每个工具的 <工具目录>/prompts/ 下即可。

新增工具支持

编辑 tools.config.js:

  • 如果新工具的命令格式和 Claude Code 一样(commands/*.md + frontmatter + $ARGUMENTS), 只需加一行 family: "native"。
  • 如果只是参数占位符语法不同,用 family: "args-only" + argPlaceholder。
  • 如果格式差异更大(比如另一种文件格式),在 bin/renderers.js 里加一个新的渲染函数, 参考 toml / copilot / windsurf 的写法。
export const TOOLS = {
  // ...已有工具
  aider: { label: "Aider", dir: ".aider", family: "native" }, // 示例
};

发布

npm login
npm publish --access public