Variants

From projectbluefin/bluefin · View interactive version

Variants is an AI agent skill from the GitHub repository projectbluefin/bluefin. Maps image names, streams, flavors, and branches to their published tags and build workflows. Use when choosing an image reference for a command, report, or workflow dispatch.

How to use this skill

Skill file

Variants

Justfile is the single source of the variant matrix. The images and

flavors maps declare the axes; the image_name recipe derives a published

image name from an (image, flavor) pair — the bare image name for the main

flavor, <image>-<flavor> otherwise. image-versions.yml pins the upstream

images the build consumes; it does not declare what this repo publishes.

Every workflow that names a published variant is a restatement of that

derivation, not an independent source:

| Site | Restates |

|---|---|

| .github/workflows/build-image-testing.yml | default image_flavors list |

| .github/workflows/execute-release.yml | variants matrix, digest loop, release-notes table |

| .github/workflows/promote-testing-to-main.yml | variants matrix |

| .github/workflows/vulnerability-scan.yml | image_matrix |

tests/unit/image_variant_matrix_test.bats holds all of them to the Justfile

derivation, so a variant that is built but not scanned, or promoted but not

released, fails the unit-test gate instead of shipping.

Procedure

  1. Read the images and flavors maps in Justfile.
  2. Derive the published name with the image_name rule above.
  3. Confirm the published tag from the workflow, not memory.
  4. Use the exact image reference in commands and reports.

Do not infer that a branch, stream, or flavor is published merely because a

name appears in documentation. Adding or removing a variant means editing the

Justfile maps and every restatement site above; the gate lists whichever

ones you missed.

Verify

bats tests/unit/image_variant_matrix_test.bats
git grep -n 'image_name\|stream\|flavor' Justfile .github/workflows
just check

When to Use

Use for Image, stream, flavor, or target selection.

When NOT to Use

Do not use for Implementation changes unrelated to image targeting.

Core Process

Read the Justfile and workflow matrix, then use the exact source-derived target.

Common Rationalizations

Red Flags

Verification

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.