Agent skill

Local CI

by module-federation in module-federation/core

Run this repository's local CI parity commands and pnpm run ci:local jobs.

MITAuto-check passedTesting & QA

Install Local CI

skills CLI
$ npx skills add module-federation/core --skill local-ci -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install module-federation/core local-ci --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/module-federation/core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/local-ci .claude/skills/local-ci && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
local-ci
GitHub stars
2.7k
Token cost
~914 tokens
SKILL.md length
420 words
Files
3 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Run this repository's local CI parity commands and pnpm run ci:local jobs.

  • Works in 4 steps: Inspect available local CI jobs → Pick the smallest matching job → Run commands in CI order → …
  • Validating a change against the same job shapes used in GitHub Actions
  • SKILL.md covers Quick Start, Workflow, Common Cases and Notes
  • Calls pnpm

What it does

Local CI is an agent skill from module-federation/core. Run this repository's local CI parity commands and pnpm run ci:local jobs. Use when validating a change against the same job shapes used in GitHub Actions, choosing the smallest local CI job for a package, workflow, E2E, Metro, devtools, bundle-size, or build-and-test change.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/jobs.md`).

It sits in Testing & QA, covering End-to-end testing, Web performance and CI/CD. It works with GitHub Actions and pnpm. The repository describes itself as: Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications. The licence is MIT.

When your agent uses it

  • Validating a change against the same job shapes used in GitHub Actions
  • Choosing the smallest local CI job for a package
  • Build-and-test change

Example prompts

  • “/local-ci”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Inspect available local CI jobs
  2. Pick the smallest matching job
  3. Run commands in CI order
  4. Interpret failures correctly

What it can do on your machine

Read from SKILL.md and the folder at commit d139eed. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Local CI loads about 914 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 420 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~914
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from module-federation/core at commit d139eed, republished under its MIT licence (© module-federation). 420 words, ~914 tokens.

Download SKILL.mdSave it as .claude/skills/local-ci/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
local-ci
description
Run this repository's local CI parity commands and `pnpm run ci:local` jobs. Use when validating a change against the same job shapes used in GitHub Actions, choosing the smallest local CI job for a package, workflow, E2E, Metro, devtools, bundle-size, or build-and-test change.

Local CI

Use the local CI runner and Turbo/package scripts as the source of truth for validation in this repo.

Quick Start

  1. Start with the smallest deterministic check that matches the change.
  2. Prefer pnpm run ci:local --only=<job> for CI-parity validation.
  3. Prefer direct Turbo or package scripts only when they are the smaller equivalent of the CI job.
  4. Report exactly which command ran, what failed first, and which expected checks were skipped.

Workflow

1. Inspect available local CI jobs

Run:

bash
pnpm run ci:local --list

Use this when the right job is unclear or when the repo may have added or renamed jobs.

For the current job map, read references/jobs.md.

2. Pick the smallest matching job

Use these defaults:

  • Package code in packages/*: start with build-and-test only if the change is broad; otherwise prefer package build/test commands.
  • Metro packages or Metro workflow changes: use build-metro, then Metro E2E jobs only if relevant.
  • E2E app changes: run the matching e2e-* job instead of build-and-test.
  • Devtools workflow or Playwright/devtools changes: run devtools.
  • Bundle-size workflow/reporting changes: run bundle-size.
  • GitHub workflow syntax only: use actionlint locally only to see skip behavior; the actual action is CI-only.
  • Broad CI, packaging, publint, Turbo, or shared runtime changes: run build-and-test.
3. Run commands in CI order

When reproducing CI, use the same command shape as the repo:

bash
pnpm run ci:local --only=build-and-test
pnpm run ci:local --only=devtools
pnpm run ci:local --only=e2e-runtime

To run more than one job:

bash
pnpm run ci:local --only=build-and-test,bundle-size
Show full SKILL.md (196 more words)Show less
4. Interpret failures correctly
  • Treat the first failing step as the actionable failure.
  • Ignore known noisy warnings unless they exit non-zero.
  • Distinguish repo-wide drift from changed-file gates.
  • If ci:local fails in Check code format, inspect the changed-file formatter result before running broader builds.
  • If a dependency build outside the touched scope fails, note it separately as an unrelated blocker.

Common Cases

Broad package or runtime/plugin change

Run:

bash
pnpm run ci:local --only=build-and-test

If that fails on format first, fix the changed files before rerunning the whole job.

One package only

Prefer the smaller direct command first:

bash
pnpm exec turbo run build --filter=@module-federation/<pkg>
pnpm exec turbo run test --filter=@module-federation/<pkg> --force

Then run build-and-test only if the user asks for CI parity or the package change affects shared build/runtime behavior.

E2E change

Run the matching job from references/jobs.md, not the whole matrix.

Workflow change

Use the local CI job if one exists for the workflow's behavior. For workflow syntax, pair local validation with the repo's actionlint path when relevant.

Notes

  • ci:local sets CI=true and mirrors the repo workflow order.
  • Some jobs intentionally skip GitHub-only actions such as actionlint and bundle-size-comment.
  • The repo uses pnpm, Node 24, and Turbo as the standard execution path.
  • In worktrees, still use Turbo/package scripts directly as documented by the repo instructions.

© module-federation, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .codex/skills/local-ci of module-federation/core.

  • SKILL.md
  • agents/openai.yaml
  • references/jobs.md

Open the folder on GitHubat commit d139eed

Compare with similar skills

Local CI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Local CI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Local CI this skillmodule-federation/core2.7k—~914Automated safety check: PassMIT
Deploy Release Testvercel/next.js143k—~1.2kAutomated safety check: PassMIT
Babysit PRZenUml/web-sequence150—~871Automated safety check: PassMIT
Dokan Run Test Suitegetdokan/dokan288—~4.7kAutomated safety check: NotesNone
Actions CI Tuningmizchi/skills356—~2.6kAutomated safety check: PassNone
Playwright Testmizchi/skills356—~4.7kAutomated safety check: NotesNone

Similar skills

  • Deploy Release Test

    vercel/next.js

    Official

    Validate a commit-specific Next.js preview package and manually trigger the entire Next.js deployment test suite through the teste2edeployrelease.yml GitHub Actions workflow.

    143k GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Babysit PR

    ZenUml/web-sequence

    Monitor and diagnose GitHub Actions checks on ZenUML web-sequence PRs, fixing code-caused CI failures when appropriate.

    150 GitHub stars~871 tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Dokan Run Test Suite

    getdokan/dokan

    Execute the Dokan Playwright test suite (E2E + API), locally or via GitHub Actions.

    288 GitHub stars~4.7k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Actions CI Tuning

    mizchi/skills

    A skill your agent uses when auditing or improving GitHub Actions workflows for a project.

    356 GitHub stars~2.6k tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • Playwright Test

    mizchi/skills

    Best practices and reference for Playwright Test (E2E). An agent skill from mizchi/skills.

    356 GitHub stars~4.7k tokensUpdated 6 days ago
    Testing & QAAuto-check: notes
  • 自动化测试助手 - 专业的测试自动化设计与实现专家。适用场景: (1) 自动化测试框架选型与搭建(Selenium/Cypress/Playwright/Appium) (2) 自动化测试脚本编写(Web/API/Mobile) (3) 测试数据管理与Mock设计 (4) CI/CD测试集成(Jenkins/GitLab CI/GitHub Actions) (5) Page…

    125 GitHub stars~3.1k tokensUpdated 7 mo ago
    Testing & QAAuto-check passed

More from module-federation/core

  • Changeset PR

    module-federation/core

    Create or update a .changeset/.md file for the current branch or PR in this repository, choose the correct package scope and release type, and verify the result against repo-specific Changesets…

    2.7k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Gh PR Metadata

    module-federation/core

    Update the current GitHub PR title and body for this repository so they match the repo's pull request template and conventional-commit title style.

    2.7k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Sokra Mode

    module-federation/core

    Design, build, and maintain module-federation/core the way sokra (Tobias Koppers) built webpack 5: plugin architecture, container/sharing, runtime, caching, and reviews.

    2.7k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Sokra Mode

    module-federation/core

    Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would.

    2.7k GitHub stars~233 tokensUpdated today
    Auto-check passed

Questions about Local CI

What does Local CI do?

Run this repository's local CI parity commands and pnpm run ci:local jobs. Local CI is an agent skill from module-federation/core. Run this repository's local CI parity commands and pnpm run ci:local jobs.

When should I use Local CI?

Local CI fits situations like: validating a change against the same job shapes used in GitHub Actions; choosing the smallest local CI job for a package; build-and-test change.

How do I install Local CI in Claude Code?

Run `npx skills add module-federation/core --skill local-ci -a claude-code`. Or copy the skill folder (.codex/skills/local-ci in module-federation/core) into .claude/skills/local-ci in your project. Claude Code loads it when a task matches its description.

How do I install Local CI in Codex?

Run `npx skills add module-federation/core --skill local-ci -a codex`. Or copy the skill folder (.codex/skills/local-ci in module-federation/core) into .agents/skills/local-ci in your project. Codex loads it when a task matches its description.

Can I use Local CI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add module-federation/core --skill local-ci -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/local-ci, .gemini/skills/local-ci, .github/skills/local-ci and .opencode/skills/local-ci in your project.

What does Local CI need to run?

Going by SKILL.md and its folder, Local CI needs the command-line tools its instructions call (pnpm).

Does Local CI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Local CI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Local CI use?

Local CI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Local CI use?

About 914 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 442 tokens, read only when the agent opens those files.

What are the alternatives to Local CI?

Skills that share tags, products or a category with Local CI: Deploy Release Test (vercel/next.js, 143k stars), Babysit PR (ZenUml/web-sequence, 150 stars), Dokan Run Test Suite (getdokan/dokan, 288 stars) and Actions CI Tuning (mizchi/skills, 356 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Local CI?

module-federation (a GitHub organization) maintains it in module-federation/core, which has 2,655 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.

Source: module-federation/core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.