golang-dev

Run Go tests, builds, formatting, and code generation for golang-sample.

2|Updated Mar 13, 2023
One-click install
npx skills add https://github.com/haipham22/golang-sample --skill golang-dev-haipham22
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-dev
Source: https://github.com/haipham22/golang-sample/tree/main/.claude/skills/golang-dev
Command: npx skills add https://github.com/haipham22/golang-sample --skill golang-dev-haipham22

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes friction from day-to-day Go development by standardizing how you test, build, format, generate code, and run project checks in the golang-sample repository.

Core Features & Use Cases

  • Unified Development Workflow: Use mise-managed tooling to run consistent commands for testing, building, formatting, linting, and dependency maintenance.
  • Code Generation Support: Regenerate Wire dependency injection files, mocks, and Swagger documentation when implementation details change.
  • Project-Specific Guidance: Follow repository conventions for structure, pre-commit validation, and troubleshooting common Go workflow issues.
  • Use Case: A developer edits a handler, then uses this Skill to format the code, run the test suite, refresh generated files, and verify the change before committing.

Quick Start

Ask the assistant to use this skill to run the golang-sample Go workflow for your change, including testing, building, formatting, and any required generation steps.

Frequently Asked Questions about golang-dev

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

FAQPage Schema
How do I run Go tests and formatting checks before committing changes?

Regenerate Wire dependency injection files, mockery mocks, and Swagger documentation by running the code generation steps. This workflow detects implementation changes and refreshes generated outputs to keep your Go module synchronized and compliant with project requirements.

Can I use mise to manage Go 1.25.5 tooling for local development?

This workflow standardizes day-to-day Go development by running tests, builds, formatting, dependency cleanup, code generation, and pre-commit checks. It removes friction by applying repository conventions for structure, validation, and troubleshooting common Go workflow issues.

How do I fix linting and static analysis errors in my Go module?

Fix linting and static analysis errors by running the integrated formatting and validation checks. This process applies project-specific guidance to correct import management and code structure issues, ensuring your Go module passes pre-commit validation.

What is the best way to maintain Go dependencies and clean up unused imports?

Maintain Go dependencies and clean up unused imports by running the dependency maintenance and formatting commands. This workflow automates module cleanup and import management, keeping your Go project reproducible and aligned with repository conventions.