go-version-scan

Scan GitHub organizations for outdated Go versions in go.mod files.

2|Updated Jul 8, 2024
One-click install
npx skills add https://github.com/redhat-best-practices-for-k8s/telco-bot --skill go-version-scan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-version-scan
Source: https://github.com/redhat-best-practices-for-k8s/telco-bot/tree/main/.claude/skills/go-version-scan
Command: npx skills add https://github.com/redhat-best-practices-for-k8s/telco-bot --skill go-version-scan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Go Version Scanner identifies repositories with outdated Go versions in go.mod files, helping teams maintain security and compatibility.

Core Features & Use Cases

  • Scan GitHub organizations for repositories using outdated Go versions in their go.mod files.
  • Optionally create and track issues to prompt updates across repositories.
  • Generate a summary report with current vs recommended Go versions to guide remediation.

Quick Start

Run the Go version checker with your desired options to scan all repositories for outdated Go versions.

Frequently Asked Questions about go-version-scan

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

FAQPage Schema
How do I scan a GitHub organization for outdated Go versions in go.mod files?

To scan a GitHub organization for outdated Go versions, run the go-version-checker.sh script. It checks go.mod files across repositories and reports per-repo Go version deltas against recommended versions.

Can I automatically create issues for repositories with outdated Go versions?

Yes, you can automatically create issues for outdated Go versions by passing the --create-issues flag to the scan script. This prompts updates across repositories within the target GitHub organization.

What is the best way to check Go version compatibility across multiple repositories?

Checking Go version compatibility across multiple repositories is done by scanning go.mod files. The scanner generates a summary report comparing current versus recommended Go versions to guide remediation.

How do I clear cached data when scanning Go versions in GitHub repos?

To clear cached data when scanning Go versions, use the --clear-cache flag with the go-version-checker.sh script. This ensures a fresh scan of the repositories' go.mod files.

Why does my GitHub organization need a Go version scanner?

A Go version scanner is needed to maintain security and compatibility across an organization. It identifies repositories with outdated Go versions in their go.mod files, enabling centralized tracking and remediation.

Does the Go version scanner work without external dependencies?

The Go version scanner operates via a CLI-based workflow using a shell script and does not list external dependencies. It directly parses go.mod files to identify outdated Go versions.