agent/claude/devops/skills/update-deps/SKILL.md
Snider 6e37bd22f0 feat: devops plugin, CLI commands, Codex dispatch fixes, AX sweep
DevOps plugin (5 skills):
- install-core-agent, repair-core-agent, merge-workspace,
  update-deps, clean-workspaces

CLI commands: version, check, extract for diagnostics.

Codex dispatch: --skip-git-repo-check, removed broken
--model-reasoning-effort, --sandbox workspace-write via
--full-auto. Workspace template extracts to wsDir not srcDir.

AX sweep (Codex-generated): sanitise.go extracted from prep/plan,
mirror.go JSON parsing via encoding/json, setup/config.go URL
parsing via net/url, strings/fmt imports eliminated from setup.

CODEX.md template updated with Env/Path patterns.
Review workspace template with audit-only PROMPT.md.
Marketplace updated with devops plugin.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 15:45:16 +00:00

1.7 KiB


name: update-deps description: This skill should be used when the user asks to "update deps", "bump core", "update go.mod", "upgrade dependencies", or needs to update dappco.re/go/core or other Go module dependencies in a core ecosystem repo. Uses go get properly — never manual go.mod editing. argument-hint: [repo-name] [module@version] allowed-tools: ["Bash"]

Update Go Module Dependencies

Properly update dependencies in a Core ecosystem Go module.

Steps

  1. Determine the repo. If an argument is given, use it. Otherwise use the current working directory.

    /Users/snider/Code/core/<repo>/
    
  2. Check current dependency versions:

    grep 'dappco.re' go.mod
    
  3. Update the dependency using go get. Examples:

    # Update core to latest
    GONOSUMDB='dappco.re/*' GONOSUMCHECK='dappco.re/*' GOPROXY=direct go get dappco.re/go/core@latest
    
    # Update to specific version
    GONOSUMDB='dappco.re/*' GONOSUMCHECK='dappco.re/*' GOPROXY=direct go get dappco.re/go/core@v0.6.0
    
    # Update all dappco.re deps
    GONOSUMDB='dappco.re/*' GONOSUMCHECK='dappco.re/*' GOPROXY=direct go get -u dappco.re/...
    
  4. Tidy:

    go mod tidy
    
  5. Verify:

    go build ./...
    
  6. Report what changed in go.mod.

Important

  • ALWAYS use go get — NEVER manually edit go.mod
  • ALWAYS set GONOSUMDB and GONOSUMCHECK for dappco.re modules
  • ALWAYS set GOPROXY=direct to bypass proxy cache for private modules
  • ALWAYS run go mod tidy after updating
  • ALWAYS verify with go build ./...
  • If a version doesn't resolve, check if the tag has been pushed to GitHub (dappco.re vanity imports resolve through GitHub)