Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

local-ci地方词

Agent Skill

local-ci 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

815

周安装

35

GitHub Stars

2,493

下载量

286
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:local-ci(地方词)
来源仓库:https://github.com/module-federation/core
仓库路径:skills/local-ci
安装命令:
npx skills add https://github.com/module-federation/core --skill local-ci
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/module-federation/core --skill local-ci

简介

用于处理 GitHub 仓库、Issue、Pull Request 和协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。local-ci 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装方式:通过 npx skills add 命令从 GitHub 仓库添加。
  • 使用前应确认权限范围、是否会触发联网或文件读写。

SKILL.md

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:

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:

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:

pnpm run ci:local --only=build-and-test,bundle-size

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:

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:

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 20, and Turbo as the standard execution path.
  • In worktrees, still use Turbo/package scripts directly as documented by the repo instructions.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.69%
按下载量换算96

Claude

33.32%
按下载量换算95

Cursor

18.16%
按下载量换算52

Gemini CLI

9.69%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills