Pular para o conteúdo
TakoAPI
Voltar às skills

code-stats

por autogame-17

Browser & Automation
2.4kDownloads informados pelo clawskills.sh
0Visualizações
0 curtidaEntre para curtir esta skill
—Ainda sem avaliações
Sua avaliação

Resumo

Visualizes repository complexity by counting files, lines of code, and grouping by extension.

Descrição

O que esta skill faz

Counts files and lines of code in a local workspace, broken down by file extension. Takes an optional path argument, defaulting to the current directory.

Runs entirely locally with no external services, giving instant metrics without setting up a dedicated analytics tool.

Quando usá-la

  • Checking total line count before a code review
  • Comparing project size across branches
  • Identifying dominant languages in a mixed-language repo
  • Estimating scope of an unfamiliar codebase
  • Tracking growth after a major feature addition

Exemplo de fluxo de trabalho

ENTRADA

User asks: How large is this project and what languages does it use?

AGENTE
  1. 1

    Run code-stats against the workspace root

  2. 2

    Parse the returned JSON for files and lines totals

  3. 3

    Extract the byExt map to identify language distribution

  4. 4

    Format the data into a readable summary

SAÍDA

Project contains 284 files and 19,043 lines of code. TypeScript (.ts, .tsx) makes up 58% of files, followed by CSS at 12%.

Instalação

clawhub install autogame-17/code-stats

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links