code-stats
✓使用 tokei(按語言快速行計數)和 difft(語義 AST 感知差異)分析代碼庫。無需手動計數即可快速了解項目概況。觸發:代碼庫有多大、代碼行數、語言、顯示語義差異、比較文件、代碼統計。
SKILL.md
| Line-by-line | AST-aware | | Shows moved as delete+add | Recognizes moves | | Whitespace sensitive | Ignores formatting |
| Count all code | tokei | | Compact output | tokei --compact | | Sort by code | tokei --sort code | | TypeScript only | tokei -t TypeScript | | JSON output | tokei --output json | | Exclude dir | tokei --exclude nodemodules | | Semantic diff | difft file1 file2 | | Git diff | GITEXTERNALDIFF=difft git diff |
使用 tokei(按語言快速行計數)和 difft(語義 AST 感知差異)分析代碼庫。無需手動計數即可快速了解項目概況。觸發:代碼庫有多大、代碼行數、語言、顯示語義差異、比較文件、代碼統計。 來源:0xdarkmatter/claude-mods。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/0xdarkmatter/claude-mods --skill code-stats 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/0xdarkmatter/claude-mods --skill code-stats- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 code-stats?
使用 tokei(按語言快速行計數)和 difft(語義 AST 感知差異)分析代碼庫。無需手動計數即可快速了解項目概況。觸發:代碼庫有多大、代碼行數、語言、顯示語義差異、比較文件、代碼統計。 來源:0xdarkmatter/claude-mods。
如何安裝 code-stats?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/0xdarkmatter/claude-mods --skill code-stats 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/0xdarkmatter/claude-mods
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01