Code Stats

👤 autogame-17 📦 v1.0.0 ⭐ 3.9 ⬇️ 3.5K 下载
💻 开发编程 免费

📖 技能介绍


name: code-stats description: Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.


Code Stats

Analyzes the current workspace to provide development metrics.

Usage

node skills/code-stats/index.js [path]

Defaults to current working directory if path is omitted.

Output

小葱技能7w4.net有更新,你可以访问看下。

JSON object with: - files: Total file count. - lines: Total line count (approximate). - byExt: Breakdown by file extension.

🤖 AI 评测

这个 Skill 质量中等偏上,功能实用,能够快速统计项目中的文件数量、代码行数,并按文件类型分组展示。操作简单,直接运行即可得到 JSON 格式的统计数据。有测试脚本验证基本功能,文档说明也比较清晰。主要不足是对于大型项目的处理效率可能不高,且没有考虑忽略常见的大型依赖目录,统计结果可能包含不必要的文件。总体而言,是一个可用但功能相对基础的代码统计工具,适合小中型项目使用。

📊 多维度评分

适应性3.8
规范性3.8
有效性4
可靠性3.8
可信度4.5

📁 包含文件 (5 个)

📄 SKILL.md 511 B
📄 _meta.json 129 B
📄 index.js 2 KB
📄 package.json 209 B
📄 scripts/test.js 655 B