go-nolint-audit

Audit Go nolint directives for stale suppressions using golangci-lint.

3|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/rshade/agent-skills --skill go-nolint-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-nolint-audit
Source: https://github.com/rshade/agent-skills/tree/main/skills/go-nolint-audit
Command: npx skills add https://github.com/rshade/agent-skills --skill go-nolint-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit Go nolint directives for staleness and lazy justifications, ensuring suppressions are still warranted.

Core Features & Use Cases

  • Mechanical verification of each suppression with golangci-lint.
  • Adversarial Red/Blue/White debates on top candidates for removal.
  • Guidance for cleanup in inherited Go codebases and growing nolint counts.

Quick Start

Run the audit workflow on a Go project to identify stale or justified nolints.

Frequently Asked Questions about go-nolint-audit

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

FAQPage Schema
How do I audit nolint directives in a Go codebase to find stale suppressions?

You can audit nolint directives by mechanically testing each suppression with golangci-lint to verify if it is still warranted, then running adversarial debates on top removal candidates to surface stale suppressions.

What is the best way to clean up inherited Go codebases with growing nolint counts?

Cleaning up inherited Go codebases involves running a nolint audit that mechanically verifies each suppression and applies adversarial Red/Blue/White debates to identify lazily justified directives for removal.

Do I need golangci-lint installed to audit Go nolint suppressions?

Yes, auditing nolint suppressions requires both Go and golangci-lint installed, because the process uses golangci-lint to mechanically test whether each suppression is still necessary.

How does the adversarial debate process work for nolint removal candidates?

The adversarial debate process runs Red, Blue, and White analyses on top nolint removal candidates to argue for and against suppression deletion, ensuring only verifiably stale or unjustified nolints are removed.