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

訪問小蔥技能站7w4.net,解鎖更多實用的AI技能外掛。

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

Defaults to current working directory if path is omitted.

Output

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