github-automation
Skill này làm gì
Công cụ này giúp bạn quản lý các tác vụ trên GitHub, như issue, pull request, nhánh và workflow. Nó làm điều này tự động và an toàn, tuân theo các quy tắc của kho lưu trữ.
Khi nào nên dùng
- ✓Khi bạn cần tự động hóa các tác vụ lặp lại trên GitHub.
- ✓Khi quản lý nhiều dự án hoặc cộng tác viên trong một kho lưu trữ.
- ✓Khi muốn đảm bảo các quy tắc và chính sách bảo mật của kho lưu trữ luôn được tuân thủ.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-automation/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
“Tự động tạo một issue mới trong kho 'my-project' với tiêu đề 'Lỗi đăng nhập' và mô tả 'Người dùng không thể truy cập nền tảng.'”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với GitHub bằng một hệ thống gọi là Rube MCP. Nó kiểm tra các quy tắc của kho lưu trữ và thực hiện các hành động được yêu cầu, như tạo issue hoặc cập nhật pull request, đảm bảo mọi thứ được làm theo chính sách đã đặt ra.
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.
GitHub Automation via Rube MCP
Use Composio's GitHub toolkit through Rube MCP while preserving repository policy, exact revision identity, and branch protection.
When to Use
Use for programmatic GitHub issue, pull-request, branch, Actions, deployment, collaborator, or protection tasks when Rube MCP is available. Prefer the native gh workflow or a repository-specific maintainer command when local repository policy requires it.
Setup
- Confirm
RUBE_SEARCH_TOOLSis available. - Search for the current GitHub tool schemas before composing calls.
- Use
RUBE_MANAGE_CONNECTIONSwith toolkitgithuband complete OAuth only if the connection is not active. - Resolve the exact
owner/repo; do not rely on a similarly named repository.
Never request, print, or persist GitHub credentials in prompts or artifacts.
Repository Policy Gate
Before mutation, read AGENTS.md, contribution and maintainer docs, then inspect the default branch and effective protection. Repository-native commands and required checks take precedence over generic Rube operations.
If a repository provides a guarded merge or release command, use it instead of the generic merge tool. In agentic-awesome-skills, use antigravity-maintainer-batch-release and npm run merge:batch so exact-SHA review, fresh check-suite binding, and protected main are enforced.
Workflows
Issues
- List or search existing issues before creating a duplicate.
- Distinguish issues from pull requests in mixed results.
- Read the current item, comments, labels, and linked PRs before changing state.
- Create, comment, label, assign, or close only within the user's requested scope.
- Re-read the item and verify the resulting state.
Paginate until the requested result set is complete. Treat silent omission of labels or assignees as a permissions failure, not success.
Pull requests
- Resolve the PR and capture its number, base, full head SHA, draft state, author, fork identity, and mergeability.
- Inspect changed files, reviews, conversations, and required check runs.
- Bind every review or approval decision to the current full head SHA.
- Create or update the PR body truthfully; never mark pending tests or reviews as completed.
- Immediately before merge, re-read base/head identity, branch protection, mergeability, required checks, and repository policy.
- Use the repository's guarded merge path. Call a generic merge tool only when policy permits it and the user authorized the merge.
- Verify the PR reports
MERGEDand confirm the target branch contains the intended commit.
Do not treat a successful API call that enables auto-merge or queues work as an immediate merge.
Branches and references
- Resolve the source commit SHA and target ref explicitly.
- Create topic branches rather than updating protected/default branches directly.
- Reject non-fast-forward or force updates unless the user explicitly authorizes them and repository policy permits them.
- Confirm the remote ref after mutation.
Deletion, force-push, default-branch changes, and protection changes are destructive or high-impact actions requiring explicit authorization.
Actions and deployments
- Resolve the workflow by trusted ID or path and confirm
workflow_dispatchsupport before dispatch. - Bind run inspection to the intended event, ref, and head SHA.
- Distinguish
queued,in_progress,action_required,completed, andskippedstates. - Read failed job logs before proposing source changes.
- Wait for terminal success and verify the deployed or published surface separately.
Do not approve fork workflow runs by raw run ID when the repository provides a guarded approval command.
Permissions and protection
- Read collaborators, role, branch protection, and applicable rulesets before proposing changes.
- Treat a 404 protection response as “not configured” only after confirming repository and branch identity.
- Show the exact before/after policy and impact before any protection or permission mutation.
- Re-read effective state after the change.
Failure Rules
- Re-resolve tool schemas when Rube reports missing or changed parameters.
- Stop on repository ambiguity, stale head/base SHA, missing permissions, incomplete pagination, or inconclusive protection state.
- Never bypass required checks, reviews, merge queues, maintainer commands, or server-side branch protection.
…
Câu hỏi thường gặp
Rube MCP là gì?
Đây là hệ thống cho phép các công cụ AI tương tác với các nền tảng khác, như GitHub, một cách an toàn và có kiểm soát.
Tôi có thể thay đổi quy tắc bảo vệ nhánh không?
Công cụ này không cho phép thay đổi trực tiếp quy tắc bảo vệ nhánh. Nó hoạt động trong các quy tắc hiện có để đảm bảo an toàn.
Điều gì xảy ra nếu một tác vụ thất bại?
Nếu một tác vụ thất bại, công cụ sẽ dừng và báo cáo lý do, chẳng hạn thiếu quyền hoặc một quy tắc ngăn hành động đó. Nó không bỏ qua lỗi hay quy tắc bảo mật.
Chi tiết
Mô tả gốc của tác giả
Operate GitHub issues, pull requests, branches, checks, workflows, and permissions through Rube MCP. Use when GitHub work must be queried or changed programmatically with repository-policy safeguards.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4747
- 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.