github-gitlab
यह क्या करती है
यह स्किल असिस्टेंट को आपके जुड़े अकाउंट का उपयोग करके कोड रिपॉज़िटरी देखने और छोटे संपादन करने देती है। यह उन डेवलपर्स के लिए है जो GitHub या GitLab पर काम करते हैं।
कब इस्तेमाल करें
- ✓जब आप असिस्टेंट से रिपॉज़िटरी में इश्यू या पुल रिक्वेस्ट की स्थिति जाँचने को कहते हैं।
- ✓जब आप होस्ट किए गए प्रोजेक्ट में कोई छोटा कोड बदलाव चाहते हैं।
- ✓जब आपको ब्रांच का इतिहास देखना हो या यह जानना हो कि क्या बदला।
Skill का लिंक
https://github.com/yc-software/qm/blob/main/skills-seed/github-gitlab/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारी रिपॉज़िटरी की खुली पुल रिक्वेस्ट देखिए और बताइए कौन-सी समीक्षा का इंतज़ार कर रही हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
असिस्टेंट आपके अधिकृत किए गए अकाउंट से GitHub या GitLab के कमांड-लाइन टूल चलाता है। अगर बदलाव से पहले सही अकाउंट साफ़ न हो, तो वह आपसे पूछता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
GitHub / GitLab
Use this skill when the user asks to inspect repos, issues, pull requests, merge requests, code history, branches, or to make a small code change in a hosted repo.
Choose the account deliberately
Use the current credential manifest to choose an account authorized for this conversation
that fits the user's intent. Run commands with execute and an explicit sandbox_id;
keep that ID throughout checkout, edits, checks, and push. Personal and shared accounts are both valid choices; neither
is an automatic fallback when the other fails. If the intended account is unclear before
a write, ask. Do not infer permission from a login merely being present on the computer.
- Personal login: use the authorized
gh,glab, or Git login. Check the active provider account (for example,gh api user --jq .login) and the Git transport's auth configuration; a CLI API identity alone does not prove which account Git will use. - Shared org credential: if listed in the prompt, select its slug and use the
core-hosted smart HTTP remote in the
use-shared-credentialskill. This uses the configured shared account, even when a personal OAuth connector is live. Its name is an admin label, not a verified upstream username. - Connected app: use only advertised capabilities. API access does not by itself establish native Git transport access or configure the CLI's active login.
For an existing checkout, inspect the remote and applicable credential-helper, SSH, proxy, and HTTP-header configuration. A reused checkout may still select a previous account. Commit author metadata is separate from transport identity. Resolve an unknown identity before a write; do not probe access by pushing.
Logging in
Use the native login only after an explicit authentication rejection. A TLS timeout, connection reset, rate limit, or GitHub server error is not evidence of logout or permission expiry. Do not consume another credential grant to repair transport.
For a confirmed missing or expired GitHub or GitLab login, follow the
interactive-login skill: it runs gh auth login / glab auth login in a temporary
home as a background job, relays the code and URL, and saves the login to the keychain
so later commands use it through execute.credentials.
Read-only work
Check auth and inspect repo state:
gh auth status
gh repo view OWNER/REPO --json name,description,url,defaultBranchRef
gh issue list --repo OWNER/REPO --state open --limit 20
gh pr list --repo OWNER/REPO --state open --limit 20
For GitLab:
glab auth status
glab repo view GROUP/PROJECT
glab issue list --repo GROUP/PROJECT
glab mr list --repo GROUP/PROJECT
Use git log, git show, and git diff for codebase-change summaries. Cite commit
hashes, PR/MR numbers, and links.
Checkout and edits
Clone or fetch only the repo the user asked for:
gh repo clone OWNER/REPO repo
cd repo
git checkout -b codex/small-change
Keep changes scoped. Run the repo's tests. If a push or PR/MR creation is requested, prepare the branch and summary first.
Writes require approval
Pushing branches, creating PRs/MRs, merging, closing issues, editing labels, changing repo settings, releases, or workflows are writes. Ask for approval before running the write command.
After approval:
git push -u origin codex/small-change
gh pr create --repo OWNER/REPO --title "..." --body-file pr.md
For GitLab:
git push -u origin codex/small-change
glab mr create --repo GROUP/PROJECT --title "..." --description-file mr.md
Report the final URL and leave enough context for review.
Wait for GitHub CI
Use the bundled helper instead of a bare gh pr checks --watch or a handwritten
shell loop. Use the absolute directory reported by the skill read in place of
<skill dir>. It is one blocking watcher process, not repeated agent turns:
node "<skill dir>/scripts/watch-ci.mjs" --repo OWNER/REPO --pr NUMBER --head REVIEWED_HEAD_SHA
Capture the full head SHA from gh pr view NUMBER --repo OWNER/REPO --json headRefOid
before review. Use that same SHA for the watcher and the final merge gate. Start the
watcher with execute using the selected sandbox_id and background:true, then
subscribe with background action watch and its returned process_id. Keep one
watcher per PR. Set the process lifetime longer than the helper's 30-minute deadline;
use --timeout-ms for a different bounded deadline. Us
अक्सर पूछे जाने वाले सवाल
असिस्टेंट कौन-सा अकाउंट इस्तेमाल करता है?
वह आपके अनुरोध से मेल खाने वाला, आपकी बातचीत के लिए अधिकृत अकाउंट चुनता है। अगर सही अकाउंट साफ़ न हो, तो वह बदलाव से पहले आपसे पूछता है।
क्या वह ऐसा अकाउंट इस्तेमाल कर सकता है जो मैंने नहीं चुना?
नहीं। केवल इसलिए कि कंप्यूटर पर कोई लॉगिन मौजूद है, वह उसका उपयोग नहीं करता। बदलाव से पहले अकाउंट साफ़ न हो, तो वह पूछता है।
अगर एक अकाउंट विफल हो जाए तो?
वह अपने-आप दूसरे अकाउंट पर नहीं जाता। अगला कौन-सा अकाउंट इस्तेमाल करना है, यह आप तय करते हैं।
जानकारी
लेखक का मूल विवरण
Work with GitHub and GitLab repositories through resident gh/glab/git auth on the agent computer.
repo: yc-software/qm
लोकप्रियता
- GitHub स्टार
- 16k
- रैंकिंग में स्थान
- #10892
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
deploy-qm
16kयह आपके एजेंट को QM पैकेज को Fly.io, AWS या Render पर डिप्लॉय करने और पहला एडमिन सेट करने में मदद करती है।
onboarding
16kयह आपके एजेंट को एक छोटी बातचीत में खाते जोड़ने, आपका काम समझने, आवाज़ चुनने और पहली मदद सेट करने में मदद करती है।
admin
16kयह आपके एजेंट को सत्यापित एडमिन के लिए चैट से संस्था-स्तर की सेटिंग्स देखने और बदलने में मदद करती है, हर बदलाव से पहले पुष्टि के साथ।
browse
16kयह आपके एजेंट को असली स्टेल्थ ब्राउज़र से वेबसाइट पर साइन इन करने और फ़ॉर्म भरने जैसे काम करने देती है। यह पढ़ने के लिए नहीं, कार्रवाई के लिए है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।