मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग24k · #10112

upload-photo

यह क्या करती है

यह दिखाती है कि GitHub command-line tool से pull request या issue में चित्र या video कैसे जोड़ें। यह उन डेवलपर्स के लिए है जो code reviews के दौरान screenshots साझा करना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप GitHub pull request में screenshot जोड़ना चाहें, ताकि reviewers बदलाव देख सकें।
  • ✓जब GitHub issue की comment के अंदर कोई चित्र दिखाना हो।
  • ✓जब GitHub comment की किसी छवि के लिए alt text चाहिए, ताकि screen readers इस्तेमाल करने वाले लोग उसे समझ सकें।

Skill का लिंक

https://github.com/different-ai/openwork/blob/dev/.opencode/skills/upload-photo/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/different-ai/openwork/blob/dev/.opencode/skills/upload-photo/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस screenshot को मेरे GitHub pull request में जोड़ दीजिए, ताकि reviewers बदलाव देख सकें।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल GitHub का command-line tool चलाकर फ़ाइल अपलोड करती है और उसे comment में लगाती है। पहले यह जाँचती है कि tool version 2.99 या नया है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Upload Photo

Use GitHub CLI 2.99 or newer. Check and upgrade it if needed:

gh --version
brew upgrade gh

Attach a file to a new comment, putting alt text after #:

gh pr comment <n> --attach './shot.png#Alt text'
gh issue comment <n> --attach './shot.png#Alt text'

gh pr create, gh pr edit, gh issue create, and gh issue edit also accept repeatable --attach flags, with at most 50 files.

To place an image in the body, reference the same path:

printf '![Alt text](./shot.png)\n' | gh pr comment <n> --body-file - --attach './shot.png#Alt text'

GitHub rewrites that Markdown reference to the uploaded asset. Unreferenced attachments are appended to the comment.

There is no standalone “get a URL” command. The asset URL lives in the posted comment; read it back with gh api repos/{owner}/{repo}/issues/comments/<id> --jq .body.

अक्सर पूछे जाने वाले सवाल

क्या इसके लिए कोई खास tool चाहिए?

हाँ। आपको GitHub CLI का version 2.99 या नया चाहिए। स्किल उसे जाँचती है और अपग्रेड का तरीका बताती है।

क्या pull request बनाते समय भी चित्र जोड़ सकते हैं?

हाँ। pull request या issue बनाने और बदलने में भी attachments लिए जा सकते हैं, 50 फ़ाइलों तक।

अपलोड के बाद चित्र का link कैसे मिलेगा?

link पोस्ट की गई comment में होता है, और स्किल बताती है कि किसी GitHub command से उसे कैसे वापस पढ़ें।

जानकारी

लेखक का मूल विवरण

Attach a screenshot/image/video to a PR or issue, or embed an image in a GitHub comment.

repo: different-ai/openwork

लोकप्रियता

GitHub स्टार
24k
रैंकिंग में स्थान
#10112
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills