[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-1d71aad6-ef49-4e6a-b45a-dbfa575e4271":3,"$f9t-bsYwIUsQL6UL-G7OYqwk6thxOw9JwauZHUhgIMmA":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"1d71aad6-ef49-4e6a-b45a-dbfa575e4271","issues","与GitHub问题互动 - 创建、列出和查看问题。","cat_life_career","mod_other","sickn33,other","---\nname: issues\ndescription: Interact with GitHub issues - create, list, and view issues.\nallowed-tools: Bash(gh *)\nrisk: unknown\nsource: community\nmetadata:\n  author: Shpigford\n  version: \"1.0\"\n---\n\nInteract with GitHub issues - create, list, and view issues.\n\n## When to Use\n- The user wants to create, list, inspect, or otherwise work with GitHub issues.\n- The task involves issue intake or repository issue management through the GitHub CLI workflow.\n- You need a guided issue flow that gathers titles, descriptions, and action selection before running commands.\n\n## Instructions\n\nThis command helps you work with GitHub issues using the `gh` CLI.\n\n### Step 1: Determine Action\n\nUse AskUserQuestion to ask what the user wants to do:\n\n**Question:**\n- question: \"What would you like to do with GitHub issues?\"\n- header: \"Action\"\n- multiSelect: false\n- options:\n  - label: \"Create new issue\"\n    description: \"Open a new issue with title, body, and optional labels\"\n  - label: \"List issues\"\n    description: \"View open issues in the current repository\"\n  - label: \"View issue\"\n    description: \"See details of a specific issue by number\"\n\n---\n\n## If \"Create new issue\" selected:\n\n### Step 2a: Get Issue Title\n\nUse AskUserQuestion to get the issue title:\n\n**Question:**\n- question: \"What's a short, scannable title for this issue? Keep it brief (5-10 words max) - details go in the body. (Use 'Other' to type your title)\"\n- header: \"Title\"\n- multiSelect: false\n- options:\n  - label: \"I'll type a title\"\n    description: \"Enter a concise title like 'Login button unresponsive' or 'Add dark mode support'\"\n\n**Title guidelines:**\n- Keep titles SHORT and scannable (5-10 words max)\n- Good: \"Fix broken password reset flow\"\n- Bad: \"When I try to reset my password and click the button nothing happens and I get an error\"\n- The description\u002Fbody is where details belong, not the title\n\nIf the user provides a long title, help them shorten it and move the details to the body.\n\n### Step 3a: Get Issue Body\n\nUse AskUserQuestion to gather the issue body content:\n\n**Question 1 - Issue type context:**\n- question: \"What type of issue is this?\"\n- header: \"Type\"\n- multiSelect: false\n- options:\n  - label: \"Bug\"\n    description: \"Something broken that needs fixing\"\n  - label: \"Enhancement\"\n    description: \"Improvement to existing functionality\"\n  - label: \"New feature\"\n    description: \"Brand new functionality\"\n  - label: \"Task\"\n    description: \"General work item or chore\"\n\n**Question 2 - Description:**\n- question: \"Now provide the full details. This is where you explain context, background, and specifics that didn't fit in the title. (Use 'Other' to type your description)\"\n- header: \"Description\"\n- multiSelect: false\n- options:\n  - label: \"I'll describe it in detail\"\n    description: \"Provide context, steps, examples, and any relevant information\"\n\nThe user will select \"Other\" here to provide their full description.\n\n**Description guidelines:**\n- This is where ALL the detail goes - be thorough\n- Include context: what were you doing, what's the background?\n- Include specifics: error messages, URLs, versions, etc.\n- The more detail here, the better - unlike the title which should be brief\n\n**Question 3 - For bugs, ask about reproduction:**\nIf issue type is \"Bug\", use AskUserQuestion:\n\n- question: \"Can you provide steps to reproduce this bug? (Use 'Other' to type steps)\"\n- header: \"Repro steps\"\n- multiSelect: false\n- options:\n  - label: \"Provide steps\"\n    description: \"I'll describe how to reproduce the issue\"\n  - label: \"Not reproducible\"\n    description: \"The bug is intermittent or hard to reproduce\"\n\n**Question 4 - Expected vs actual behavior (for bugs):**\nIf issue type is \"Bug\", use AskUserQuestion:\n\n- question: \"What did you expect to happen vs what actually happened? (Use 'Other' to describe)\"\n- header: \"Behavior\"\n- multiSelect: false\n- options:\n  - label: \"Describe behavior\"\n    description: \"I'll explain expected vs actual behavior\"\n\n### Step 4a: Get Labels (Optional)\n\nUse AskUserQuestion to select labels:\n\n- question: \"Which labels should we add? (if any)\"\n- header: \"Labels\"\n- multiSelect: true\n- options:\n  - label: \"bug\"\n    description: \"Something isn't working\"\n  - label: \"enhancement\"\n    description: \"New feature or request\"\n  - label: \"documentation\"\n    description: \"Improvements to docs\"\n  - label: \"good first issue\"\n    description: \"Good for newcomers\"\n\n### Step 5a: Create the Issue\n\nConstruct the issue body based on the type:\n\n**For Bug reports:**\n```\n## Description\n[User's description]\n\n## Steps to Reproduce\n[User's reproduction steps or \"Not easily reproducible\"]\n\n## Expected Behavior\n[What should happen]\n\n## Actual Behavior\n[What actually happens]\n```\n\n**For Feature requests\u002FEnhancements:**\n```\n## Description\n[User's description]\n\n## Use Case\n[Why this would be useful]\n```\n\n**For Tasks\u002FOther:**\n```\n## Description\n[User's description]\n```\n\nRun the gh command to create the issue:\n```bash\ngh issue create --title \"[title]\" --body \"[constructed body]\" --label \"[labels]\"\n```\n\nReport the issue URL back to the user.\n\n---\n\n## If \"List issues\" selected:\n\n### Step 2b: Filter Options\n\nUse AskUserQuestion to determine filtering:\n\n- question: \"How would you like to filter issues?\"\n- header: \"Filter\"\n- multiSelect: false\n- options:\n  - label: \"All open issues\"\n    description: \"Show all open issues\"\n  - label: \"Assigned to me\"\n    description: \"Issues assigned to the current user\"\n  - label: \"Created by me\"\n    description: \"Issues I created\"\n  - label: \"With specific label\"\n    description: \"Filter by a label\"\n\nIf \"With specific label\" selected, use AskUserQuestion:\n\n- question: \"Which label to filter by? (Use 'Other' for custom label)\"\n- header: \"Label\"\n- multiSelect: false\n- options:\n  - label: \"bug\"\n    description: \"Bug reports\"\n  - label: \"enhancement\"\n    description: \"Feature requests\"\n  - label: \"documentation\"\n    description: \"Documentation issues\"\n\n### Step 3b: List Issues\n\nRun the appropriate gh command:\n- All open: `gh issue list`\n- Assigned to me: `gh issue list --assignee @me`\n- Created by me: `gh issue list --author @me`\n- With label: `gh issue list --label \"[label]\"`\n\nDisplay the results in a clean format.\n\n---\n\n## If \"View issue\" selected:\n\n### Step 2c: Get Issue Number\n\nUse AskUserQuestion:\n\n- question: \"Which issue number would you like to view? (Use 'Other' to enter the number)\"\n- header: \"Issue #\"\n- multiSelect: false\n- options:\n  - label: \"Enter issue number\"\n    description: \"I'll type the issue number\"\n\n### Step 3c: View Issue\n\nRun: `gh issue view [number]`\n\nDisplay the issue details including title, body, labels, assignees, and comments.\n\n---\n\n## Error Handling\n\nIf `gh` command fails:\n1. Check if user is authenticated: `gh auth status`\n2. If not authenticated, inform user to run `gh auth login`\n3. Check if in a git repository with a GitHub remote\n4. Report specific error message to user\n\n## Important Notes\n\n- **Titles should be succinct** (5-10 words) - if a user provides a long title, help shorten it and move details to body\n- **Bodies should be detailed** - encourage users to provide thorough context, steps, and specifics\n- Always confirm the issue was created successfully by showing the URL\n- For issue bodies, preserve user's formatting and newlines\n- If the user provides minimal information, that's okay - create the issue with what they gave\n- Use HEREDOC for the body to preserve formatting:\n  ```bash\n  gh issue create --title \"Title\" --body \"$(cat \u003C\u003C'EOF'\n  Body content here\n  EOF\n  )\"\n  ```\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,179,1083,"2026-05-16 13:24:11",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"bf9877e7-e765-44c3-ad9a-7430b66dc06d","1.0.0","issues.zip",2840,"uploads\u002Fskills\u002F1d71aad6-ef49-4e6a-b45a-dbfa575e4271\u002Fissues.zip","80992cefa7c3cad5a6ebbfebecb9262415544e83f1b7e70627ce8f6a3af85ab5","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":7843}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]