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

@alarmzb/nfd-generator

v1.0.2

Published

NFD Document Generator MCP Server

Downloads

357

Readme

@alarmzb/nfd-generator

NFD (New Function Document) 產生器 MCP Server — 根據 PSC (Redmine) 功能描述與 BRD 內容,自動填入範本產出 .docx 文件。

這個套件不需要 .env

本套件僅提供 generate_nfd tool,不讀取環境變數、不連線任何外部伺服器、不需要 API Key。

若你想從 PSC 自動抓取功能描述,請另外安裝姊妹套件 @alarmzb/redmine,該套件才是設定 REDMINE_URL / REDMINE_API_KEY 的地方(不是 JIRA_*)。

安裝

Claude Code

claude mcp add nfd-generator -- npx -y @alarmzb/nfd-generator

其他 client

{
  "mcpServers": {
    "nfd-generator": {
      "command": "npx",
      "args": ["-y", "@alarmzb/nfd-generator"]
    }
  }
}

建議同時安裝 @alarmzb/redmine,才能讓 AI 從 PSC 取得 issue 內容後直接產文件。

Tools

| Tool | 說明 | |------|------| | generate_nfd | 根據 metadata、checkbox 選項、內容段落填入 NFD 範本並輸出 .docx |

支援欄位:

  • Metadata:Product / Milestone / Area / Type / Feature/Story # / Module / Holder / NFD ID / Sample / Function Name / Editor / Revision Date
  • Checkboxes:Application(13 選項)、Molding Process(14 選項)、Analysis Module(19 選項)
  • Content:PURPOSE / FUNCTIONS / BENEFIT / REMARK / Part B

Feature/Story 編號自動解析

若提供 psc_subject(如 2466 - 210065 [Solution] 功能名稱),會自動解析為 Feature/Story = 2466 - 210065。若 subject 無此格式,會以 OOOO 佔位符並提醒手動修改。

使用範例

對 AI 說:

幫我用 PSC 211109 產生 NFD 文件,輸出到目前工作目錄
- Milestone: 2026R2
- Module: Solution
- Holder: Jimmy Chien
- Editor: Jill Chen

AI 流程:

  1. redmine_get_issue(211109) 取得 PSC 內容(需 @alarmzb/redmine
  2. 從 subject 解析 Feature/Story 編號
  3. 根據 BRD 產出 PURPOSE / FUNCTIONS / BENEFIT / Part B
  4. generate_nfd(...) 輸出 [NFD] 2332 - 211109 [Solution] 功能名稱.docx

相關