Skip to content

a5c-ai/babysitter / library/specializations/desktop-development/skills/cross-platform-test-matrix

cross-platform-test-matrix

Verified

Generate CI test matrix for Windows, macOS, and Linux combinations

FileKindSize
README.mdmarkdown531 B
SKILL.mdskill md2.1 KB
---
name: cross-platform-test-matrix
description: Generate CI test matrix for Windows, macOS, and Linux combinations
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [testing, ci-cd, cross-platform, matrix, github-actions]
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:desktop-development]
  skillAreas: [skill-area:cross-platform-testing, skill-area:cross-platform-desktop]
  roles: [role:desktop-developer, role:fullstack-engineer]
  workflows: [workflow:feature-development, workflow:release-management]
---

# cross-platform-test-matrix

Generate CI/CD test matrix configurations for testing desktop applications across Windows, macOS, and Linux.

## Capabilities

- Generate GitHub Actions matrix
- Configure Azure Pipelines matrix
- Set up platform-specific tests
- Handle architecture variants (x64, arm64)
- Configure parallel execution
- Set up artifact collection

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "ciPlatform": { "enum": ["github-actions", "azure-devops", "gitlab-ci"] },
    "platforms": { "type": "array" },
    "architectures": { "type": "array" }
  },
  "required": ["projectPath"]
}
```

## GitHub Actions Matrix

```yaml
name: Test Matrix

on: [push, pull_request]

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        arch: [x64]
        include:
          - os: macos-latest
            arch: arm64

    runs-on: ${{ matrix.os }}

    steps:
      - uses: actions/checkout@v4

      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
          architecture: ${{ matrix.arch }}

      - name: Install dependencies
        run: npm ci

      - name: Run tests
        run: npm test

      - name: Upload test results
        uses: actions/upload-artifact@v4
        if: always()
        with:
          name: test-results-${{ matrix.os }}-${{ matrix.arch }}
          path: test-results/
```

## Related Skills

- `playwright-electron-config`
- `desktop-ci-architect` agent
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall