validate-go-proverbs

Validate Go code diffs against the Go Proverbs for violations.

22|3|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/peteski22/claude-pragma --skill validate-go-proverbs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-go-proverbs
Source: https://github.com/peteski22/claude-pragma/tree/main/skills/validators/go-proverbs
Command: npx skills add https://github.com/peteski22/claude-pragma --skill validate-go-proverbs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces Go code quality by validating changes against the Go Proverbs, helping teams avoid common Go pitfalls and achieve clearer, safer code.

Core Features & Use Cases

  • Automated proverb validation: Checks Go changes against Go Proverbs guidelines for concurrency, interfaces, and error handling.
  • Selective scope: Focuses on changed Go files in a diff, enabling fast feedback during code reviews.
  • Actionable reporting: Returns hard and SHOULD violations with file locations and practical suggestions.

Quick Start

Run the validator on your Go changes to surface proverb-based violations, then iterate until all issues are resolved.

Frequently Asked Questions about validate-go-proverbs

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

FAQPage Schema
How do I validate Go code against the Go Proverbs in a pull request?

To validate Go code against the Go Proverbs, run the validator on changed Go source files in a diff. It checks concurrency patterns, interface sizes, and error handling, reporting hard and SHOULD violations with actionable suggestions.

What are the Go Proverbs and how do they improve code quality?

The Go Proverbs are guidelines fetched from go-proverbs.github.io that help avoid common pitfalls. Validating changes against them enforces clearer, safer code by checking concurrency, interfaces, and error handling.

Can I run static analysis on only the modified Go files in a diff?

Yes, you can run static analysis on only the modified Go files. The validator focuses selectively on changed Go files within a diff, enabling fast feedback during code reviews.

Does this validator check for concurrency patterns and interface size violations?

Yes, this validator checks for concurrency patterns and interface size violations. It applies Go Proverbs specifically to these areas alongside error handling to surface hard and SHOULD violations.

How do I get actionable suggestions for Go Proverbs violations in my code?

To get actionable suggestions for Go Proverbs violations, run the validator on your Go changes. It returns hard and SHOULD violations with specific file locations and practical recommendations to resolve issues.