inbox-list-notifications

द्वारा microsoft

gh CLI का उपयोग करके GitHub सूचनाएँ प्राप्त करें

npx skills add https://github.com/microsoft/vscode-team-kit --skill inbox-list-notifications

List GitHub Notifications

Use gh api to fetch all unread GitHub notifications with automatic pagination.

Command

Use the --jq flag (NOT a pipe to jq) to filter output inline:

gh api /notifications --paginate --jq '.[] | {id, reason, unread, updated_at, repo: .repository.full_name, title: .subject.title, type: .subject.type, url: .subject.url}'

This is the ONLY command you should run. Do NOT modify it. Do NOT add anything to it.

Rules

  • NEVER pipe to jq, python, python3, or any other program
  • NEVER add 2>/dev/null or any redirects
  • NEVER wrap the command in a script
  • ALWAYS prepend GH_PAGER=cat to gh api calls to avoid interactive pagers
  • NEVER add other environment variable prefixes
  • The --jq flag handles all JSON filtering — no external tools needed
  • The --paginate flag handles pagination — no manual page loops needed

Filters

  • Participating only: Add --method GET -f participating=true
  • Include read: Add --method GET -f all=true
  • Specific repo: Use gh api /repos/{owner}/{repo}/notifications --paginate --jq '...'
  • Since date: Add -f since=2024-01-01T00:00:00Z

Constructing HTML URLs

The url field is an API URL like https://api.github.com/repos/owner/repo/pulls/123. Convert to a clickable URL:

  • For pulls: https://github.com/{repo}/pull/{number}
  • For issues: https://github.com/{repo}/issues/{number}

Extract the number from the API URL's last path segment.

Priority

Sort notifications by reason priority (highest first):

  1. security_alert (critical)
  2. assign (high)
  3. review_requested (high)
  4. mention (high)
  5. ci_activity (medium)
  6. comment (medium)
  7. team_mention (medium)
  8. state_change (medium)
  9. author (low)
  10. subscribed (low)

microsoft की और Skills

oss-growth
microsoft
OSS ग्रोथ हैकर व्यक्तित्व
official
accessibility-aria-expert
microsoft
React/Fluent UI वेबव्यू में पहुँच संबंधी समस्याओं का पता लगाता है और उन्हें ठीक करता है। स्क्रीन रीडर संगतता के लिए कोड की समीक्षा करते समय, ARIA लेबल ठीक करते समय, सुनिश्चित करते समय उपयोग करें…
official
generate-canvas-app
microsoft
[पुराना हो चुका है — इसके बजाय canvas-app का उपयोग करें] एक पूर्ण Power Apps कैनवास ऐप जनरेट करें।
official
django
microsoft
Django वेब डेवलपमेंट के लिए सर्वोत्तम अभ्यास जिसमें मॉडल, व्यू, टेम्पलेट और परीक्षण शामिल हैं।
official
github-issue-creator
microsoft
कच्चे नोट्स, एरर लॉग्स, वॉइस डिक्टेशन या स्क्रीनशॉट को साफ-सुथरे GitHub-फ्लेवर्ड मार्कडाउन इश्यू रिपोर्ट्स में बदलें। तब उपयोग करें जब उपयोगकर्ता बग जानकारी, एरर…
official
python-package-management
microsoft
निर्भरता प्रबंधन के लिए uv और कार्य स्वचालन के लिए poethepoet का उपयोग करता है।
official
runtime-validation
microsoft
माइग्रेटेड एप्लिकेशन के लिए रनटाइम सत्यापन — परीक्षण रणनीति (योजना चरण) और परीक्षण निष्पादन (सत्यापन चरण) को शामिल करता है: स्टार्टअप सत्यापन,…
official
azure-postgres-ts
microsoft
Azure Database for PostgreSQL Flexible Server से pg (node-postgres) पैकेज का उपयोग करके कनेक्ट करें, जिसमें पासवर्ड और Microsoft Entra ID (पासवर्डलेस) प्रमाणीकरण के लिए समर्थन है।
official