Skip to content
Back to skills

Install Workflow

ASecurity

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

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 9, 2026
documentationgogit

Works with

  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill install-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Install Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Install Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-install-workflow/badge)](https://www.skillsdirectory.com/skills/majiayu000-install-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: install-workflow
description: Create GitHub Actions workflows for automated package building and distribution. Use in package phase to automate .mojopkg building and release creation.
mcp_fallback: none
category: ci
user-invocable: false
---

# CI Package Workflow Skill

Create GitHub Actions workflows for automated packaging.

## When to Use

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

## Quick Reference

```yaml
name: Build Packages
on:
  push:
    tags:
      - 'v*'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Build Packages
        run: ./scripts/build_all_packages.sh
      - uses: softprops/action-gh-release@v1
        with:
          files: packages/*.mojopkg
```

## Workflow Structure

### Triggers

```yaml
on:
  push:
    tags:
      - 'v*.*.*'  # Semantic versioning
  workflow_dispatch:    # Manual trigger
```

### Jobs

```yaml
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup Mojo
        run: # Install Mojo environment
      - name: Build Packages
        run: ./scripts/build_all_packages.sh
      - name: Create Release
        uses: softprops/action-gh-release@v1
```

## Workflow Types

### 1. Build on Tag Release

Automatically build when version tag created:

```yaml
on:
  push:
    tags:
      - 'v*'
```

### 2. Build on PR

Validate packaging on pull requests:

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

### 3. Manual Trigger

Allow on-demand builds with parameters:

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

## Best Practices

- Cache dependencies between runs
- Upload artifacts for inspection
- Create GitHub releases with notes
- Test installation in clean environment
- Tag releases with semantic versioning
- Document build requirements

## Error Handling

| Error | Fix |
|-------|-----|
| Action version invalid | Use latest stable version (v4, not @main) |
| Missing environment | Add setup step before build |
| Build script not found | Verify script path and permissions |
| Artifact not uploaded | Check build produces expected files |

## References

- Related skill: `validate-workflow` for syntax validation
- Workflow examples: `.github/workflows/`
- GitHub Actions docs: <https://docs.github.com/en/actions>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.