GitHub Issues by dedalus-erp-pas/foundation-skills
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill 'GitHub Issues'通过全面的上下文集成和结构化工作流程,创建、检索、更新和管理 GitHub Issues。
在以下情况下激活此技能:
重要提示:在创建或修改 Issues 之前,始终确认所有者/仓库信息
始终使用描述性的 Issue 标题并提供结构化的描述
切勿创建重复的 Issues - 在适当时先搜索现有 Issues
| 工具 | 用途 |
|---|---|
github-mcp(create_issue) | 创建新 Issues |
github-mcp(update_issue) | 更新现有 Issues |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
github-mcp(get_issue)| 获取 Issue 详情 |
github-mcp(search_issues) | 搜索 Issues |
github-mcp(add_issue_comment) | 添加评论 |
github-mcp(list_issues) | 列出仓库 Issues |
首先,收集有关当前仓库和上下文的信息:
在任何操作之前,验证您拥有正确的仓库标识符:
创建 Issues 时,收集完整的上下文:
必需信息:
owner: 仓库所有者(组织或用户)repo: 仓库名称title: 清晰、描述性的 Issue 标题可选但建议提供:
body: Markdown 格式的详细描述labels: 标签名称数组(例如 ["bug", "enhancement"])assignees: 分配的用户名数组milestone: 里程碑编号(整数)人机交互 - 请求上下文
始终要求澄清 Issue 详情:
问题:"这是什么类型的 Issue?"
选项:
- "错误报告 - 某些功能无法正常工作"
- "功能请求 - 需要新功能"
- "任务 - 需要完成的工作项"
- "文档 - 需要更新文档"
- "其他 - 让我描述一下"
标题指南:
[Bug]、[Feature]、[Docs][Bug] 启用 SSO 时登录失败[Feature] 添加深色模式支持为认证模块添加单元测试Issue 描述模板:
为清晰起见,结构化描述:
## 摘要
[Issue 的简要描述]
## 当前行为
[当前发生的情况 - 针对错误]
## 预期行为
[应该发生的情况 - 针对错误]
## 重现步骤
[针对错误 - 编号步骤]
## 验收标准
[针对功能/任务 - 定义"完成"的标准]
## 附加上下文
[截图、日志、相关 Issues 等]
使用 github-mcp(get_issue),参数包括:
owner: 仓库所有者repo: 仓库名称issue_number: Issue 编号(例如 42)这将返回完整的 Issue 信息,包括:
使用 github-mcp(list_issues) 并应用过滤器:
owner: 仓库所有者repo: 仓库名称state: "open"、"closed" 或 "all"labels: 按标签过滤(逗号分隔)assignee: 按分配者用户名过滤sort: 排序依据:"created"、"updated"、"comments"direction: "asc" 或 "desc"per_page: 每页结果数(最多 100)使用 github-mcp(search_issues) 进行高级查询:
更新 Issues 时,仅提供更改的字段:
使用 github-mcp(update_issue),参数包括:
owner: 仓库所有者repo: 仓库名称issue_number: Issue 编号状态更改:
state: "open" - 打开/重新打开 Issuestate: "closed" - 关闭 Issue使用 github-mcp(add_issue_comment),参数包括:
owner: 仓库所有者repo: 仓库名称issue_number: Issue 编号body: Markdown 格式的评论内容关键:在创建或修改 Issues 之前,请与用户确认
收集所有信息后,呈现摘要供用户批准:
在仓库中创建 Issue:owner/repo
标题:[title]
描述:[summary]
标签:[labels]
分配者:[assignee]
是否继续创建 Issue?
## 描述
当 [条件] 时,[组件] 出现 [问题]。
## 重现步骤
1. [第一步]
2. [第二步]
3. [看到错误]
## 预期行为
[应该发生的情况]
## 实际行为
[实际发生的情况]
## 环境
- 应用程序版本:[version]
## 截图/日志
[附加相关文件]
## 可能的解决方案
[可选:如果您有想法]
## 摘要
[功能的一行描述]
## 动机
[为什么需要此功能?它解决了什么问题?]
## 建议的解决方案
[这应该如何工作?]
## 验收标准
- [ ] [标准 1]
- [ ] [标准 2]
- [ ] [标准 3]
## 考虑的替代方案
[考虑过的其他方法]
## 附加上下文
[模型、示例、参考资料]
## 任务描述
[需要完成的工作]
## 背景
[为什么需要这个?]
## 要求
- [ ] [要求 1]
- [ ] [要求 2]
## 完成定义
- [ ] [标准 1]
- [ ] [标准 2]
## 依赖关系
[相关的 Issues、阻碍因素]
用户: "创建一个错误 Issue - 使用 SSO 时登录页面崩溃"
AI 工作流程:
结果:
{
"owner": "myorg",
"repo": "webapp",
"title": "[Bug] 使用 SSO 时登录页面崩溃",
"body": "## 描述\n当用户尝试使用 SSO 进行身份验证时,登录页面崩溃。\n\n## 重现步骤\n1. 导航到登录页面\n2. 点击'使用 SSO 登录'\n3. 页面崩溃\n\n## 预期行为\nSSO 身份验证应完成并重定向到仪表板。\n\n## 实际行为\n页面无响应并显示错误。\n\n## 环境\n- 浏览器:[待填写]\n- 操作系统:[待填写]",
"labels": ["bug"]
}
用户: "创建一个深色模式的功能请求,优先级高"
AI 工作流程:
结果:
{
"owner": "myorg",
"repo": "webapp",
"title": "[Feature] 添加深色模式支持",
"body": "## 摘要\n添加深色模式主题选项,以改善用户体验和可访问性。\n\n## 动机\n- 减少低光环境下的眼睛疲劳\n- 用户越来越期望此功能\n- 提高可访问性\n\n## 建议的解决方案\n实现具有系统偏好检测的主题切换。\n\n## 验收标准\n- [ ] 设置中的切换开关\n- [ ] 持久化用户偏好\n- [ ] 默认尊重系统偏好\n- [ ] 所有 UI 组件支持两种主题",
"labels": ["enhancement", "high-priority"]
}
用户: "显示分配给我的所有未解决的错误"
AI 工作流程:
结果:
找到 3 个分配给你的未解决错误 Issues:
#142 - [Bug] 大文件上传时 API 超时
标签:bug, priority-medium
创建于:2024-01-15
#138 - [Bug] Safari 上仪表板图表未渲染
标签:bug, frontend
创建于:2024-01-12
#125 - [Bug] 电子邮件通知延迟 30 分钟以上
标签:bug, priority-high
创建于:2024-01-08
用户: "关闭 Issue #142 并添加评论说明已在 v2.4.0 中修复"
AI 工作流程:
使用 github-mcp(add_issue_comment):
{
"owner": "myorg",
"repo": "webapp",
"issue_number": 142,
"body": "已在 v2.4.0 中修复。关闭此 Issue。"
}
使用 github-mcp(update_issue):
{
"owner": "myorg",
"repo": "webapp",
"issue_number": 142,
"state": "closed"
}
在适用时使用这些标准标签:
| 标签 | 用于 |
|---|---|
bug | 某些功能无法正常工作 |
enhancement | 新功能或改进 |
documentation | 文档更新 |
good first issue | 适合新手的 Issues |
help wanted | 需要额外关注 |
question | 需要更多信息 |
wontfix | 不会处理 |
duplicate | 已存在 |
invalid | 不是有效的 Issue |
bug、enhancement)与区域标签(frontend、api)结合使用priority-high、priority-low)每周安装
0
仓库
GitHub 星标
2
首次出现
Jan 1, 1970
安全审计
Create, retrieve, update, and manage GitHub issues with comprehensive context integration and structured workflows.
Activate this skill when:
IMPORTANT: Always confirm owner/repo before creating or modifying issues
Always use descriptive issue titles and provide structured descriptions
Never create duplicate issues - search existing issues first when appropriate
| Tool | Purpose |
|---|---|
github-mcp(create_issue) | Create new issues |
github-mcp(update_issue) | Update existing issues |
github-mcp(get_issue) | Fetch issue details |
github-mcp(search_issues) | Search issues |
github-mcp(add_issue_comment) | Add comments |
github-mcp(list_issues) | List repository issues |
First, collect information about the current repository and context:
Before any operation, verify you have the correct repository identifier:
When creating issues, gather complete context:
Required Information:
owner: Repository owner (organization or user)repo: Repository nametitle: Clear, descriptive issue titleOptional but Recommended:
body: Detailed description in Markdown formatlabels: Array of label names (e.g., ["bug", "enhancement"])assignees: Array of usernames to assignmilestone: Milestone number (integer)Human-in-the-Loop - Ask for Context
Always ask to clarify issue details:
Question: "What type of issue is this?"
Options:
- "Bug report - something is not working correctly"
- "Feature request - new functionality needed"
- "Task - work item to complete"
- "Documentation - documentation needs update"
- "Other - let me describe it"
Title Guidelines:
[Bug], [Feature], [Docs][Bug] Login fails with SSO enabled[Feature] Add dark mode supportAdd unit tests for auth moduleIssue Description Template:
Structure descriptions for clarity:
## Summary
[Brief description of the issue]
## Current Behavior
[What is happening now - for bugs]
## Expected Behavior
[What should happen - for bugs]
## Steps to Reproduce
[For bugs - numbered steps]
## Acceptance Criteria
[For features/tasks - what defines "done"]
## Additional Context
[Screenshots, logs, related issues, etc.]
Use github-mcp(get_issue) with:
owner: Repository ownerrepo: Repository nameissue_number: Issue number (e.g., 42)This returns complete issue information including:
Use github-mcp(list_issues) with filters:
owner: Repository ownerrepo: Repository namestate: "open", "closed", or "all"labels: Filter by labels (comma-separated)assignee: Filter by assignee usernamesort: Sort by "created", "updated", "comments"direction: "asc" or "desc"per_page: Results per page (max 100)Use github-mcp(search_issues) for advanced queries:
When updating issues, only provide changed fields:
Use github-mcp(update_issue) with:
owner: Repository ownerrepo: Repository nameissue_number: Issue numberState Changes:
state: "open" - Open/reopen the issuestate: "closed" - Close the issueUse github-mcp(add_issue_comment) with:
owner: Repository ownerrepo: Repository nameissue_number: Issue numberbody: Comment content in MarkdownCRITICAL: Confirm with user before creating or modifying issues
After gathering all information, present a summary for user approval:
Creating issue in repository: owner/repo
Title: [title]
Description: [summary]
Labels: [labels]
Assignee: [assignee]
Proceed with issue creation?
## Description
The [component] is experiencing [issue] when [condition].
## Steps to Reproduce
1. [First step]
2. [Second step]
3. [See error]
## Expected Behavior
[What should happen]
## Actual Behavior
[What actually happens]
## Environment
- Application Version: [version]
## Screenshots/Logs
[Attach relevant files]
## Possible Solution
[Optional: if you have ideas]
## Summary
[One-line description of the feature]
## Motivation
[Why is this feature needed? What problem does it solve?]
## Proposed Solution
[How should this work?]
## Acceptance Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] [Criterion 3]
## Alternatives Considered
[Other approaches considered]
## Additional Context
[Mockups, examples, references]
## Task Description
[What needs to be done]
## Background
[Why is this needed?]
## Requirements
- [ ] [Requirement 1]
- [ ] [Requirement 2]
## Definition of Done
- [ ] [Criterion 1]
- [ ] [Criterion 2]
## Dependencies
[Related issues, blockers]
User: "Create a bug issue - the login page crashes when using SSO"
AI Workflow:
Result:
{
"owner": "myorg",
"repo": "webapp",
"title": "[Bug] Login page crashes when using SSO",
"body": "## Description\nThe login page crashes when users attempt to authenticate using SSO.\n\n## Steps to Reproduce\n1. Navigate to login page\n2. Click 'Sign in with SSO'\n3. Page crashes\n\n## Expected Behavior\nSSO authentication should complete and redirect to dashboard.\n\n## Actual Behavior\nPage becomes unresponsive and displays error.\n\n## Environment\n- Browser: [To be filled]\n- OS: [To be filled]",
"labels": ["bug"]
}
User: "Create a feature request for dark mode with high priority"
AI Workflow:
Result:
{
"owner": "myorg",
"repo": "webapp",
"title": "[Feature] Add dark mode support",
"body": "## Summary\nAdd dark mode theme option for improved user experience and accessibility.\n\n## Motivation\n- Reduces eye strain in low-light environments\n- Increasingly expected by users\n- Improves accessibility\n\n## Proposed Solution\nImplement theme toggle with system preference detection.\n\n## Acceptance Criteria\n- [ ] Toggle switch in settings\n- [ ] Persists user preference\n- [ ] Respects system preference by default\n- [ ] All UI components support both themes",
"labels": ["enhancement", "high-priority"]
}
User: "Show me all open bugs assigned to me"
AI Workflow:
Result:
Found 3 open bug issues assigned to you:
#142 - [Bug] API timeout on large file uploads
Labels: bug, priority-medium
Created: 2024-01-15
#138 - [Bug] Dashboard graphs not rendering on Safari
Labels: bug, frontend
Created: 2024-01-12
#125 - [Bug] Email notifications delayed by 30+ minutes
Labels: bug, priority-high
Created: 2024-01-08
User: "Close issue #142 and add a comment that it's fixed in v2.4.0"
AI Workflow:
Using github-mcp(add_issue_comment):
{
"owner": "myorg",
"repo": "webapp",
"issue_number": 142,
"body": "Fixed in v2.4.0. Closing this issue."
}
Using github-mcp(update_issue):
{
"owner": "myorg",
"repo": "webapp",
"issue_number": 142,
"state": "closed"
}
Use these standard labels when applicable:
| Label | Use For |
|---|---|
bug | Something isn't working |
enhancement | New feature or improvement |
documentation | Documentation updates |
good first issue | Good for newcomers |
help wanted | Extra attention needed |
question | Further information requested |
bug, enhancement) with area labels (frontend, api)priority-high, priority-low)Weekly Installs
0
Repository
GitHub Stars
2
First Seen
Jan 1, 1970
Security Audits
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
109,600 周安装
wontfix | Will not be addressed |
duplicate | Already exists |
invalid | Not a valid issue |