code-stats

ClawSkills 作者 clawskills

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

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:clawskills~wanng-ide-code-stats
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~wanng-ide-code-stats/file -o wanng-ide-code-stats.md
# Code Stats

Analyzes the current workspace to provide development metrics.

## Usage

```bash
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.