본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크