update_important_modules

Update stale Go modules in authgear-server repositories with go get -u and go mod tidy.

2.0k|126|Updated Jun 16, 2020
One-click install
npx skills add https://github.com/authgear/authgear-server --skill update-important-modules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update_important_modules
Source: https://github.com/authgear/authgear-server/tree/main/.claude/skills/update_important_modules
Command: npx skills add https://github.com/authgear/authgear-server --skill update-important-modules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents the authgear-server repository from drifting away from the curated important Go module set by ensuring the modules reported by make ensure-important-modules-up-to-date are refreshed promptly.

Core Features & Use Cases

  • Validation Workflow: Run make ensure-important-modules-up-to-date to detect stale dependencies across ./, ./custombuild, and ./e2e.
  • Targeted Updates: Use go get -u and go mod tidy within each affected module so only the reported dependencies change.
  • Use Case: When a dependency audit flags out-of-date modules before a release, follow this Skill to update just those modules and confirm the check passes.

Quick Start

Run make ensure-important-modules-up-to-date and update each reported module with go get -u followed by go mod tidy until the check passes.

Frequently Asked Questions about update_important_modules

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

FAQPage Schema
How do I update stale Go modules flagged by make ensure-important-modules-up-to-date?

Run go get -u followed by go mod tidy in each affected module directory to update stale Go modules until the make ensure-important-modules-up-to-date check passes cleanly.

What does go mod tidy do when updating repository dependencies?

Running go mod tidy removes unused dependencies and adds missing ones, ensuring the go.mod file stays synchronized after go get -u updates important Go modules across repository directories.

Which module directories does the authgear-server repository check for stale dependencies?

The repository checks the root ./ directory, ./custombuild, and ./e2e modules when running make ensure-important-modules-up-to-date to detect stale important Go modules.

Can I use this workflow to update only specific Go modules instead of all dependencies?

Yes, the workflow targets only the stale important Go modules reported by make ensure-important-modules-up-to-date, applying go get -u and go mod tidy to just those affected modules.

Why does make ensure-important-modules-up-to-date report dependency drifts in my Go repository?

It reports dependency drifts when curated important Go modules in the repository fall behind their latest versions, requiring go get -u and go mod tidy to refresh each affected module.