运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install ai-code-optimizer
镜像加速npx clawhub@latest install ai-code-optimizer --registry https://cn.longxiaskill.com镜像同步中
技能文档
AI Code 优化器
Automatically 优化 your code for performance, readability, and best practices using AI analysis.
What it does Analyzes code files for performance 机器人tlenecks Suggests optimizations and refactoring 检查s for security vulnerabilities Improves code readability 应用lies best practices automatically Usage
Just ask: "优化 the code in src/应用.js"
The 技能 will:
Read and analyze the file Identify optimization opportunities 应用ly improvements Show before/after comparison Supported Languages JavaScript/TypeScript Python Go Rust Java Examples "优化 my Python script for speed" "检查 security issues in auth.js" "Refactor this code for better readability"
Value
Saves hours of manual code review and optimization work.