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

doc-formatter

v1.0.0

Published

Official Document Formatter Skill — Automated generation of standardized Chinese official documents following GB/T 9704 national standard formatting. Supports 18 document types including notices, requests, reports, meeting minutes, letters, summaries, pla

Readme

📄 doc-formatter

Official Document Formatter Skill for Claude Code

Automated generation of standardized Chinese official documents. Built-in national standard (GB/T 9704) formatting templates for government and enterprise settings.

npm version License: MIT GitHub

Installation

npm install -g doc-formatter

Then use /doc-formatter in Claude Code.

Usage

| Command | Function | |---------|----------| | /doc-formatter new <type> | Interactive: fill in info, generate a complete document | | /doc-formatter list-templates | List all supported document templates | | /doc-formatter preview <type> | Preview a template's structure and required fields | | /doc-formatter export <path> | Export generated document as Markdown |

Supported Document Types (18)

| Template | Command | Use Case | |----------|---------|----------| | 📋 Notice | notice | Policy release, holiday notices, meeting arrangements | | 📨 Request for Approval | request | Seeking approval, resource allocation | | 📄 Report | report | Work reports, special reports, annual reports | | ✉️ Official Letter | letter | External correspondence, invitations | | 📝 Meeting Minutes | minutes | Meeting records and resolutions | | 📑 Work Summary | summary | Periodic/annual summaries | | 📊 Work Briefing | briefing | Weekly/monthly reports, topic briefings | | 🎯 Work Plan | plan | Annual/quarterly/monthly plans | | 📢 Proposal | proposal | Campaign initiatives, open letters | | 📌 Explanation Statement | explanation | Issue clarification | | 📇 Application Materials | application | Project/program applications | | 🎤 Debriefing Report | debrief | Individual/department debriefing | | 🧩 Special Plan | scheme | Implementation plans, remediation plans | | ✅ Approval | approval | Official approval/endorsement | | 📋 Meeting Notice | meeting-notice | Meeting convening notice | | 🔄 Reply Letter | reply | Response to correspondence | | 🏆 Commendation | commendation | Commending individuals/teams | | 📰 Bulletin | bulletin | Work bulletins, situation reports |

CLI Flags

| Flag | Description | |------|-------------| | --title=X | Document title | | --recipient=X | Recipient/audience | | --author=X | Authoring department/person | | --date=X | Document date | | --style=concise | Concise output style | | --style=detail | Detailed output style | | --style=formal | Full formal output style |

Core Features

  • National Standard Formatting: GB/T 9704 compliant — fonts, sizes, spacing, margins, headings, signatures, page numbers
  • Lightweight Input: Just fill in the key points, get a complete draft
  • Standard Phrase Library: Built-in formal vocabulary, opening/closing formulas, transitional phrases
  • 18 Templates: Covers all major Chinese official document types
  • Customizable: Modify templates, adjust phrasing, choose output style

Links

License

MIT