go-quality

Run golangci-lint static analysis and generate OpenAPI specs with swag.

5|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/no-problem-dev/claude-code-plugins --skill go-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-quality
Source: https://github.com/no-problem-dev/claude-code-plugins/tree/main/plugins/go-backend/skills/go-quality
Command: npx skills add https://github.com/no-problem-dev/claude-code-plugins --skill go-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of checking the quality of Go backend code through static analysis and generates API documentation using Swagger, saving developers time and ensuring code standards.

Core Features & Use Cases

  • Static Code Analysis: Runs golangci-lint to identify potential bugs, style issues, and code smells.
  • API Documentation Generation: Uses swag to automatically generate OpenAPI (Swagger) specifications from Go code comments.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically lint your Go backend code and ensure your API documentation is up-to-date with every commit.

Quick Start

Run go-quality to lint your Go backend code and generate Swagger documentation.

Frequently Asked Questions about go-quality

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

FAQPage Schema
How do I run static analysis and generate Swagger API documentation for a Go backend?

To run static analysis and generate Swagger API documentation for a Go backend, execute the go-quality command. It applies golangci-lint for code checks and swag to produce OpenAPI specifications from your code comments.

What does golangci-lint static analysis check for in a Go project?

Golangci-lint static analysis in a Go project identifies potential bugs, style violations, and code smells. This ensures your backend code adheres to established quality standards and maintains structural integrity.

Do I need to install golangci-lint and swag before running Go code quality checks?

Yes, you need golangci-lint for linting and swag for Swagger generation installed in your environment. These dependencies are required for the Skill to perform static analysis and create API documentation.

Can I integrate Go static analysis and Swagger generation into a CI/CD pipeline?

Yes, you can integrate Go static analysis and Swagger generation into a CI/CD pipeline. Running the Skill with every commit automatically lints backend code and ensures API documentation remains continuously up-to-date.

How does swag generate OpenAPI specifications from Go code?

Swag generates OpenAPI specifications from Go code by parsing API documentation directly from your code comments. This automates Swagger specification creation, ensuring your API docs match your implementation.

What is the best way to maintain Go backend code standards and API documentation?

The best way to maintain Go backend code standards and API documentation is automating both processes. This combines golangci-lint static analysis with swag Swagger generation to enforce quality and sync docs.