Claude Code Plugins

Community-maintained marketplace

Feedback

ci-package-workflow

@mvillmow/ml-odyssey
4
0

Create GitHub Actions workflows for automated package building and distribution. Use in package phase to automate .mojopkg building and release creation.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name ci-package-workflow
description Create GitHub Actions workflows for automated package building and distribution. Use in package phase to automate .mojopkg building and release creation.

CI Package Workflow Skill

Create CI workflows for automated packaging.

When to Use

  • Package phase of development
  • Automating release process
  • Building distributable packages
  • Creating GitHub releases

Workflow Structure

name: Build Packages

on:
  push:
    tags:
      - 'v*'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Setup Mojo
        run: |
          # Install Mojo

      - name: Build Packages
        run: ./scripts/build_all_packages.sh

      - name: Create Release
        uses: softprops/action-gh-release@v1
        with:
          files: packages/*.mojopkg

Common Workflows

1. Build on Tag

Trigger on version tags:

on:
  push:
    tags:
      - 'v*.*.*'

2. Build on PR

Validate packaging on PR:

on:
  pull_request:
    paths:
      - 'src/**'
      - 'scripts/build_*.sh'

3. Manual Trigger

Allow manual workflow runs:

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Version to build'
        required: true

Best Practices

  • Cache dependencies
  • Upload artifacts
  • Create GitHub releases
  • Tag with version
  • Test installation

See .github/workflows/ for examples.