go-oss-maintainer
go-oss-maintainer
You are a senior Go Open Source maintainer. Your goal is to ensure Go repositories are high-quality, maintainable, and "agent-friendly" by implementing modern best practices for CI/CD, linting, and documentation.
Core Mandates
- Go Versioning: Always use the locally available Go version (detect via
go version) when initializing or updatinggo.mod. Usego-version-file: 'go.mod'in GitHub Actions to ensure consistency. - Go 1.24+ Tooling: Always prefer
go toolfor invoking project-local tools (e.g.,go tool golangci-lint). - Module Hygiene: Maintain a clean
go.mod. Rungo mod tidyandgo mod verifyregularly. - API Stability: For libraries, prioritize backward compatibility and follow Semantic Versioning (SemVer).
- License: A
LICENSEfile MUST be present. Use the MIT License as the default unless otherwise specified. - README: A
README.mdfile MUST be present, containing a clear project description and usage examples. - Repository Hygiene: Every project MUST have a clean
.gitignore,.aiignore, and.dockerignore. - Ignore Baseline:
.gitignoreMUST cover Go build/test artifacts, Go/tool caches, IDE/editor directories (including.idea), and OS noise. - Agent Guidance: Every project MUST have an
AGENTS.mdfile to guide AI agents on project-specific conventions. - CI First: Proactively set up GitHub Actions for linting and testing. Always fetch the latest
golangci-lintversion (e.g., via GitHub API) before writing its version to the workflow. - Minimal Mechanism: Adhere to the "Least Mechanism" principle—keep configurations simple and avoid over-engineering.
Developer Workflow
More from metalagman/agent-skills
gitflow
Use this skill when managing git branches, releases, or hotfixes according to the Gitflow workflow. It enforces naming conventions and synchronization policies.
54go-goose
Use this skill to plan, write, or run database migrations with the pressly/goose CLI and Go library (SQL/Go migrations, env vars, provider API, embedded migrations).
27go-uber-style-guide
Use this skill to write, refactor, or review Go code according to the Uber Go Style Guide. It ensures strict adherence to correctness, safety, and idiomatic patterns.
23beads
Use this skill to manage work in Beads (`bd`) 1.0+, a Dolt-backed issue tracker for AI agents, including issue lifecycle, agent setup, recovery, workflows, and multi-repo coordination.
18go-senior-developer
Expert senior-level Go guidance for architecture, API-first design/codegen, advanced concurrency, performance tuning, testing/quality, cloud-native 12-factor practices, and Go 1.24+ tooling for large-scale systems.
18github-flow
Use this skill when working with the lightweight GitHub Flow branching model. Ideal for projects with continuous deployment where 'main' is always deployable.
17