ワンクリックで
upgrade-deps
Guided dependency upgrade workflow for Go or frontend packages with lockstep bumping and CI verification
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Guided dependency upgrade workflow for Go or frontend packages with lockstep bumping and CI verification
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run local security checks (golangci-lint gosec, go vet) before pushing to catch issues before CI
Development discipline guardrails for Go and Angular work. Use when implementing features, fixing bugs, or writing validation code. Enforces validation-first development, research escalation after repeated failures, real data testing, and comprehensive failure reporting.
Scaffold a new PostgreSQL migration pair (up + down) with sequential numbering
Run full pre-deployment validation for both frontend and backend
Scaffold a new Angular standalone component following project conventions
| name | upgrade-deps |
| description | Guided dependency upgrade workflow for Go or frontend packages with lockstep bumping and CI verification |
| disable-model-invocation | true |
Guided workflow for coordinating dependency upgrades across this Go + Angular monorepo.
/upgrade-deps [go|frontend|all] [package-name]
Examples:
/upgrade-deps go go.opentelemetry.io/otel — upgrade a specific Go dependency/upgrade-deps frontend @angular/core — upgrade a specific frontend package/upgrade-deps all — check both Go and frontend for available upgradesgo list -m -u all 2>/dev/null | grep '\[' | head -30
If a specific package was requested, filter to that package and its related modules.
These package groups MUST be bumped together:
| Group | Packages |
|---|---|
| OpenTelemetry core | go.opentelemetry.io/otel, otel/sdk, otel/trace, otel/metric, exporters |
| OpenTelemetry contrib | go.opentelemetry.io/contrib/instrumentation/... (otelhttp, otelaws) |
| AWS SDK v2 | github.com/aws/aws-sdk-go-v2 and all aws-sdk-go-v2/service/* packages |
| Kubernetes | k8s.io/api, k8s.io/apimachinery, k8s.io/client-go, k8s.io/cli-runtime |
When upgrading any package in a group, upgrade ALL packages in that group to compatible versions.
go get <package>@<version> # repeat for each package in the group
go mod tidy # clean up transitive deps
go build ./...
golangci-lint run
mise run test
If golangci-lint run reports new gosec findings in upstream code, add exclusion rules to .golangci.yml and document them in .scratchpad/TODO.md (local-only, not committed).
npm outdated
Angular packages must all be on the same major version. Check:
@angular/* packages@spartan-ng/* packages (check compatibility with Angular version)angular-eslint (must match Angular major)pnpm add <package>@<version> # for runtime deps
pnpm add -D <package>@<version> # for dev deps
npm run build
npm run lint
npm test -- --watch=false
After completing upgrades, summarize:
Dependency Upgrade Results
──────────────────────────
Packages upgraded: <list with old → new versions>
Lockstep groups: <any groups bumped together>
Build: PASS / FAIL
Lint: PASS / FAIL
Tests: PASS / FAIL
──────────────────────────
New gosec exclusions: <any added to .golangci.yml>