go-workflow

Enforce Go project workflows with linting, testing, and vulnerability scanning.

Updated Apr 11, 2023
One-click install
npx skills add https://github.com/salverius-tech/dotfiles --skill go-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-workflow
Source: https://github.com/salverius-tech/dotfiles/tree/main/home/dot_claude/skills/go-workflow
Command: npx skills add https://github.com/salverius-tech/dotfiles --skill go-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of guidelines and best practices for managing Go projects, ensuring consistency, quality, and efficiency in development.

Core Features & Use Cases

  • Standardized Tooling: Defines recommended tools and commands for linting, formatting, building, testing, and vulnerability scanning.
  • Module & Dependency Management: Outlines best practices for go.mod and go.sum files.
  • Error Handling & Concurrency: Details idiomatic Go patterns for robust error management and safe concurrency.
  • Testing & Project Structure: Provides guidance on writing effective tests and organizing Go projects.
  • Use Case: When starting a new Go project or onboarding a new developer, this Skill ensures everyone follows established best practices for code quality and project maintainability.

Quick Start

Activate this skill to get guidance on Go project workflows and best practices.

Frequently Asked Questions about go-workflow

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

FAQPage Schema
What are the best practices for organizing a Golang project structure?

Idiomatic Golang concurrency patterns ensure robust error management and safe concurrent execution. This workflow details specific patterns for safe concurrency, structuring your tests effectively, and managing dependencies to prevent race conditions.

How do I set up a Go development workflow with golangci-lint and govulncheck?

Handling errors and dependencies in Go requires strict management of go.mod and go.sum files. This workflow outlines best practices for module management and idiomatic error handling to ensure robust project maintainability and security.

What is the best way to manage go.mod and go.sum files for module management?

Managing go.mod and go.sum files properly ensures consistent module management across your Go project. This workflow outlines best practices for dependency management, error handling, and project structure to maintain code quality.

Does this Go workflow provide guidance on writing effective tests?

Yes, this Go workflow provides explicit guidance on writing effective tests. It integrates standardized tooling commands for building and testing alongside best practices for project structure and concurrency to ensure comprehensive code quality.

Why should I use govulncheck for vulnerability scanning in my Go project?

Using govulncheck for vulnerability scanning enforces security within your Go development workflow. This skill defines specific commands for vulnerability scanning, ensuring your project maintains robust security and code quality standards.