Skip to content
Latchkey

Test Plugin Installation workflow (addyosmani/agent-skills)

The Test Plugin Installation workflow from addyosmani/agent-skills, explained and optimized by Latchkey.

D

CI health: D - needs work

Point runs-on at Latchkey and get caching, run de-duplication, job timeouts, self-healing for flaky steps, and up to 58% lower cost, applied automatically.

Grade your own workflow free or run it on Latchkey →
Source: addyosmani/agent-skills.github/workflows/test-plugin-install.ymlLicense MITView source

What it does

This is the Test Plugin Installation workflow from the addyosmani/agent-skills repository, a real project running GitHub Actions. It is shown here with attribution under its MIT license.

Below, Latchkey shows a faster, safer version produced by its optimization engine.

The workflow

workflow (.yml)
name: Test Plugin Installation

on:
  push:
  pull_request:
  workflow_dispatch:

jobs:
  validate-skills:
    name: Validate skill content
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6

      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'

      - name: Validate all skills
        run: node scripts/validate-skills.js

      - name: Run skill evals (trigger + routing)
        run: node scripts/run-evals.js

  validate-commands:
    name: Validate command parity and description sync
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'

      - name: Validate commands across all tool directories
        run: node scripts/validate-commands.js

  validate:
    name: Validate plugin structure
    needs: [validate-skills, validate-commands]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6

      - name: Install Claude Code
        run: npm install -g @anthropic-ai/claude-code

      - name: Validate marketplace and plugin manifests
        run: claude plugin validate .

  test-install:
    name: Test plugin installation
    runs-on: ubuntu-latest
    needs: validate
    steps:
      - uses: actions/checkout@v6

      - name: Install Claude Code
        run: npm install -g @anthropic-ai/claude-code

      - name: Configure git to use HTTPS
        run: git config --global url."https://github.com/".insteadOf "git@github.com:"

      - name: Add marketplace
        run: claude plugin marketplace add ./

      - name: List marketplaces
        run: claude plugin marketplace list

      - name: Install plugin
        run: claude plugin install agent-skills@addy-agent-skills --scope user

The same workflow, on Latchkey

Estimated ~20% faster on cache hits, plus fewer wasted runs and a safer supply chain. Added and changed lines are highlighted.

name: Test Plugin Installation
 
on:
  push:
  pull_request:
  workflow_dispatch:
 
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true
 
jobs:
  validate-skills:
    timeout-minutes: 30
    name: Validate skill content
    runs-on: latchkey-small
    steps:
      - uses: actions/checkout@v6
 
      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          cache: 'npm'
          node-version: '20'
 
      - name: Validate all skills
        run: node scripts/validate-skills.js
 
      - name: Run skill evals (trigger + routing)
        run: node scripts/run-evals.js
 
  validate-commands:
    timeout-minutes: 30
    name: Validate command parity and description sync
    runs-on: latchkey-small
    steps:
      - uses: actions/checkout@v4
 
      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          cache: 'npm'
          node-version: '20'
 
      - name: Validate commands across all tool directories
        run: node scripts/validate-commands.js
 
  validate:
    timeout-minutes: 30
    name: Validate plugin structure
    needs: [validate-skills, validate-commands]
    runs-on: latchkey-small
    steps:
      - uses: actions/checkout@v6
 
      - name: Install Claude Code
        run: npm install -g @anthropic-ai/claude-code
 
      - name: Validate marketplace and plugin manifests
        run: claude plugin validate .
 
  test-install:
    timeout-minutes: 30
    name: Test plugin installation
    runs-on: latchkey-small
    needs: validate
    steps:
      - uses: actions/checkout@v6
 
      - name: Install Claude Code
        run: npm install -g @anthropic-ai/claude-code
 
      - name: Configure git to use HTTPS
        run: git config --global url."https://github.com/".insteadOf "git@github.com:"
 
      - name: Add marketplace
        run: claude plugin marketplace add ./
 
      - name: List marketplaces
        run: claude plugin marketplace list
 
      - name: Install plugin
        run: claude plugin install agent-skills@addy-agent-skills --scope user
 

What changed

What Latchkey heals here

This workflow has steps that commonly fail on transient issues (network, registries, flaky browsers). On Latchkey managed runners they are detected, retried, and self-healed instead of failing your build:

This workflow runs 4 jobs per trigger. On Latchkey the same minutes cost up to 58% less than GitHub-hosted, with zero queue time.

Actions used in this workflow