跳到正文
cccskills
免费在 GitHub 公开

mas-ci-checks

Use when an AUTO-MAS PR is red in CI, when reproducing a dev-PR gate locally before pushing, when a workflow needs a skip-changelog or changelog-maintenance label, or when editing .github/workflows, .github/actions, scripts/changelog.py or scripts/check_reverts.py. Covers every gate that runs on a PR to dev and the exact local command for each.

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS星标 757(GitHub 757 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md5.2 KB
  • agents/openai.yaml221 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

MAS CI Checks

Objective

Turn the dev-PR gates into local commands, and decide "our change is wrong" versus "runner or mirror infra is wrong" before touching code.

Gate Map (PR with base dev)

format-check and check-reverts are filtered to base dev; check-changelog, check-uv-lock and ci-package run on every PR, including release/* cherry-pick PRs, where check-changelog also adds --dev-ref origin/dev to reject dev-only commits.

WorkflowJob nameWhat actually runsLocal reproduction
format-check.yml格式检查uv sync --locked then uv run --no-sync ruff format --check .; in frontend/: yarn lint (oxlint), yarn typecheck (vue-tsc), yarn format:check (oxfmt)see Local Reproduction
check-changelog.yml检查更新日志碎片与版本号fetches base, dev and all tags, then python scripts/changelog.py check --pr-base origin/<base> --pr-kind normal plus --skip-changelog / --maintenance when the PR carries the matching labelgit fetch origin dev --tags, then the same command with --pr-base origin/dev and the same label flags; omitting a flag the PR has gives a false red
check-uv-lock.yml检查 uv.lock 与依赖清单一致uv lock --checksame
check-reverts.yml检查是否删掉了他人近期合入的代码blames every deleted line; lines another author merged within 14 days are annotated in Files changed as a hint only, it never fails. Skipped entirely for Release v* PRsnot needed; the job is informational
label-changelog.yml同步碎片标签python scripts/label_changelog.py, continue-on-error: truenot needed; failure does not judge the PR
ci-package.yml构建未签名 Windows 验证包real windows-latest build of frontend + Electron + backend, ~4 minutes; skipped for **.md / docs/**-only diffsexpensive; only re-run locally when the change touches Electron or packaging
sync-cnb.ymlsyncmirrors the repo to cnb.cool after push / branch creategh run rerun <run-id>; never a code problem

build-app.yml, prepare-release.yml, absorb-changelog.yml, mirrorchyan*.yml, weekly-format.yml run on main / release/* / release PRs / schedules. They are not PR gates; do not judge a feature PR by them.

Local Reproduction

  1. Python format: uv sync --locked, then uv run --no-sync ruff format --check <files>; if it fails, uv run --no-sync ruff format <files>. Always go through uv: the ruff version is pinned by uv.lock (uv run ruff --version). A system-wide ruff formats differently, so the local run passes while CI stays red.
  2. Frontend: cd frontend && yarn lint && yarn typecheck && yarn format:check.
  3. yarn typecheck only runs vue-tsc -p tsconfig.app.json --noEmit, so it does not cover frontend/electron/. For Electron main-process changes (electron/services, electron/ipc) also run node node_modules/typescript/bin/tsc -p tsconfig.electron.json --noEmit from frontend/.
  4. Changelog fragment: for a user-visible change run python scripts/changelog.py add <type> <project-key> "<sentence>"; for genuinely user-invisible work (docs, CI, tests, invisible refactor) label the PR skip-changelog with gh pr edit <n> --add-label skip-changelog. The workflow also triggers on labeled / unlabeled, so no extra empty commit is needed. changelog-maintenance maps to --maintenance and only lets a maintainer reorganize CHANGELOG.md directly (e.g. after python scripts/changelog.py sync); never put it on a normal feature or fix PR.
  5. Dependency changes: uv lock --check.
  6. Format-only repairs: reformatting rewraps lines, so after ruff format confirm with git diff that only your own hunk moved.

Rules

  1. Read the log before editing: gh run view <run-id> --log-failed gives the exact file and line plus the expected layout. Do not guess the rewrap.
  2. Do not force push to repair CI (root AGENTS.md forbids force push outright). Append a style(...) commit and let the PR be squashed on merge.
  3. Every uses: / image: reference in workflows, composite actions and CNB pipelines stays pinned to a full 40-character commit SHA or @sha256: digest; see mas-skills Project Rule Areas item 7.
  4. A sync failure such as remote: error: cannot lock ref 'refs/heads/<branch>': reference already exists is mirror infra: rerun the workflow and keep the code untouched.
  5. Never turn CI green by deleting tests, weakening a check, or adding continue-on-error.

Anti-Patterns

  • Reproducing a format failure with the system ruff or oxfmt instead of the uv.lock version.
  • Treating the CNB mirror job as a code failure.
  • Labeling a user-visible change skip-changelog to get past the fragment gate.
  • Pushing an empty commit after adding a label.
  • Assuming yarn typecheck proves Electron main-process types are sound.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

从固定点(commit、branch、tag 或 merge-base)开始,沿两条轴线审查变更——规范(代码是否遵循仓库文档化的编码规范?)和规格(代码是否与原始 issue/PRD 的要求一致?)。两条审查线在并行子 agent 中运行,并以并排方式报告结果。当用户想审查一个分支、PR、进行中的变更,或要求"从 X 开始审查"时使用。

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS7572026年10月26日 更新

grill-me

免费

一场无休止的盘问,用来打磨你的计划或设计。

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS7572026年10月26日 更新

grilling

免费

对用户的计划、决策或想法进行层层盘问。当用户想要压力测试自己的思考,或使用任何 'grill' 触发短语时使用。

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS7572026年10月26日 更新

Define backend API contract standards for FastAPI services. Use when adding or refactoring HTTP/WebSocket endpoints in app/api, designing request/response schemas in app/models/schema.py, standardizing status/error contracts, and maintaining backward compatibility for clients.

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS7572026年10月26日 更新

Use when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional Commit wording. Skip read-only diagnosis, explanation, exploration, and planning unless code conventions are requested.

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS7572026年10月26日 更新

Define backend data modeling standards for Python services. Use when designing or refactoring models in app/models (schema/config/task), normalizing shared fields, choosing types/defaults/validation strategy, and evolving model contracts with backward compatibility.

中文简介正在准备中。当前显示原文说明。

AUTO-MAS-Project/AUTO-MAS7572026年10月26日 更新

查看 AUTO-MAS-Project 的全部技能

报告此技能的问题