कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक