# Dependency Upgrade Safety

> Use for safe Android dependency upgrades across Gradle, AGP, Kotlin, Compose, Firebase BoM, Hilt, Room, Retrofit and CI.

- **Type:** Skill
- **Install:** `agentstack add skill-gdvega-super-android-kotlin-firebase-skill-dependency-upgrade-safety`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [GDvega](https://agentstack.voostack.com/s/gdvega)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [GDvega](https://github.com/GDvega)
- **Source:** https://github.com/GDvega/super-android-kotlin-firebase-skill/tree/main/skills/dependency-upgrade-safety

## Install

```sh
agentstack add skill-gdvega-super-android-kotlin-firebase-skill-dependency-upgrade-safety
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Purpose

Upgrade dependencies with compatibility checks, grouped changes, validation commands and rollback plans.

# When to use

- Updating dependencies in `libs.versions.toml`.
- Upgrading Compose, Firebase, Hilt, Room, Retrofit or Kotlin.
- Reviewing a dependency update PR.
- Creating a rollback-safe upgrade plan.

# Inputs to inspect

- `gradle/libs.versions.toml`
- Root and module `build.gradle.kts`
- `gradle-wrapper.properties`
- Release notes for changed libraries
- CI workflow and test coverage

# Required workflow

1. Inventory current dependency families.
2. Group upgrades by risk and compatibility.
3. Upgrade one group at a time.
4. Run targeted build/tests after each group.
5. Write rollback plan and known risks.

# Rules

- Do not update 20 unrelated libraries together.
- Group Gradle/AGP/Kotlin separately from Compose and Firebase.
- Do not jump to prerelease versions unless requested.
- Preserve BoM usage where appropriate.
- Document rollback commands.

# Related existing skills

## Local skills to invoke

- gradle-build
- agp9-kotlin-migration
- testing
- debugging

## External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult [Companion Skills](../../docs/COMPANION_SKILLS.md) for install and verification commands.

- android/skills — use for official Android workflow alignment around edge-to-edge, adaptive UI, Navigation 3, R8, AGP or testing setup.
- vercel-labs/skills — use for Agent Skills CLI, packaging and multi-agent installation patterns when repository maintenance guidance is needed.

# Files commonly touched

- `gradle/libs.versions.toml`
- `build.gradle.kts`
- `gradle-wrapper.properties`
- `.github/workflows/*`
- Test files affected by API changes

# Commands to validate

```bash
./gradlew --version
./gradlew assembleDebug
./gradlew test
./gradlew lint
```

# Common mistakes to avoid

- Mixing tooling and app library upgrades in one commit.
- Ignoring release notes for breaking changes.
- Removing BoM alignment accidentally.
- Skipping CI after local success.

# Checklist

- Dependencies grouped.
- Compatibility checked.
- Rollback plan written.
- Tests run per group.
- Risk summary included.

# Example prompts

- Use $super-android-kotlin-firebase to plan safe dependency upgrades.
- Use $super-android-kotlin-firebase to review this libs.versions.toml update.

# Expected response style

Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.

# References

- ../../docs/audits/FUENTES_LOCALES.md
- references/android-dependency-upgrade-strategy.md
- references/compose-bom-upgrade.md
- references/firebase-bom-upgrade.md
- references/compatibility-matrix-template.md
- templates/dependency-upgrade-plan-template.md
- templates/libs-versions-toml-review-template.md
- templates/rollback-plan-template.md

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [GDvega](https://github.com/GDvega)
- **Source:** [GDvega/super-android-kotlin-firebase-skill](https://github.com/GDvega/super-android-kotlin-firebase-skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-gdvega-super-android-kotlin-firebase-skill-dependency-upgrade-safety
- Seller: https://agentstack.voostack.com/s/gdvega
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
