Code Analyst

Identify bugs, logic errors, and edge cases in code across files, repositories, and pull requests.

42|1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/rar-file/surf --skill code-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Analyst
Source: https://github.com/rar-file/surf/tree/main/skills/code_analyst
Command: npx skills add https://github.com/rar-file/surf --skill code-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code Analyst provides expert review to uncover bugs, performance issues, and maintainability gaps in codebases, helping teams ship higher-quality software faster.

Core Features & Use Cases

  • Bug detection and quality scoring across languages to guide PR triage and code reviews.
  • Performance profiling to identify bottlenecks and optimize critical paths.
  • Security checks for common vulnerabilities such as injection flaws and insecure patterns.
  • Idiomatic improvements with language-specific best practices to improve readability and maintainability.
  • Use Case: Review a PR or a code snippet to generate a prioritized list of fixes, rationale, and suggested tests.

Quick Start

Paste the code you want reviewed and ask for a detailed, structured analysis.

Frequently Asked Questions about Code Analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a deep code review to find bugs and edge cases?

Deep code review involves pasting a code snippet or pull request to identify logic errors and edge cases. The analysis delivers a structured quality rating alongside concrete fixes and prioritized recommendations.

How can I check my code for security vulnerabilities and performance issues?

Check code for security vulnerabilities and performance issues by submitting it for analysis. The review identifies common injection flaws, insecure patterns, and performance bottlenecks to optimize critical execution paths.

Does code review support multiple programming languages for pull requests?

Code review supports analyzing pull requests across common programming languages. It assesses quality, performance, security, and maintainability while applying language-specific idiomatic improvements and best practices.

What is the best way to improve code readability and maintainability?

The best way to improve code readability and maintainability is through idiomatic improvements. Analysis provides language-specific best practices and a structured assessment to guide refactoring for better software quality.

How do I get actionable fixes for a code snippet during PR triage?

To get actionable fixes for a code snippet during PR triage, submit the code for review. You will receive a prioritized list of fixes, rationale for each issue, and suggested tests to ensure quality.

What are the limitations of automated code analysis for repositories?

Automated code analysis for repositories focuses on identifying bugs, performance, and security gaps but requires pasting the specific code or files. It provides structured ratings and recommendations rather than executing the fixes automatically.