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

shit-score-skill

v0.0.4

Published

一个用于评价项目代码屎度的 AI 技能 CLI 分发工具

Downloads

479

Readme

shit-score-skill (屎山代码评分技能)

这是一个用于评价项目代码“屎度”的 AI 技能 (Skill)。它会审查你的代码,评价你的代码“屎度”。

评级标准

请根据代码问题的严重程度,将问题分为以下四个评级。详细的判定依据和各级别的常见代码问题列表,请参考 COMMON_ISSUES.md 文档。

  • 微屎(低风险):代码风格不统一、命名不规范、缺乏必要注释等小问题。
  • 一坨(中风险):逻辑冗余、魔法数字、可以优化但暂时不会报错的代码结构问题。
  • 巨屎(高风险):潜在的内存泄漏、未捕获的异常处理、过度耦合、影响性能的低效算法。
  • 屎山(高危风险):严重的安全漏洞(如XSS、SQL注入)、极度混乱且无法维护的逻辑、随时可能导致生产环境崩溃的致命错误。

审查流程

  1. 表格输出:以表格形式列出所有发现的问题、所在位置、评级和修改建议。
  2. 导出询问:询问你是否需要将审查结果导出为 Markdown 或 CSV 表格文件。
  3. 毒舌总结:根据整体情况给出充满锐度的毒舌评价,或者在你代码完美时夸赞你“一尘不染”。

安装方法

你可以通过 npx 快速将该技能安装到你的编辑器技能目录中:

npx shit-score-skill

运行后,CLI 工具会提示你选择安装路径:

  • 默认安装:安装到当前工作区的 .trae/skills/shit-score-skill 目录下。
  • 自定义安装:输入你希望存放该技能的任何自定义路径。

安装完成后,在支持技能的编辑器(如 Trae)中,你可以直接通过侧边栏或唤起 AI 输入框,要求其“评价一下当前代码的质量”或“使用 shit-score-skill 进行代码审查”。