ruby-gc
FeaturedAudit asdf-installed Ruby versions against project pins and remove unreferenced ones. Dry-run by default.
AI & Automation 427 stars
49 forks Updated 5 days ago MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Ruby GC
Garbage-collect asdf-installed Ruby versions that nothing on the system references.
**Dry-run by default.** Without `--apply`, this is a read-only report and you must not uninstall anything.
## Arguments
- `$ARGUMENTS` — pass `--apply` to enable the uninstall step. Absent that flag, stop after the report.
- `--apply` enables deletion; it does **not** authorize it. You still show the full table and get an explicit yes first.
## Safety rules
These are non-negotiable. The cost of a wrong delete is a broken app plus a slow rebuild; the cost of a wrong keep is a few hundred MB.
1. **Never delete the global version** — the one in `~/.tool-versions`.
2. **Never delete a version that has any pin on disk**, wherever that pin lives.
3. **Never delete without showing the table and getting an explicit confirmation** in the same session.
4. **If the scan errors, or returns implausibly few pins, STOP and report.** A truncated scan is indistinguishable from "nothing uses this" — it produces a confident delete list that breaks real apps. This has happened; treat a thin result as a bug in the scan, not a licence to delete. "Implausibly few" is measured against the July 2026 baseline in "Calibration" below — check it every run, before classifying anything.
5. **Uninstall one version at a time**, reporting each result before the next.
## Your task
### 1. Inventory what's installed
```bash
asdf list ruby
du -sh ~/.asdf/installs/ruby/*
```
### 2. Read the global pin
```bash
...
Details
- Author
- joshukraine
- Repository
- joshukraine/dotfiles
- Created
- 12 years ago
- Last Updated
- 5 days ago
- Language
- Shell
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Data & Documents Listed
dependency-audit
Audits project dependencies across package.json, requirements.txt, go.mod, Cargo.toml, Gemfile, composer.json, and .NET projects for unpinned versions, deprecated packages, missing lockfiles, and known CVEs.
1 Updated yesterday
RealDougEubanks AI & Automation Listed
dependency-audit
Use when the user asks to check dependencies for vulnerabilities, outdated packages, or before a release. Runs the ecosystem's real audit tool, separates fixable from unfixable, and proposes minimal safe upgrades with lockfile changes reviewed, never bulk-upgrading blindly.
1 Updated 4 days ago
Skillkeel