कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

context-builder

igorls द्वारा

Coding Agents & IDEs
500clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Generate LLM-optimized codebase context from any directory using context-builder CLI.

विवरण

यह स्किल क्या करती है

context-builder scans a local directory and generates a single structured markdown file from the codebase. Output is ordered by file relevance and supports AST-aware signature extraction to minimize token usage. Token budgeting, .gitignore awareness, and automatic directory exclusions are built in.

AST-aware signatures reduce context size by 80-90% compared to raw file dumps, making large codebases fit within model token limits without manual curation.

इसे कब इस्तेमाल करें

  • Feed an entire Rust codebase to an LLM for architecture review
  • Onboard to an unfamiliar repo by generating a full project snapshot
  • Extract only public API signatures before a code review session
  • Generate incremental diffs after code changes to update LLM context
  • Package a specific monorepo package for focused LLM analysis

उदाहरण वर्कफ़्लो

इनपुट

User asks: Generate a context file for my Rust project at /home/user/myapp for LLM code review

एजेंट
  1. 1

    Run token count preview: context-builder -d /home/user/myapp --token-count

  2. 2

    If over budget, scope to Rust and TOML files with a token cap

  3. 3

    Run: context-builder -d /home/user/myapp -f rs,toml --max-tokens 120000 -y -o docs/context.md

  4. 4

    Attach docs/context.md to the LLM prompt for architecture or bug analysis

आउटपुट

docs/context.md containing relevance-ordered Rust and TOML files, capped at 120K tokens, ready for LLM input

आवश्यकताएँ

  • Rust toolchain (rustup + cargo, required to build context-builder from source)

इंस्टॉलेशन

clawhub install igorls/context-builder

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक