[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F5TX232G33FZ6B343D5RVD":3,"skill-same:01M7F5TX232G33FZ6B343D5RVD":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":14,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M7F5TX232G33FZ6B343D5RVD","github-issues",null,"Create, triage, label, assign GitHub issues via gh or REST.","chaorenex1\u002Fhermes-home-content","chaorenex1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F23194925?v=4","01M7F5NA1D1D02R2MEMYQN2NZT","chan chan","01M7F5NA20KTHMTY2015CYM1TZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fgithub-issues\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\r\nname: github-issues\r\ndescription: \"Create, triage, label, assign GitHub issues via gh or REST.\"\r\nversion: 1.1.0\r\nauthor: Hermes Agent\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [GitHub, Issues, Project-Management, Bug-Tracking, Triage]\r\n    related_skills: [github-auth, github-pr-workflow]\r\n---\r\n\r\n# GitHub Issues Management\r\n\r\nCreate, search, triage, and manage GitHub issues. Each section shows `gh` first, then the `curl` fallback.\r\n\r\n## Prerequisites\r\n\r\n- Authenticated with GitHub (see `github-auth` skill)\r\n- Inside a git repo with a GitHub remote, or specify the repo explicitly\r\n\r\n### Setup\r\n\r\n```bash\r\nif command -v gh &>\u002Fdev\u002Fnull && gh auth status &>\u002Fdev\u002Fnull; then\r\n  AUTH=\"gh\"\r\nelse\r\n  AUTH=\"git\"\r\n  if [ -z \"$GITHUB_TOKEN\" ]; then\r\n    if _hermes_env=\"${HERMES_HOME:-$HOME\u002F.hermes}\u002F.env\"; [ -f \"$_hermes_env\" ] && grep -q \"^GITHUB_TOKEN=\" \"$_hermes_env\"; then\r\n      GITHUB_TOKEN=$(grep \"^GITHUB_TOKEN=\" \"$_hermes_env\" | head -1 | cut -d= -f2 | tr -d '\\n\\r')\r\n    elif grep -q \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull; then\r\n      GITHUB_TOKEN=$(grep \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull | head -1 | sed 's|https:\u002F\u002F[^:]*:\\([^@]*\\)@.*|\\1|')\r\n    fi\r\n  fi\r\nfi\r\n\r\nREMOTE_URL=$(git remote get-url origin)\r\nOWNER_REPO=$(echo \"$REMOTE_URL\" | sed -E 's|.*github\\.com[:\u002F]||; s|\\.git$||')\r\nOWNER=$(echo \"$OWNER_REPO\" | cut -d\u002F -f1)\r\nREPO=$(echo \"$OWNER_REPO\" | cut -d\u002F -f2)\r\n```\r\n\r\n---\r\n\r\n## 1. Viewing Issues\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue list\r\ngh issue list --state open --label \"bug\"\r\ngh issue list --assignee @me\r\ngh issue list --search \"authentication error\" --state all\r\ngh issue view 42\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# List open issues\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?state=open&per_page=20\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin):\r\n    if 'pull_request' not in i:  # GitHub API returns PRs in \u002Fissues too\r\n        labels = ', '.join(l['name'] for l in i['labels'])\r\n        print(f\\\"#{i['number']:5}  {i['state']:6}  {labels:30}  {i['title']}\\\")\"\r\n\r\n# Filter by label\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?state=open&labels=bug&per_page=20\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin):\r\n    if 'pull_request' not in i:\r\n        print(f\\\"#{i['number']}  {i['title']}\\\")\"\r\n\r\n# View a specific issue\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42 \\\r\n  | python3 -c \"\r\nimport sys, json\r\ni = json.load(sys.stdin)\r\nlabels = ', '.join(l['name'] for l in i['labels'])\r\nassignees = ', '.join(a['login'] for a in i['assignees'])\r\nprint(f\\\"#{i['number']}: {i['title']}\\\")\r\nprint(f\\\"State: {i['state']}  Labels: {labels}  Assignees: {assignees}\\\")\r\nprint(f\\\"Author: {i['user']['login']}  Created: {i['created_at']}\\\")\r\nprint(f\\\"\\n{i['body']}\\\")\"\r\n\r\n# Search issues\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Fsearch\u002Fissues?q=authentication+error+repo:$OWNER\u002F$REPO\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin)['items']:\r\n    print(f\\\"#{i['number']}  {i['state']:6}  {i['title']}\\\")\"\r\n```\r\n\r\n## 2. Creating Issues\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue create \\\r\n  --title \"Login redirect ignores ?next= parameter\" \\\r\n  --body \"## Description\r\nAfter logging in, users always land on \u002Fdashboard.\r\n\r\n## Steps to Reproduce\r\n1. Navigate to \u002Fsettings while logged out\r\n2. Get redirected to \u002Flogin?next=\u002Fsettings\r\n3. Log in\r\n4. Actual: redirected to \u002Fdashboard (should go to \u002Fsettings)\r\n\r\n## Expected Behavior\r\nRespect the ?next= query parameter.\" \\\r\n  --label \"bug,backend\" \\\r\n  --assignee \"username\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues \\\r\n  -d '{\r\n    \"title\": \"Login redirect ignores ?next= parameter\",\r\n    \"body\": \"## Description\\nAfter logging in, users always land on \u002Fdashboard.\\n\\n## Steps to Reproduce\\n1. Navigate to \u002Fsettings while logged out\\n2. Get redirected to \u002Flogin?next=\u002Fsettings\\n3. Log in\\n4. Actual: redirected to \u002Fdashboard\\n\\n## Expected Behavior\\nRespect the ?next= query parameter.\",\r\n    \"labels\": [\"bug\", \"backend\"],\r\n    \"assignees\": [\"username\"]\r\n  }'\r\n```\r\n\r\n### Bug Report Template\r\n\r\n```\r\n## Bug Description\r\n\u003CWhat's happening>\r\n\r\n## Steps to Reproduce\r\n1. \u003Cstep>\r\n2. \u003Cstep>\r\n\r\n## Expected Behavior\r\n\u003CWhat should happen>\r\n\r\n## Actual Behavior\r\n\u003CWhat actually happens>\r\n\r\n## Environment\r\n- OS: \u003Cos>\r\n- Version: \u003Cversion>\r\n```\r\n\r\n### Feature Request Template\r\n\r\n```\r\n## Feature Description\r\n\u003CWhat you want>\r\n\r\n## Motivation\r\n\u003CWhy this would be useful>\r\n\r\n## Proposed Solution\r\n\u003CHow it could work>\r\n\r\n## Alternatives Considered\r\n\u003COther approaches>\r\n```\r\n\r\n## 3. Managing Issues\r\n\r\n### Add\u002FRemove Labels\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue edit 42 --add-label \"priority:high,bug\"\r\ngh issue edit 42 --remove-label \"needs-triage\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# Add labels\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Flabels \\\r\n  -d '{\"labels\": [\"priority:high\", \"bug\"]}'\r\n\r\n# Remove a label\r\ncurl -s -X DELETE \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Flabels\u002Fneeds-triage\r\n\r\n# List available labels in the repo\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Flabels \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor l in json.load(sys.stdin):\r\n    print(f\\\"  {l['name']:30}  {l.get('description', '')}\\\")\"\r\n```\r\n\r\n### Assignment\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue edit 42 --add-assignee username\r\ngh issue edit 42 --add-assignee @me\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Fassignees \\\r\n  -d '{\"assignees\": [\"username\"]}'\r\n```\r\n\r\n### Commenting\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue comment 42 --body \"Investigated — root cause is in auth middleware. Working on a fix.\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Fcomments \\\r\n  -d '{\"body\": \"Investigated — root cause is in auth middleware. Working on a fix.\"}'\r\n```\r\n\r\n### Closing and Reopening\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue close 42\r\ngh issue close 42 --reason \"not planned\"\r\ngh issue reopen 42\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# Close\r\ncurl -s -X PATCH \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42 \\\r\n  -d '{\"state\": \"closed\", \"state_reason\": \"completed\"}'\r\n\r\n# Reopen\r\ncurl -s -X PATCH \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42 \\\r\n  -d '{\"state\": \"open\"}'\r\n```\r\n\r\n### Linking Issues to PRs\r\n\r\nIssues are automatically closed when a PR merges with the right keywords in the body:\r\n\r\n```\r\nCloses #42\r\nFixes #42\r\nResolves #42\r\n```\r\n\r\nTo create a branch from an issue:\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue develop 42 --checkout\r\n```\r\n\r\n**With git (manual equivalent):**\r\n\r\n```bash\r\ngit checkout main && git pull origin main\r\ngit checkout -b fix\u002Fissue-42-login-redirect\r\n```\r\n\r\n## 4. Issue Triage Workflow\r\n\r\nWhen asked to triage issues:\r\n\r\n1. **List untriaged issues:**\r\n\r\n```bash\r\n# With gh\r\ngh issue list --label \"needs-triage\" --state open\r\n\r\n# With curl\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?labels=needs-triage&state=open\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin):\r\n    if 'pull_request' not in i:\r\n        print(f\\\"#{i['number']}  {i['title']}\\\")\"\r\n```\r\n\r\n2. **Read and categorize** each issue (view details, understand the bug\u002Ffeature)\r\n\r\n3. **Apply labels and priority** (see Managing Issues above)\r\n\r\n4. **Assign** if the owner is clear\r\n\r\n5. **Comment with triage notes** if needed\r\n\r\n## 5. Bulk Operations\r\n\r\nFor batch operations, combine API calls with shell scripting:\r\n\r\n**With gh:**\r\n\r\n```bash\r\n# Close all issues with a specific label\r\ngh issue list --label \"wontfix\" --json number --jq '.[].number' | \\\r\n  xargs -I {} gh issue close {} --reason \"not planned\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# List issue numbers with a label, then close each\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?labels=wontfix&state=open\" \\\r\n  | python3 -c \"import sys,json; [print(i['number']) for i in json.load(sys.stdin)]\" \\\r\n  | while read num; do\r\n    curl -s -X PATCH \\\r\n      -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n      https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F$num \\\r\n      -d '{\"state\": \"closed\", \"state_reason\": \"not_planned\"}'\r\n    echo \"Closed #$num\"\r\n  done\r\n```\r\n\r\n## Quick Reference Table\r\n\r\n| Action | gh | curl endpoint |\r\n|--------|-----|--------------|\r\n| List issues | `gh issue list` | `GET \u002Frepos\u002F{o}\u002F{r}\u002Fissues` |\r\n| View issue | `gh issue view N` | `GET \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN` |\r\n| Create issue | `gh issue create ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues` |\r\n| Add labels | `gh issue edit N --add-label ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN\u002Flabels` |\r\n| Assign | `gh issue edit N --add-assignee ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN\u002Fassignees` |\r\n| Comment | `gh issue comment N --body ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN\u002Fcomments` |\r\n| Close | `gh issue close N` | `PATCH \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN` |\r\n| Search | `gh issue list --search \"...\"` | `GET \u002Fsearch\u002Fissues?q=...` |\r\n","# GitHub Issues Management\r\n\r\nCreate, search, triage, and manage GitHub issues. Each section shows `gh` first, then the `curl` fallback.\r\n\r\n## Prerequisites\r\n\r\n- Authenticated with GitHub (see `github-auth` skill)\r\n- Inside a git repo with a GitHub remote, or specify the repo explicitly\r\n\r\n### Setup\r\n\r\n```bash\r\nif command -v gh &>\u002Fdev\u002Fnull && gh auth status &>\u002Fdev\u002Fnull; then\r\n  AUTH=\"gh\"\r\nelse\r\n  AUTH=\"git\"\r\n  if [ -z \"$GITHUB_TOKEN\" ]; then\r\n    if _hermes_env=\"${HERMES_HOME:-$HOME\u002F.hermes}\u002F.env\"; [ -f \"$_hermes_env\" ] && grep -q \"^GITHUB_TOKEN=\" \"$_hermes_env\"; then\r\n      GITHUB_TOKEN=$(grep \"^GITHUB_TOKEN=\" \"$_hermes_env\" | head -1 | cut -d= -f2 | tr -d '\\n\\r')\r\n    elif grep -q \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull; then\r\n      GITHUB_TOKEN=$(grep \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull | head -1 | sed 's|https:\u002F\u002F[^:]*:\\([^@]*\\)@.*|\\1|')\r\n    fi\r\n  fi\r\nfi\r\n\r\nREMOTE_URL=$(git remote get-url origin)\r\nOWNER_REPO=$(echo \"$REMOTE_URL\" | sed -E 's|.*github\\.com[:\u002F]||; s|\\.git$||')\r\nOWNER=$(echo \"$OWNER_REPO\" | cut -d\u002F -f1)\r\nREPO=$(echo \"$OWNER_REPO\" | cut -d\u002F -f2)\r\n```\r\n\r\n---\r\n\r\n## 1. Viewing Issues\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue list\r\ngh issue list --state open --label \"bug\"\r\ngh issue list --assignee @me\r\ngh issue list --search \"authentication error\" --state all\r\ngh issue view 42\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# List open issues\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?state=open&per_page=20\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin):\r\n    if 'pull_request' not in i:  # GitHub API returns PRs in \u002Fissues too\r\n        labels = ', '.join(l['name'] for l in i['labels'])\r\n        print(f\\\"#{i['number']:5}  {i['state']:6}  {labels:30}  {i['title']}\\\")\"\r\n\r\n# Filter by label\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?state=open&labels=bug&per_page=20\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin):\r\n    if 'pull_request' not in i:\r\n        print(f\\\"#{i['number']}  {i['title']}\\\")\"\r\n\r\n# View a specific issue\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42 \\\r\n  | python3 -c \"\r\nimport sys, json\r\ni = json.load(sys.stdin)\r\nlabels = ', '.join(l['name'] for l in i['labels'])\r\nassignees = ', '.join(a['login'] for a in i['assignees'])\r\nprint(f\\\"#{i['number']}: {i['title']}\\\")\r\nprint(f\\\"State: {i['state']}  Labels: {labels}  Assignees: {assignees}\\\")\r\nprint(f\\\"Author: {i['user']['login']}  Created: {i['created_at']}\\\")\r\nprint(f\\\"\\n{i['body']}\\\")\"\r\n\r\n# Search issues\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Fsearch\u002Fissues?q=authentication+error+repo:$OWNER\u002F$REPO\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin)['items']:\r\n    print(f\\\"#{i['number']}  {i['state']:6}  {i['title']}\\\")\"\r\n```\r\n\r\n## 2. Creating Issues\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue create \\\r\n  --title \"Login redirect ignores ?next= parameter\" \\\r\n  --body \"## Description\r\nAfter logging in, users always land on \u002Fdashboard.\r\n\r\n## Steps to Reproduce\r\n1. Navigate to \u002Fsettings while logged out\r\n2. Get redirected to \u002Flogin?next=\u002Fsettings\r\n3. Log in\r\n4. Actual: redirected to \u002Fdashboard (should go to \u002Fsettings)\r\n\r\n## Expected Behavior\r\nRespect the ?next= query parameter.\" \\\r\n  --label \"bug,backend\" \\\r\n  --assignee \"username\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues \\\r\n  -d '{\r\n    \"title\": \"Login redirect ignores ?next= parameter\",\r\n    \"body\": \"## Description\\nAfter logging in, users always land on \u002Fdashboard.\\n\\n## Steps to Reproduce\\n1. Navigate to \u002Fsettings while logged out\\n2. Get redirected to \u002Flogin?next=\u002Fsettings\\n3. Log in\\n4. Actual: redirected to \u002Fdashboard\\n\\n## Expected Behavior\\nRespect the ?next= query parameter.\",\r\n    \"labels\": [\"bug\", \"backend\"],\r\n    \"assignees\": [\"username\"]\r\n  }'\r\n```\r\n\r\n### Bug Report Template\r\n\r\n```\r\n## Bug Description\r\n\u003CWhat's happening>\r\n\r\n## Steps to Reproduce\r\n1. \u003Cstep>\r\n2. \u003Cstep>\r\n\r\n## Expected Behavior\r\n\u003CWhat should happen>\r\n\r\n## Actual Behavior\r\n\u003CWhat actually happens>\r\n\r\n## Environment\r\n- OS: \u003Cos>\r\n- Version: \u003Cversion>\r\n```\r\n\r\n### Feature Request Template\r\n\r\n```\r\n## Feature Description\r\n\u003CWhat you want>\r\n\r\n## Motivation\r\n\u003CWhy this would be useful>\r\n\r\n## Proposed Solution\r\n\u003CHow it could work>\r\n\r\n## Alternatives Considered\r\n\u003COther approaches>\r\n```\r\n\r\n## 3. Managing Issues\r\n\r\n### Add\u002FRemove Labels\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue edit 42 --add-label \"priority:high,bug\"\r\ngh issue edit 42 --remove-label \"needs-triage\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# Add labels\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Flabels \\\r\n  -d '{\"labels\": [\"priority:high\", \"bug\"]}'\r\n\r\n# Remove a label\r\ncurl -s -X DELETE \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Flabels\u002Fneeds-triage\r\n\r\n# List available labels in the repo\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Flabels \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor l in json.load(sys.stdin):\r\n    print(f\\\"  {l['name']:30}  {l.get('description', '')}\\\")\"\r\n```\r\n\r\n### Assignment\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue edit 42 --add-assignee username\r\ngh issue edit 42 --add-assignee @me\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Fassignees \\\r\n  -d '{\"assignees\": [\"username\"]}'\r\n```\r\n\r\n### Commenting\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue comment 42 --body \"Investigated — root cause is in auth middleware. Working on a fix.\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\ncurl -s -X POST \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42\u002Fcomments \\\r\n  -d '{\"body\": \"Investigated — root cause is in auth middleware. Working on a fix.\"}'\r\n```\r\n\r\n### Closing and Reopening\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue close 42\r\ngh issue close 42 --reason \"not planned\"\r\ngh issue reopen 42\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# Close\r\ncurl -s -X PATCH \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42 \\\r\n  -d '{\"state\": \"closed\", \"state_reason\": \"completed\"}'\r\n\r\n# Reopen\r\ncurl -s -X PATCH \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F42 \\\r\n  -d '{\"state\": \"open\"}'\r\n```\r\n\r\n### Linking Issues to PRs\r\n\r\nIssues are automatically closed when a PR merges with the right keywords in the body:\r\n\r\n```\r\nCloses #42\r\nFixes #42\r\nResolves #42\r\n```\r\n\r\nTo create a branch from an issue:\r\n\r\n**With gh:**\r\n\r\n```bash\r\ngh issue develop 42 --checkout\r\n```\r\n\r\n**With git (manual equivalent):**\r\n\r\n```bash\r\ngit checkout main && git pull origin main\r\ngit checkout -b fix\u002Fissue-42-login-redirect\r\n```\r\n\r\n## 4. Issue Triage Workflow\r\n\r\nWhen asked to triage issues:\r\n\r\n1. **List untriaged issues:**\r\n\r\n```bash\r\n# With gh\r\ngh issue list --label \"needs-triage\" --state open\r\n\r\n# With curl\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?labels=needs-triage&state=open\" \\\r\n  | python3 -c \"\r\nimport sys, json\r\nfor i in json.load(sys.stdin):\r\n    if 'pull_request' not in i:\r\n        print(f\\\"#{i['number']}  {i['title']}\\\")\"\r\n```\r\n\r\n2. **Read and categorize** each issue (view details, understand the bug\u002Ffeature)\r\n\r\n3. **Apply labels and priority** (see Managing Issues above)\r\n\r\n4. **Assign** if the owner is clear\r\n\r\n5. **Comment with triage notes** if needed\r\n\r\n## 5. Bulk Operations\r\n\r\nFor batch operations, combine API calls with shell scripting:\r\n\r\n**With gh:**\r\n\r\n```bash\r\n# Close all issues with a specific label\r\ngh issue list --label \"wontfix\" --json number --jq '.[].number' | \\\r\n  xargs -I {} gh issue close {} --reason \"not planned\"\r\n```\r\n\r\n**With curl:**\r\n\r\n```bash\r\n# List issue numbers with a label, then close each\r\ncurl -s \\\r\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues?labels=wontfix&state=open\" \\\r\n  | python3 -c \"import sys,json; [print(i['number']) for i in json.load(sys.stdin)]\" \\\r\n  | while read num; do\r\n    curl -s -X PATCH \\\r\n      -H \"Authorization: token $GITHUB_TOKEN\" \\\r\n      https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fissues\u002F$num \\\r\n      -d '{\"state\": \"closed\", \"state_reason\": \"not_planned\"}'\r\n    echo \"Closed #$num\"\r\n  done\r\n```\r\n\r\n## Quick Reference Table\r\n\r\n| Action | gh | curl endpoint |\r\n|--------|-----|--------------|\r\n| List issues | `gh issue list` | `GET \u002Frepos\u002F{o}\u002F{r}\u002Fissues` |\r\n| View issue | `gh issue view N` | `GET \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN` |\r\n| Create issue | `gh issue create ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues` |\r\n| Add labels | `gh issue edit N --add-label ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN\u002Flabels` |\r\n| Assign | `gh issue edit N --add-assignee ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN\u002Fassignees` |\r\n| Comment | `gh issue comment N --body ...` | `POST \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN\u002Fcomments` |\r\n| Close | `gh issue close N` | `PATCH \u002Frepos\u002F{o}\u002F{r}\u002Fissues\u002FN` |\r\n| Search | `gh issue list --search \"...\"` | `GET \u002Fsearch\u002Fissues?q=...` |\r\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":37,"description":7},"Hermes Agent","1.1.0",{"hermes":27},{"tags":28,"related_skills":34},[29,30,31,32,33],"GitHub","Issues","Project-Management","Bug-Tracking","Triage",[35,36],"github-auth","github-pr-workflow",[38,39,40],"linux","macos","windows","main","a3f3199bb87ec3c91248f68a39d88527e1847ae9","skills\u002F.archive\u002Fgithub-issues","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content","https:\u002F\u002Fgithub.com\u002Fchaorenex1","https:\u002F\u002Fblog.aduib.com","A programmer whose only hobby in life is coding","2026-10-20 00:34:32",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add chaorenex1\u002Fhermes-home-content --skill github-issues",{"tool":55,"command":56},"bunx","bunx skills add chaorenex1\u002Fhermes-home-content --skill github-issues",{"tool":58,"command":59},"pnpm","pnpm dlx skills add chaorenex1\u002Fhermes-home-content --skill github-issues","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fgithub-issues\u002FSKILL.md",true,[63,69],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"templates\u002Fbug-report.md","REFERENCE","参考文档",504,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fgithub-issues\u002Ftemplates\u002Fbug-report.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"templates\u002Ffeature-request.md",629,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fgithub-issues\u002Ftemplates\u002Ffeature-request.md",[74,81,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7F8GF32YD5MBQW2TGSRH1YP","web-retrieval-resilience","Web tools fail or search rules break: repair or fall back.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-retrieval-resilience\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7F8FP46QESQMCZ1KBT3TW3R","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7F8ER6VXHBNVRQBZS7X08SE","verification-loop","Run a six-phase verification of a Claude Code session's work — build, type check, lint, tests with coverage, security grep, and diff review — then produce a PASS\u002FFAIL verification report. Use when verifying work after completing a feature or refactor, before creating a PR, or when quality gates must pass.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7F8E4BQJ38KVQVM3MT20PYV","unreal-world-builder","开放世界与环境专家——精通 UE5 World Partition、Landscape、程序化植被、HLOD 和大规模关卡流式加载，打造无缝开放世界体验","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-world-builder\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7F8D747SQW2FTP7GBSX38BR","unreal-technical-artist","Unreal Engine 视觉管线专家——精通材质编辑器、Niagara 特效、程序化内容生成和 UE5 项目的美术到引擎管线","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-technical-artist\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7F8CKHYJVZVBTN0321J88T2","unreal-systems-engineer","性能与混合架构专家——精通 C++\u002FBlueprint 边界、Nanite 几何体、Lumen GI 和 Gameplay Ability System，面向 AAA 级 Unreal Engine 项目","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-systems-engineer\u002FSKILL.md",[],[]]