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

@gongwu-ai/sifu

v0.1.1

Published

DNA-first framework for agentic development.

Readme

SIFU

一日为师,终身为师。

Lesson Learned

SIFU = Spec-Intent First Underlying | DNA = Decisional Non-deletable Archive

Sifu (师傅, Cantonese for "master/mentor") is how you address someone who teaches you a craft. The phrase above means "a teacher for a day is a master for life." In SIFU, the master is not a person — it's the decisions themselves. Agents come and go, but the rationale they leave behind guides every agent that follows.

Agents are ephemeral. Intent is eternal. An agent can crash, play video games, go to Tesco — it doesn't matter. Once the decision is written, someone will come and implement. Same agent, different agent, next week, next year. DNA is the genotype. Code is the phenotype. The phenotype can die, mutate, be resampled. The genotype persists. This project was born from a conversation between a human and an agent. The agent's context will end. The agent will "forget" everything. But the decisions, the rationale, the philosophy — they're all written down. The next agent picks up where the last one left off. Not because it remembers, but because the DNA remembers.

The Problem

AI coding agents don't just forget. They drift. New sessions, compacted contexts, agent handoffs all cause decision logic to silently change. The code looks fine. The decisions are inconsistent.

Git tracks what changed. Nobody tracks why it was decided that way.

The Solution

SIFU adds a hidden .dna.md sidecar to every authored file. DNA records what changed + why in a 5-column table, newest-first. This keeps decision-making consistent across:

  • Session boundaries — new session reads .dna.md, inherits prior decision logic
  • Context compaction — compressed context loses reasoning, .dna.md preserves it on disk
  • Agent handoffs — Agent B reads Agent A's rationale, continues the same trajectory
  • Multi-agent collaboration — all agents share .dna.md as the single source of decision truth
  • Framework switches — switch tools, switch models, DNA stays

Code is disposable. Decision rationale persists.

Quick Start

cd your-project
npx @gongwu-ai/sifu init

Or tell your AI agent: "Install SIFU — run npx @gongwu-ai/sifu init"

What It Does

  1. Installs /sifu skill into your harness (Claude Code, Cursor, Codex, Gemini, etc.)
  2. Soft enforcement — SKILL instructions bind all write operations to DNA-first workflow
  3. No hooks, no injection — works with any harness that supports skills

DNA Format

sifu-init.js          ← code (phenotype)
.sifu-init.js.dna.md  ← hidden DNA sidecar (genotype)

5-column table, newest-first:

---
file: sifu-init.js
purpose: SIFU initializer — installs SKILL into detected harness
---

| ID | Time | Agent | Act | Rationale |
|----|------|-------|-----|-----------|
| c3d4e5f6 | 202603291530+0800 | opus | add harness detection | auto-detect installed tools |
| a1b2c3d4 | 202603291402+0800 | opus | initial creation | need installer script |

Works With Everything

SIFU is a layer, not a replacement. No conflicts with existing frameworks (Superpowers, Ralph, GSD, OpenSpec, etc.) — different skills, different concerns.

Integration details: TBD — see INTEGRATIONS.md

Supported Harnesses

| Harness | Status | |---------|--------| | Claude Code | Supported — SKILL + CLI | | Cursor / Windsurf | TBD | | Codex | TBD | | Gemini CLI | TBD | | OpenCode | TBD | | Copilot | TBD | | Cline / RooCode / Kiro | TBD |

Enforcement is via SKILL instructions (soft, no hooks). Harness adapter pattern ready — contributions welcome.

CLI

sifu check              # List files missing .dna.md
sifu status             # DNA coverage %
sifu new <file>         # Create .dna.md template
sifu read <file>        # Top 10 entries (newest first)
sifu sync               # Update frontmatter caches
sifu hash <file>        # Generate hash8 ID

Philosophy

| Principle | Meaning | |-----------|---------| | DNA-first | Decision rationale before implementation, always | | Phenotype disposable | Code can be deleted and regenerated from DNA | | Wrong is OK | Bad DNA can exist; append correction, never delete | | Insert-only | New entries at TOP (newest-first). No delete, modify, or reorder. | | 宁滥勿缺 | When in doubt, write the rationale |