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

q-kdb-code-review

beee003 द्वारा

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

संक्षिप्त

AI-powered code review for Q/kdb+ — catch bugs in the most terse language in finance.

विवरण

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

Reviews Q/kdb+ code for type errors, performance antipatterns, and security vulnerabilities. Routes requests through Astrai's inference router, which selects models based on query complexity. Supports three strictness modes: standard, strict, and security.

General-purpose AI models treat Q's terse syntax as noise and miss finance-domain patterns like attribute gaps, adverb misuse, and asof join semantics, which this skill addresses through Q-specific prompting and kdb+ internals knowledge.

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

  • Catching implicit type coercion bugs before production deployment
  • Finding missing sorted attributes on asof join time columns
  • Auditing .z.pg and .z.pw handlers for injection vulnerabilities
  • Replacing each loops with vector operations in time-series calculations
  • Detecting race conditions in .z.ts timer callbacks

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

इनपुट

User asks: Review tick.q in strict mode

एजेंट
  1. 1

    Read tick.q from disk

  2. 2

    Construct review prompt with strict mode parameters and Q semantics context

  3. 3

    Route request to Astrai inference router for optimal model selection

  4. 4

    Parse model response and categorize findings by severity

  5. 5

    Format output with line numbers, explanations, and suggested fixes

आउटपुट

Issues labeled CRITICAL, WARNING, or INFO, each with the affected line, explanation, and a concrete fix, followed by a count summary

आवश्यकताएँ

  • ASTRAI_API_KEY from as-trai.com (free tier available, paid plans for higher volume)
  • Optional: API keys from AI providers (Anthropic, OpenAI, Google, DeepSeek, Mistral, Groq, Cohere, Perplexity) for BYOK routing

इंस्टॉलेशन

clawhub install beee003/q-kdb-code-review

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

लिंक