staticcheck

Run staticcheck to detect and fix advanced issues in Go code.

3|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/JamesPrial/claudefiles --skill staticcheck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: staticcheck
Source: https://github.com/JamesPrial/claudefiles/tree/main/skills/golang/linting/staticcheck
Command: npx skills add https://github.com/JamesPrial/claudefiles --skill staticcheck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance on using staticcheck to catch and fix advanced issues in Go code.

Core Features & Use Cases

  • Install & Run: Setup staticcheck and run checks across modules.
  • Common Issues: Illustrative fixes for typical staticcheck findings.
  • CI Guidance: Integrate staticcheck into CI pipelines.

Quick Start

Install staticcheck and run staticcheck ./...