---
name: php186-skill-47322
description: "AI驱动的代码分析——通过LogicArt发现漏洞、安全问题并生成逻辑流可视化。适用于代码审查、质量分析等场景..."
---

# LogicArt Code Review

## 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 🦆
