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

@htechcs/harness-kit

v0.1.1

Published

Harness Engineering starter kit — thiết lập repo cho coding agent theo 5 mức trưởng thành (CLAUDE.md, context, guardrails, long-running, evals).

Readme

harness-kit

Thiết lập repo cho coding agent (Claude Code) theo 5 mức trưởng thành của harness engineering — bằng một lệnh.

npm license node

Tiếng Việt · English


Harness = mọi thứ bao quanh model (context, chỉ dẫn, tools, ràng buộc an toàn, orchestration, đo lường) để agent làm việc đáng tin. Kit này đóng gói nó thành artifact cài được + một tutorial dạy khi nào dùng từng thứ. Kit ship file; tutorial dạy kỷ luật.

1. Hoạt động thế nào

flowchart LR
    D([Bạn]) -->|"npx @htechcs/harness-kit"| I[["harness-kit<br/>installer"]]
    I --> R1[".claude/<br/>settings.json · agents/"]
    I --> R2["repo root<br/>setup.sh · TASK.md"]
    I --> R3["~/.claude/skills/<br/>init-harness"]
    I --> R4["docs/harness/<br/>tutorial + guides"]
    R1 --> A([Claude Code<br/>đọc mỗi session])
    R2 --> A
    R3 --> A
    R4 --> A

Một lệnh npx rải artifact vào đúng chỗ; từ đó Claude Code đọc chúng ở mọi phiên làm việc.

2. Cài nhanh

npx @htechcs/harness-kit              # hỏi chọn mức rồi cài
npx @htechcs/harness-kit --all        # cài cả 5 mức
npx @htechcs/harness-kit --levels=1,3 # chỉ mức cụ thể

Cần Node ≥18. Lệnh lưu toàn bộ tài liệu vào docs/harness/ để team giữ lại. Idempotent — chạy lại an toàn (--force để ghi đè).

3. 5 mức — mỗi mức chặn một kiểu thất bại

flowchart TD
    L1["Mức 1 · Nền tảng — CLAUDE.md"] --> L2["Mức 2 · Context sạch"]
    L2 --> L3["Mức 3 · Guardrails"]
    L3 --> L4["Mức 4 · Long-running"]
    L4 --> L5["Mức 5 · Evals & Observability"]
    L5 -.->|"phát hiện lỗi → gia cố harness"| L1

| Mức | Khi không có nó | Artifact | |-----|-----------------|----------| | 1 — Nền tảng | agent không có chỉ dẫn repo bền vững | skill /init-harness → sinh CLAUDE.md | | 2 — Context sạch | context ngập, agent "loãng" sự chú ý | subagent mẫu + checklist rà MCP | | 3 — Guardrails | agent xoá/push nhầm, bị hỏi quyền liên tục | settings.json (deny/ask/allow) | | 4 — Long-running | việc dài đứt giữa chừng, không resume | setup.sh, new-worktree.sh, TASK.md | | 5 — Evals & Obs | không biết agent làm tốt hay tệ | golden-task template + guide observability |

4. Cài tay từng mức

Installer chỉ tự động hoá đúng những lệnh cp dưới đây — mở ra nếu muốn hiểu/làm thủ công.

cp -r skills/init-harness ~/.claude/skills/   # rồi gõ /init-harness trong repo đích
mkdir -p .claude/agents && cp templates/agents/repo-explorer.md .claude/agents/

Đọc templates/agents/README.md + templates/mcp-audit.md.

mkdir -p .claude && cp templates/settings.json .claude/settings.json

Việc đầu tiên: thêm lệnh test/lint của repo vào allow (xem templates/guardrails/README.md).

cp templates/setup.sh templates/new-worktree.sh . && chmod +x setup.sh new-worktree.sh
cp templates/long-running/TASK.md .            # khi bắt đầu một việc dài
mkdir -p evals/cases && cp templates/evals/cases/example-task.md evals/cases/

Đọc templates/evals/README.md (có bước baseline không-harness) + observability.md.

mkdir -p docs/specs && cp templates/spec/FEATURE.md docs/specs/<feature>.md

5. Phụ thuộc giữa các mức

  • Mức 1 trước hết — xương sống; các mức sau viện tới CLAUDE.md.
  • Mức 3 & 4 đều "trỏ CLAUDE.md tới" artifact của chúng → cần Mức 1 xong.
  • Mức 5 cần ít nhất một mức đã áp để có thay đổi mà đo (xem vòng feedback ở sơ đồ trên).

6. Tài liệu

docs/harness-engineering-tutorial.md (English) — vì sao + khi nào dùng từng thứ (sau khi cài: docs/harness/). Danh mục nguồn đầy đủ của cả ngành: Awesome Harness Engineering.

7. License

MIT.