agentleFS
vndeevndee/engineering-skills/.claude/skills/dep-update/SKILL.md

dep-update

Skill3 starsChanged 9 months agoMITView on GitHub

Use when updating dependencies, running security audits, or managing tech debt in Go, Python, or React projects

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create feature branch: git checkout -b chore/dep-updates

    line 80
  2. Distinctive:

    Update one category at a time (e.g., test deps, then framework, then DB)

    line 81
  3. Distinctive:

    Commit after each category with passing tests

    line 82
  4. Very specific:

    REQUIRED: Update CLAUDE.md if major dependencies changed (claude-md)

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dependency Updates & Security

Overview

Safe dependency update workflows for Go, Python (uv), and Bun. Branch per update, test after each.

Core principle: One category at a time. Full test suite after each update. Never batch blindly.

Go Update Workflow

# 1. Check for updates
go list -m -u all

# 2. Update dependencies
go get -u ./...        # all deps
go get -u package@v1.2 # specific

# 3. Clean up
go mod tidy

# 4. Security audit
govulncheck ./...

# 5. Test
go test ./... -race -count=1

Python Update Workflow

# 1. Check for updates
uv pip list --outdated

# 2. Update lock file
uv lock --upgrade          # all deps
uv lock --upgrade-package pkg  # specific

# 3. Sync environment
uv sync

# 4. Type check (catches breaking API changes)
mypy src/

# 5. Lint
ruff check .

# 6. Security audit
pip-audit

# 7. Test
pytest

Bun/React Update Workflow

# 1. Check for updates
bun outdated

# 2. Update
bun update              # all
bun update package      # specific

# 3. Audit
bun audit  # or npm audit

# 4. Test
bun test
bun run build  # verify build still works

Safe Update Process

  1. Create feature branch: git checkout -b chore/dep-updates
  2. Update one category at a time (e.g., test deps, then framework, then DB)
  3. Commit after each category with passing tests
  4. Full test + type-check + lint after each commit
  5. PR with summary of what changed

Update Categories

CategoryRiskUpdate frequency
Security patchesCriticalImmediately
Bug fixes (patch)LowWeekly
Minor versionsMediumMonthly
Major versionsHighQuarterly (plan migration)

Tech Debt Identification

Look for:

  • Deprecated API usage in dependency changelogs
  • Outdated patterns (pre-generics Go, pre-2.0 SQLAlchemy)
  • Unused dependencies (go mod tidy, depcheck)
  • Pinned versions with known vulnerabilities

Chains

  • REQUIRED: Invoke superpowers:finishing-a-development-branch when done
  • REQUIRED: Update CLAUDE.md if major dependencies changed (claude-md)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.