antigravity-maintainer-batch-release – skill Lập trình cho agent AI
Chạy các đợt quét bảo trì AAS được bảo vệ, gộp PR theo lô, review có thể tiếp tục, phân phối bất biến, kiểm tra Core và phát hành bằng script. Dùng cho bảo trì repository, đồng bộ với main, thay đổi CLI/MCP/Workbench hoặc công việc phát hành; không dành cho các tác vụ đóng góp thông thường.
Cài skill antigravity-maintainer-batch-release bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/antigravity-maintainer-batch-release-26ca0.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /antigravity-maintainer-batch-release – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/antigravity-maintainer-batch-release-26ca0.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $antigravity-maintainer-batch-release – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/antigravity-maintainer-batch-release-26ca0.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /antigravity-maintainer-batch-release – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/antigravity-maintainer-batch-release-26ca0.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /antigravity-maintainer-batch-release – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Antigravity Maintainer Batch Release
When to Use
Use for AAS maintainer sweeps, PR repairs and merge batches, runtime/catalog releases, installed maintainer-skill alignment, and public deployment verification. Ordinary contributors do not need maintainer privileges.
Operating sequence
1. Preserve dirty work. Use an isolated current-main checkout. Read the exact-base AGENTS.md, .github/MAINTENANCE.md, package.json, and [maintenance contract](references/maintenance-contract.md). Mandatory tools must exist on that base; never import retired procedures from another checkout.
2. For a source PR batch, inventory its PR numbers, start npm run maintenance:cycle -- start on clean current main before content analysis/review, and follow the [complete cycle](references/maintenance-cycle.md). The runner measures source maintenance without a release; finish it before release preparation. For a release-only task or a sweep with no PRs, start an explicit empty cycle with --prs none and verify it before preparation. Triage the full authorized scope. Repair source PRs, run the component plan, review the entire tracked skills/<skill-id>/** subtree, and inspect relevant advisories. Do not substitute a heuristic score for semantic review.
3. Use maintenance:cycle merge, which delegates to merge:batch, or invoke npm run merge:batch directly when no source cycle applies. These share the sole merge authority; do not run both for the same merge. Keep strict protected main and admin enforcement. Safe analysis may precede review; merge still requires current checks and either real Tessl review or exact-head maintainer attestation. Private signed receipts may reuse unchanged content/context review. Preserve owner-only sensitive-change and protected-base fork-ledger restrictions.
4. Use guided intake to collect all blockers, then resume with a private external --state-dir. Record each blocker once; after two equivalent unproductive checks, continue independent work. Re-fetch PR state and protection every time. Continue independent PRs after a blocked PR; report failures. Follow the cycle reference’s deterministic failure codes and bounded read retries. Never repeat a write with an unknown outcome, steal an active state lock, or reuse stale CI evidence. Do not rewrite PR metadata, automatically retry base drift, or use GitHub auto-merge.
5. Ordinary source merges generate ephemeral validation state only. Tracked distribution snapshots and contributor credits refresh in the protected release PR; no ordinary canonical-sync PR is required. An explicitly requested no-release dependency repair may synchronize only the existing regular lockfile replicas verified by the trusted-base owner-only contract; every other generated path stays release-owned.
6. Before an authorized publication attempt, run release:rehearse -- X.Y.Z --state-dir /absolute/private/completed-cycle on a clean committed descendant of verified main (including a topic branch for diagnosis). This runs the shared local candidate pipeline in a disposable clone without pushing, tagging, publishing or modifying the source/cycle state; see the full local rehearsal contract. A passing rehearsal is diagnostic and does not authorize publication. When authorized, use release:prepare and release:publish. Preparation creates the local release commit, packs its exact sealed tree, runs the complete test suite against that candidate, and pushes only if it passes; do not duplicate its suite with diagnostic preflight. Merge the prepared release PR through protection. Create or reuse the tag, wait for the immutable candidate, then publish and verify the exact npm bytes. Create the GitHub Release only after npm succeeds; Pages then consumes the same tested bytes unchanged. Main may advance while the released commit remains protected ancestry.
7. For compatible catalog-only publication, use the independent catalog workflow and immutable revision/SRI. Preserve offline operation, rollback and agent-owned selection. Do not bump or republish runtime just to update catalog data.
8. Finish a source batch with maintenance:cycle verify on exact main CI/CodeQL after all other source-cycle actions. Without publication, stop there: public distribution snapshots intentionally remain at the last release. For releases, complete the full-release-alignment gate in the contract, including actual public bytes and live surfaces. Report personal MCP configuration and session reload separately. Update installed maintainer skills from the adopted canonical source, preserving unrelated installations.
Examples
Prepare safe analyses without merging:
npm run merge:batch -- --prs 123,124 --prepare-onlyAfter actual semantic review, persist the evidence and merge:
npm run merge:batch -- --prs 123,124 --state-dir /absolute/private/state --reviewed-head FULL_40_CHARACTER_SHA --reviewer maintainer --review-evidence 'Complete bundle, provenance, safety and limitations reviewed'Use real IDs, paths and a full immutable SHA. The state directory must already exist, be privately owned and mode 0700, and be outside source checkouts.
Validation
Read [component validation](references/component-validation.md) and the [maintenance contract](references/maintenance-contract.md) for exact checks, release proof, catalog compatibility and timing methodology. Required checks remain pr-policy, pr-evidence, source-validation, artifact-preview. Unknown/shared/policy changes receive full validation. CI may overlap only the full plan’s complete unsharded script suite and isolated web coverage/build after successful prerequisites, as defined in the component guide; every ordered result remains mandatory. Blob-filtered checkouts retain full history and fetch required bytes on demand. Pinned Turborepo may reuse complete web coverage/typecheck/compile results through the existing free GitHub cache quota; current-commit metadata, prerender, final verification and the complete repository script suite remain fresh. Pin the same exact Node patch in cached CI jobs and scope persisted caches by the stable userland/toolchain identity, never by a cloud kernel. Follow the component guide for inputs, output-integrity checks, cache trust and diagnostic HIT/MISS receipts. No paid CI or remote cache is activated. The complete unsharded script suite may schedule its six reviewed isolated groups with two workers, then run every remaining group sequentially; failures drain active children and fail closed. Follow the component guide and retain the full inventory digest.
Limitations
This skill grants no additional publication or messaging authority. Tessl unavailable means manual-review-required, not a passing review. Jev, SkillSpector and timing reports are advisory. Never use direct main push, admin bypass, mutable artifact identity, PR-controlled review receipts, or invented native-client reload proof. Local timings do not establish whole-cycle improvement.
Consult [scanner interpretation](references/skillspector.md) when triaging SkillSpector and [Core preview acceptance](references/core-preview.md) for runtime changes.
Follow [public surface verification](references/public-surfaces.md) for catalog, Pages and legacy redirect changes.
For CSV security intake, distinguish historical/generated duplicates from current canonical defects. Never execute skill Markdown or external setup as a triage shortcut. Dossiers must include containing nested skill trees; use reviewed test fixtures and inert source comparisons for executable documentation examples. Record each finding disposition and its evidence before release.
Before creating a release tag, inventory and audit every canonical npm lockfile, including bundled applications and templates; a clean root/web audit does not cover nested dependencies. Recheck live security alerts after source merges and immediately before tagging. Treat newly created alerts as new work before publication.
Mandatory release cycle barrier
A release must never proceed with an unresolved PR in the recorded batch. Every
batch PR must be merged into protected main or closed without merge with an
owner rationale posted before closure and bound to its exact head. A policy
blocker is not completion and never authorizes bypassing merge protection or
closing an otherwise valid contribution merely to unlock publication.
Use npm run maintenance:cycle -- close --state-dir /absolute/private/state --prs 123 --expected-head FULL_40_CHARACTER_SHA --reason 'Substantive reason, including the replacement PR when applicable'.
This posts the required comment before closing; uncertain writes stop without a
retry. Plain undocumented closure does not satisfy verification. Merged PRs use
the existing protected merge path.
Run maintenance:cycle verify successfully on exact current main before
npm run release:prepare -- X.Y.Z --state-dir /absolute/private/state.
Preparation fails bef
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- anywrite – CLI đã biên dịch bao phủ toàn bộ 52 endpoint của Anytype local API — objects…
- api-analyzer – Kiểm tra xem một yêu cầu API có đúng hay không dựa trên đầu vào được cung cấp (method…
- caio-review – /c-level-agents:caio-review [plan] — Chief AI Officer kiểm tra nghiêm ngặt về đánh giá…
- codex – Giao việc lập trình cho OpenAI Codex CLI (tính năng, PR).
- api-contract-testing – Thiết kế và rà soát kiểm thử hợp đồng API giữa nhà cung cấp và người tiêu dùng. Dùng cho…
- api-design-principles – Nắm vững các nguyên tắc thiết kế API REST và GraphQL để xây dựng API trực quan, có khả…
- api-designer – Tạo đặc tả endpoint REST API hoàn chỉnh, sẵn sàng cho production, cho bất kỳ hệ thống…
- api-documentation – Quy trình tài liệu API để tạo đặc tả OpenAPI, viết hướng dẫn cho lập trình viên và duy…