with one click
ai-code-reviewer
AI 代码审查助手,基于本地 AI 模型自动检测代码质量。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
AI 代码审查助手,基于本地 AI 模型自动检测代码质量。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
GitHub 赏金猎人。自动监控 GitHub bounty,支持 Algora/UbiquityOS/RustChain 平台。v7.5.6 新增用户授权全自动策略(2026-06-11)
AI Agent 团队 - 61 个专业 Agent,8 大部门,完整的 AI 代理机构。支持单 Agent 使用和多 Agent 协作编排。
AI 确定性控制工具。管理 temperature/top_p/seed 参数,多场景预设,一致性检查(编辑距离+TF-IDF),监控趋势分析与异常检测,模型参数注入与恢复。
AI效率监控工具。监控AI任务执行效率,识别浪费模式(重复查询/过长上下文/无效重试/过度生成/低质量循环),生成优化建议和成本节省报告。支持OpenClaw日志解析、多模型成本计算、ASCII趋势图。
自动从代码生成技术文档,支持 Python/JavaScript/Bash,AI 增强文档质量
技能自动开发流水线(PM辅助工具)。PRD→Plan预审→Review(12维度评分)→修复(≤3轮)→发布的质量保障工具。v1.0定位PM手动调度中心。
| name | ai-code-reviewer |
| description | AI 代码审查助手,基于本地 AI 模型自动检测代码质量。 |
AI 代码审查助手是一个基于本地 AI 模型(Ollama)的代码质量自动检测工具,支持 5 层代码质量检查和 AI 辩论机制。
# 审查单个文件
./bin/code-review.sh test.py
# 审查目录
./bin/code-review.sh src/
# 输出报告到文件
./bin/code-review.sh -o report.md test.py
# 使用 AI 分析(需要 Ollama)
./bin/code-review.sh --ai test.py
from lib.core.quality_detector import CodeQualityDetector
from lib.ai.ai_engine import AIEngine
# 基础检测
detector = CodeQualityDetector()
issues = detector.detect('test.py')
# AI 增强分析
ai = AIEngine(model="codellama:7b")
if ai.check_ollama():
result = ai.analyze_code(code, "python")
from lib.core.integration_manager import IntegrationManager
manager = IntegrationManager()
# 发送审查结果到 inbox
manager.send_to_inbox({
"type": "code_review",
"file": "test.py",
"issues": issues
})
# 发布到 GitHub Issue
comment = manager.generate_review_comment(issues, "test.py")
manager.post_comment_to_issue(15, comment)
| 指标 | 目标 | 当前状态 |
|---|---|---|
| 检测速度 | <5 秒/文件 | ✅ <3 秒 |
| 准确率 | >90% | ✅ AI 辩论 93% |
| 误报率 | <10% | ✅ AI 辩论 8% |
| 内存占用 | <500MB | ✅ ~200MB |
codellama:7b 或 deepseek-coder:6.7bgh)MIT License
最后更新:2026-03-16 08:13 版本:v2.0 - Phase 2 完成