golang-code-review

Review Go code for security, correctness, performance, and architecture.

Updated Oct 21, 2022
One-click install
npx skills add https://github.com/Chengxufeng1994/dotfiles --skill golang-code-review-chengxufeng1994
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-code-review
Source: https://github.com/Chengxufeng1994/dotfiles/tree/main/claude/skills/golang-code-review
Command: npx skills add https://github.com/Chengxufeng1994/dotfiles --skill golang-code-review-chengxufeng1994

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates and standardizes the process of reviewing Go code, ensuring high standards for security, correctness, performance, architecture, and test coverage.

Core Features & Use Cases

  • Automated Code Audits: Reviews code for security vulnerabilities, logic errors, performance bottlenecks, and architectural flaws.
  • PR & Changes Feedback: Provides detailed feedback on uncommitted changes, staged files, or specific pull requests.
  • Use Case: When submitting a new feature for a Go project, use this Skill to perform a thorough code review before merging, catching potential issues early.

Quick Start

Use the golang-code-review skill to review the changes in the current branch.

Frequently Asked Questions about golang-code-review

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

FAQPage Schema
How do I perform a comprehensive Go code review on uncommitted changes?

To perform a Go code review on uncommitted changes, the skill analyzes staged files and uncommitted changes, dispatching a dedicated agent to check security, correctness, performance, architecture, and test coverage while categorizing issues by severity.

What does an automated Go code audit cover for security and performance?

An automated Go code audit covers security vulnerabilities, logic errors, performance bottlenecks, architectural flaws, and test coverage, providing actionable recommendations categorized by severity to ensure high code standards.

Can I review a specific pull request or branch for my Go project?

Yes, you can review specific pull requests or branches for your Go project. The skill handles code review requests for specific file paths, PR numbers, and branches, providing detailed feedback before merging.

What is the best way to automate Go code review feedback before merging a feature?

The best way to automate Go code review feedback before merging is using a skill that dispatches a dedicated reviewer agent to analyze changes, adhering to strict reporting standards and providing actionable recommendations for early issue detection.

What happens if the automated Go code reviewer agent fails during analysis?

If the automated Go code reviewer agent fails during analysis, the skill provides a fallback manual review process to ensure your Go code is still audited for security, correctness, performance, architecture, and test coverage.

Do I need specific dependencies to run a Go code review on staged files?

No specific dependencies are required to run a Go code review on staged files. The skill operates independently to analyze your Go project changes and generate categorized reports on security and performance issues.