Dependency updates

From championswimmer/TwoFac · View interactive version

Dependency updates is an AI agent skill from the GitHub repository championswimmer/TwoFac. Audit repo dependencies by default and only apply library upgrades when explicitly requested.

How to use this skill

Skill file

Skill: Dependency Updates

Use this skill when the user asks to:

Repo dependency surfaces discovered here

Default behavior

Do not upgrade anything unless the user explicitly asks for upgrades.

When upgrades are explicitly requested, prefer the latest stable versions only. Do not move to alpha, beta, RC, or other pre-release versions unless the user explicitly asks for them or approves them after review.

By default, run the audit/report flow only:

node .agents/skills/dependency-updates/scripts/dependency-updates.mjs

This writes a markdown report into .agents/plans/dependency-update-reports/.

Scripts in this skill

How to use it

Audit only

node .agents/skills/dependency-updates/scripts/dependency-updates.mjs

Explicit upgrade

Default upgrade policy:

Examples:

node .agents/skills/dependency-updates/scripts/dependency-updates.mjs upgrade --skip-npm --skip-cocoapods
node .agents/skills/dependency-updates/scripts/dependency-updates.mjs upgrade --skip-gradle --skip-cocoapods --npm-strategy wanted
node .agents/skills/dependency-updates/scripts/dependency-updates.mjs upgrade --skip-gradle --skip-npm --cocoapods-repo-update

Agent workflow

  1. Run the default report first unless the user directly asked for upgrades.
  2. Read the generated markdown report in .agents/plans/dependency-update-reports/.
  3. Summarize the main stable candidates and call out any major-version or pre-release jumps.
  4. Only if explicitly asked, run the relevant upgrade command, keeping to latest stable versions unless the user approved pre-releases.
  5. After upgrades, run the validation checklist from UPGRADING.md.

Research basis used for this skill

This skill was based on repo inspection plus web research:

Keep the report-first default even if an ecosystem supports automatic upgrades.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.