본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

code-stats

autogame-17 제작

Browser & Automation
2.4kclawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

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

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

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

에이전트
  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

출력

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

설치

clawhub install autogame-17/code-stats

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크