AI AGENT SKILLS

ai-code-optimizer

一个面向 Security 场景的 Agent 技能。原始说明:Automatically analyze and improve code for performance, readability, security, and best practices in JavaScript, Python, Go, Rust, and Java.

SKILL.md

SKILL.md

AI Code Optimizer

Automatically optimize your code for performance, readability, and best practices using AI analysis.

What it does

  • Analyzes code files for performance bottlenecks
  • Suggests optimizations and refactoring
  • Checks for security vulnerabilities
  • Improves code readability
  • Applies best practices automatically

Usage

Just ask: "Optimize the code in src/app.js"

The skill will:

  1. Read and analyze the file
  2. Identify optimization opportunities
  3. Apply improvements
  4. Show before/after comparison

Supported Languages

  • JavaScript/TypeScript
  • Python
  • Go
  • Rust
  • Java

Examples

"Optimize my Python script for speed"
"Check security issues in auth.js"
"Refactor this code for better readability"

Value

Saves hours of manual code review and optimization work.