AGENT SKILL

gh-slimify

Use this skill when the user wants to migrate GitHub Actions workflows to ubuntu-slim runner, reduce CI costs, or analyze workflow eligibility.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
gh-slimify
description
Use this skill when the user wants to migrate GitHub Actions workflows to ubuntu-slim runner, reduce CI costs, or analyze workflow eligibility.

02 资源文件 4

03 SKILL.md 正文

gh-slimify Plugin

Automatically detect and migrate GitHub Actions to ubuntu-slim for cost-efficient CI.

Commands

Scan

  • gh-slimify workflow scan — Scan workflows for migration candidates

Fix

  • gh-slimify workflow fix — Migrate eligible jobs to ubuntu-slim

Usage Examples

  • "Scan all workflows for ubuntu-slim migration"
  • "Fix workflows automatically"
  • "Skip duration check for faster scan"

Installation

gh extension install fchimpan/gh-slimify

Examples

# Scan specific workflow
gh slimify .github/workflows/ci.yml

# Scan all workflows
gh slimify --all

# Fix eligible jobs
gh slimify fix .github/workflows/ci.yml

# Fix all with force (include jobs with warnings)
gh slimify fix --all --force

# Skip duration check
gh slimify --all --skip-duration

# JSON output for CI
gh slimify --json --all

Key Features

  • Auto-detects migration eligibility
  • Skips Docker/service container jobs
  • Checks execution time (max 15 min)
  • Safe/warning/ineligible classification
  • JSON output for automation
  • Blocked-pattern enforcement

04 同仓库更多 Skills