repo-maintainer
Skill này làm gì
Agent AI này kiểm tra “sức khỏe” của một dự án code (repository). Nó tìm và sửa các vấn đề thường gặp về tổ chức, thư viện phụ thuộc đã cũ, thiếu tài liệu và chất lượng code, giúp dự án sẵn sàng cho việc phát hành hoặc bảo trì.
Khi nào nên dùng
- ✓Khi bạn muốn sắp xếp và dọn dẹp dự án code của mình.
- ✓Khi bạn chuẩn bị phát hành một phiên bản mới của dự án.
- ✓Khi bạn muốn kiểm tra xem dự án có ở tình trạng tốt và an toàn hay không.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/repo-maintainer/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra và sắp xếp kho mã nguồn của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc các quy tắc của dự án, kiểm tra file, thư viện phụ thuộc, bài kiểm thử và tài liệu. Sau đó, nó gợi ý hoặc thực hiện các sửa đổi nhỏ cần thiết, theo đúng quy tắc của dự án.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Repository Maintainer
Overview
Audit repository health, apply authorized repairs narrowly, and finish through the repository's own protected workflow.
When to Use
Use when the user asks to maintain, clean, audit, harden, or prepare a repository for release. Use a more specific security, database, deployment, or release skill when that is the dominant task.
Repository Policy Gate
Before mutation:
- Read root and nested
AGENTS.md, contributor guidance, maintainer docs, and release instructions. - Inspect the current branch, worktree, staged files, remotes, default branch, and effective branch protection.
- Discover repository-native validation, synchronization, merge, and release commands.
- Preserve unrelated user work and generated outputs that are not in scope.
If the repository names a mandatory maintainer skill or guarded command, delegate to it instead of inventing a parallel branch, merge, sync, or release path. In agentic-awesome-skills, use antigravity-maintainer-batch-release and npm run merge:batch; main is pull-request-only.
The routine protected checks for agentic-awesome-skills are pr-policy, pr-evidence, source-validation, and artifact-preview. The supported AAS Core preview uses targeted unit tests plus one packed Linux/Node LTS smoke path and Workbench review. Do not resurrect the retired certified-v1 baseline, benchmark, tuning-gold, transaction-fault, race, or frozen OS/runtime matrix as routine merge gates.
Usage
1. Establish the baseline
git status --short --branch
git diff --stat
git diff --cached --stat
git remote -v
git log -5 --oneline
Record the repository's required runtime versions and test commands. Use a clean temporary clone or worktree when existing user changes cannot be isolated safely.
2. Audit independent lanes
Run independent read-only checks in parallel where possible.
Artifacts and Git hygiene
- untracked caches, coverage, build output, editor files, and test leftovers;
- tracked large or binary files, accidental secrets, executable-mode drift, and ignored-file gaps;
- stale branches, detached HEAD, existing staged changes, submodules, and symlinks;
- generated files whose ownership belongs to CI or a canonical-sync workflow.
Do not delete or rewrite history during the audit.
Dependencies and packaging
- lockfile and manifest agreement;
- outdated, vulnerable, duplicate, unused, or end-of-life dependencies;
- runtime imports incorrectly placed in development dependencies;
- clean-install, package-content, and executable-entrypoint behavior.
Treat audit-tool output as evidence to verify, not automatic permission to upgrade or remove packages.
CI and release health
- failing, cancelled, skipped, or stale workflow runs;
- stale, redundant, or unjustifiably broad runtime matrices and unpinned or obsolete actions;
- required checks, branch protection, release permissions, and secret boundaries;
- mismatch between documented and implemented release commands.
Documentation and repository metadata
- README, changelog, version, examples, links, badges, credits, and support metadata;
- contribution instructions and PR templates versus current CI policy;
- generated catalog, site, or API documentation drift.
Code-quality signals
- dead code, stale implementation markers, debug logging, commented-out code, and missing tests;
- unsafe defaults, suppressed errors, credential exposure, and environment-specific paths.
For FAF projects only, also inspect declared .faf, .faf-dna, sync, score, and MCP contracts with the project's installed FAF commands.
3. Produce a prioritized decision set
For each finding report:
- evidence and affected paths;
- severity and user impact;
- whether it is safe to fix now, needs approval, or belongs to another workflow;
- exact validation that proves the repair.
Deduplicate symptoms with the same root cause. Do not mix optional modernization with release blockers.
4. Apply authorized repairs
Make the smallest coherent change set. Keep source and generated-file ownership separate, update tests with behavior changes, and rerun the targeted failing check after each repair group.
Never delete data, rewrite history, rotate credentials, change branch protection, or upgrade across breaking versions without explicit authorization.
5. Validate and publish safely
…
Câu hỏi thường gặp
“Artifacts” và “hygiene” là gì?
Artifacts là các file do dự án tạo ra. Hygiene nói đến sự gọn gàng và ngăn nắp của các file này cũng như của toàn bộ dự án.
“Dependencies” là gì?
Dependencies là những đoạn code khác mà dự án của bạn dùng để hoạt động. Agent kiểm tra xem chúng có được cập nhật và an toàn hay không.
Agent có thể thực hiện những thay đổi rủi ro không?
Không, nó chỉ thực hiện các sửa đổi nhỏ đã được ủy quyền. Nó sẽ không xóa dữ liệu, thay đổi các quy tắc quan trọng của dự án hay nâng cấp lớn nếu bạn chưa cho phép rõ ràng.
Chi tiết
Mô tả gốc của tác giả
Audit and repair repository hygiene across artifacts, dependencies, CI, docs, Git state, and code-quality signals. Use for repository maintenance, cleanup, health checks, or pre-release hardening.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5616
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.