跳到正文
Skillpedia
通用编程48k · #3759

antigravity-maintainer-batch-release

它能做什么

这个工具帮你让代码保持井井有条、及时更新。它可以自动完成合并代码、检查代码是否正确、准备新软件版本发布等任务。

适用场景

  • ✓需要一次性更新多项代码改动时。
  • ✓修复或合并代码变更请求(PR)时。
  • ✓准备发布新软件版本时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/antigravity-maintainer-batch-release/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/antigravity-maintainer-batch-release/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我合并所有已通过审核的代码改动,并为 1.2 版本准备发布。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会先检查主分支的代码是否干净且是最新的。然后运行自动检查,并按照安全流程合并改动、发布新版本。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Antigravity Maintainer Batch Release

When to Use

Use this skill for repository-wide AAS maintenance, maintainer-side PR repair or merge batches, canonical synchronization, AAS Core or Workbench changes, protected releases, and hosted catalog or legacy redirect infrastructure. Do not use it for ordinary contribution work that does not require maintainer privileges or canonical convergence.

Protected-Main Contract

Treat the repository root containing this skill as pull-request-only:

  • Read AGENTS.md, .github/MAINTENANCE.md, and current maintainer docs before mutation.
  • Never commit or push directly to main, even when the user says “push to main.” That phrase names the final target state.
  • Preserve unrelated dirty work. Use a clean temporary clone or a topic branch for maintainer changes.
  • Use npm run merge:batch for accepted source PRs. Do not substitute a raw merge API, generic GitHub skill, or generic push helper.
  • Let automation/canonical-repo-state own generated artifacts and contributor-credit convergence after the source batch. That lane runs sync:repo-state, which now also recomputes the README ## Top Contributors leaderboards through sync:top-contributors: never hand-edit those tables, and treat a stale ranking as a generator or exclusion-list defect instead.
  • Use release:prepare and release:publish for releases. They never authorize a direct main push.

Source Checks

Before changing anything:

  1. Fetch origin/main; prove the clean maintainer checkout is on main and equals origin/main.
  2. Inspect live PRs, issues, discussions in scope, Actions failures, Dependabot, CodeQL, secret scanning, and npm audit where relevant.
  3. Confirm current scripts from package.json and the workflow files listed in Current CI workflow; do not rely on remembered CI or release behavior.
  4. Capture user worktree status separately and keep those files out of maintainer commits.

Current CI workflow

Read .github/workflows/ci.yml, .github/workflows/skill-review.yml, .github/workflows/skillspector-advisory.yml, and their protected-base scripts on the exact task base. Job dependencies define execution order; file order and a green workflow badge do not define merge authority.

Required PR checks and independent review

Lane Actual sequence and evidence
Intake pr-policy runs first. Ordinary source PRs use the exact protected-base classifier and its dependencies for fork safety and source-only policy.
Source validation After pr-policy, source-validation checks sources, refreshes ephemeral generated state once, validates applicable references, runs the complete unsharded test suite and documentation security checks, and uploads the exact-head preview manifest.
Changed-skill evidence Also after pr-policy, pr-evidence runs in parallel with source-validation. It publishes changed-skill evidence and a shadow decision manifest, then enforces deterministic regressions. Its advisory semantic-review state does not replace the separate skill-review result.
Artifact preview artifact-preview waits for pr-policy and source-validation, verifies the source-preview manifest and its repository/head/workflow/run-attempt bindings, and does not regenerate ordinary source-PR artifacts. It does not wait for pr-evidence.
Semantic review The separate skill-review.yml workflow fingerprints the complete changed skill trees. review means a passing Tessl result or valid identical-content reuse; manual-review-required needs the maintainer's semantic review and exact full-head attestation. It is independent of the required-CI DAG.
Static advisory scan The separate PR-only skillspector-advisory.yml workflow runs evidence-ready, then skillspector-advisory. It waits for the latest GitHub Actions pr-evidence check for the same PR and exact head SHA, independently of source-validation, artifact-preview, and semantic review.

…

常见问题

我可以直接把代码推送到主分支吗?

不可以,绝对不应该直接把代码推送到主分支。这个工具会确保所有改动都经过安全的审核和合并流程。

什么是「批量合并」?

指把多项代码改动一次性、有条理且安全地合并在一起,以避免冲突并保证稳定性。

这个工具适用于普通的代码贡献吗?

不适用。这个工具用于需要特殊权限的维护和发布工作。普通贡献应遵循其他流程。

详情

作者的原始描述

Run protected AAS maintainer sweeps, PR merge batches, canonical sync, Core preview checks, and scripted releases. Use for repository maintenance, main alignment, CLI/MCP/Workbench changes, or release work; not ordinary contribution tasks.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#3759
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能