İçeriğe geç
TakoAPI
Becerilere dön

astrai-code-review

beee003 tarafından

Coding Agents & IDEs
447İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

AI-powered code review with intelligent model routing — saves 40%+ vs always using the most expensive model.

Açıklama

Bu Beceri Ne Yapar

Routes code review requests to different AI models based on diff complexity. Complex bugs and security issues go to capable models; formatting and style issues go to fast, cheap ones. Supports bring-your-own-keys so provider costs go directly to your own accounts.

Unlike sending every review to a single model, it classifies diff complexity first and routes accordingly, cutting costs 40%+ without degrading review quality on hard problems.

Ne Zaman Kullanılır

  • Reviewing staged changes before committing
  • Running a security audit on authentication code
  • Enforcing style and naming conventions before opening a PR
  • Checking a specific file for logic errors or edge cases
  • Tracking AI inference costs and savings across reviews

Örnek İş Akışı

GİRİŞ

User asks: /review --focus security on staged changes in src/auth.py

AJAN
  1. 1

    Reads the current staged diff and extracts changed files

  2. 2

    Classifies the diff as high complexity due to authentication logic

  3. 3

    Routes the review to a capable model via the Astrai API

  4. 4

    Returns structured issues with file path, line number, severity, and suggested fix

ÇIKIŞ

A list of typed issues labeled critical, warning, or info, each with a line reference and concrete remediation suggestion

Gereksinimler

  • ASTRAI_API_KEY from as-trai.com (free tier available)
  • Provider API keys such as ANTHROPIC_API_KEY or OPENAI_API_KEY if using BYOK mode

Kurulum

clawhub install beee003/astrai-code-review

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar