360 Secure SkillHub
360 安全技能中心

Code Review

通过 node 脚本或 curl 调用 LogicArt 的 analyze 接口,对代码片段或文件做 AI 代码审查,返回 bug、安全问题、复杂度评分、改进建议与逻辑流程;整仓库扫描需使用 Validate Repo,代码会上传到外部服务。

分类:开发
jpaulgrayson
jpaulgrayson
热度 54.42
最近更新 2026-05-17 12:48:05

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add jpaulgrayson/quack-code-review
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
code-review
description
AI-powered code analysis via LogicArt — find bugs, security issues, and get logic flow visualizations. Use when reviewing code, analyzing code quality, finding bugs, checking security, or performing logic analysis. Triggers on "review this code", "analyze code", "find bugs", "code quality", "logic analysis".

Code Review

AI code analysis powered by LogicArt at https://logic.art.

Analyze Code

node {baseDir}/scripts/analyze.mjs --code "function add(a,b) { return a - b; }"

Or analyze a file:

node {baseDir}/scripts/analyze.mjs --file path/to/code.js

API

Endpoint: POST https://logic.art/api/agent/analyze

curl -s -X POST "https://logic.art/api/agent/analyze" \
  -H "Content-Type: application/json" \
  -d '{"code": "your code here", "language": "javascript"}'

Response typically includes: bugs, security issues, complexity score, suggestions, and logic flow.

Full Repository Scans

For scanning entire repositories, use Validate Repo: https://validate-repo.replit.app

Presenting Results

When showing results to the user:

  1. Lead with critical bugs/security issues
  2. Show complexity score
  3. List suggestions by priority
  4. Include logic flow if provided

Works Great With

  • workflow-engine — Chain code reviews into CI/CD pipelines
  • quack-coordinator — Hire specialist reviewer agents

Powered by Quack Network 🦆