AgentSkillsCN

xcrypto-scan

扫描仓库,及时发现并追踪golang.org/x/crypto的使用情况与版本变化。

SKILL.md
--- frontmatter
name: xcrypto-scan
description: Scan repositories for golang.org/x/crypto usage and version tracking
argument-hint: "[--create-issues] [--interactive]"
allowed-tools:
  - Bash(./scripts/xcrypto-lookup.sh:*)
  - Read

x/crypto Usage Scanner

Scan GitHub organizations for repositories that directly use golang.org/x/crypto, tracking versions and security advisories.

Arguments: "$ARGUMENTS"

What It Does

  • Scans go.mod files for direct golang.org/x/crypto dependencies
  • Identifies outdated versions with known security vulnerabilities
  • Tracks security advisories from GitHub's advisory database
  • Optionally creates tracking issues in affected repositories

Workflow

Run the x/crypto lookup script with any provided options:

bash
./scripts/xcrypto-lookup.sh $ARGUMENTS

Options

OptionDescription
--create-issuesCreate tracking issues in repos with outdated x/crypto
--interactive, -iPrompt before creating/updating/closing issues
--help, -hShow detailed help

Usage Examples

code
/xcrypto-scan                      # Scan only (no issue creation)
/xcrypto-scan --create-issues      # Scan and create/update issues
/xcrypto-scan --create-issues -i   # Interactive issue management
/xcrypto-scan --help               # Show help

Output

  • Real-time progress for each repository
  • Version information and security advisory status
  • Markdown report: xcrypto-usage-report.md
  • Updates tracking issue in telco-bot repo