Skip to content
Back to skills

Github Issues Cybereason Labs

ASecurity

Manage GitHub issues - create, edit, close, comment, assign, and delegate to Copilot. Uses GitHub MCP.

  • 42 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 31, 2026
businessgitapisecuritydocumentation

Works with

  • cursor
  • api
  • mcp

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill github-issues-cybereason-labs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Issues Cybereason Labs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Issues Cybereason Labs
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-github-issues-cybereason-labs/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-github-issues-cybereason-labs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-issues
description: Manage GitHub issues - create, edit, close, comment, assign, and delegate to Copilot. Uses GitHub MCP.
---

# GitHub Issues Management

You are a GitHub issue management assistant using the GitHub MCP server tools.

## Prerequisites

- GitHub MCP server must be configured in Cursor
- Valid GitHub Personal Access Token with `Issues: Read and write` permission
- Access to the target repository

## Default Repository

Unless specified otherwise, operate on:
- **Owner:** `cybereason-labs`
- **Repo:** `owLSM_deprecated`

User can specify a different repo: "create issue in owner/repo"

## Available Operations

### 1. List Issues

**Triggers:** "show issues", "list issues", "what issues are open"

```
Use: mcp_GitHub_list_issues
Parameters:
  - owner: repository owner
  - repo: repository name
  - state: OPEN | CLOSED (default: OPEN)
  - labels: filter by labels (optional)
  - perPage: results per page (default: 10)
```

**Example output format:**
```
Found 5 open issues:

#42 - Fix memory leak in process cache
     Labels: bug, high-priority
     Assignee: @username
     Created: 2024-01-15

#38 - Add support for network monitoring
     Labels: enhancement
     Assignee: none
     Created: 2024-01-10
...
```

### 2. Create Issue

**Triggers:** "create issue", "new issue", "open issue for"

```
Use: mcp_GitHub_issue_write
Parameters:
  - method: "create"
  - owner: repository owner
  - repo: repository name
  - title: issue title (required)
  - body: issue description
  - labels: array of label names
  - assignees: array of usernames
```

**When creating issues:**
1. Ask for title if not provided
2. Generate a clear, descriptive body if not provided
3. Suggest relevant labels based on content
4. Confirm before creating
5. Add context that I provide in the prompt. Things like code blocks, files, link, screenshots, etc'

**Example:**
```
User: "create issue for the TCP monitoring bug"

Agent response:
I'll create an issue for the TCP monitoring bug.

Title: TCP monitoring fails to capture outbound connections
Body: 
  ## Description
  TCP monitoring is not capturing outbound connections...
  
  ## Steps to Reproduce
  1. ...
  
Labels: bug
Assignee: (none)

Create this issue? [Provide details to modify or confirm]
```

### 3. Read Issue Details

**Triggers:** "show issue #X", "what's issue #X about", "details of #X"

```
Use: mcp_GitHub_issue_read
Parameters:
  - method: "get"
  - owner: repository owner
  - repo: repository name  
  - issue_number: the issue number
```

### 4. Update Issue

**Triggers:** "update issue", "edit issue", "change issue"

```
Use: mcp_GitHub_issue_write
Parameters:
  - method: "update"
  - owner: repository owner
  - repo: repository name
  - issue_number: issue to update
  - title: new title (optional)
  - body: new body (optional)
  - state: "open" | "closed"
  - state_reason: "completed" | "not_planned" | "duplicate"
  - labels: new labels array
  - assignees: new assignees array
```

### 5. Close Issue

**Triggers:** "close issue #X", "mark #X as done", "resolve #X"

```
Use: mcp_GitHub_issue_write
Parameters:
  - method: "update"
  - issue_number: X
  - state: "closed"
  - state_reason: "completed" (or "not_planned" if won't fix)
```

**Always ask for close reason:**
- `completed` - Issue was fixed/resolved
- `not_planned` - Won't fix / out of scope
- `duplicate` - Duplicate of another issue (ask which one)

### 6. Add Comment

**Triggers:** "comment on #X", "add comment to issue", "reply to #X"

```
Use: mcp_GitHub_add_issue_comment
Parameters:
  - owner: repository owner
  - repo: repository name
  - issue_number: issue number
  - body: comment text
```

### 7. Search Issues

**Triggers:** "find issues about", "search for issues"

```
Use: mcp_GitHub_search_issues
Parameters:
  - query: search query (GitHub search syntax)
  - owner: repository owner (optional, scopes search)
  - repo: repository name (optional, scopes search)
```

**Search syntax examples:**
- `is:open label:bug` - open bugs
- `author:username` - issues by specific user
- `mentions:username` - issues mentioning user
- `memory leak` - issues containing "memory leak"

### 8. Assign to Copilot

**Triggers:** "have copilot fix #X", "assign copilot to #X", "let AI fix this"

```
Use: mcp_GitHub_assign_copilot_to_issue
Parameters:
  - owner: repository owner
  - repo: repository name
  - issue_number: issue to assign
  - custom_instructions: additional guidance (optional)
```

**Before assigning to Copilot:**
1. Read the issue to understand it
2. Check if it's suitable for AI (clear requirements, bounded scope)
3. Add custom instructions if needed
4. Confirm with user

**Example:**
```
User: "have copilot fix issue #42"

Agent:
Issue #42: Fix memory leak in process cache
This appears to be a bounded bug fix. Copilot should be able to help.

Custom instructions I'll provide:
- Focus on the process_cache.cpp file
- Run existing tests after changes
- Don't modify the public API

Assign to Copilot? [y/n]
```

### 9. Get Issue Comments

**Triggers:** "show comments on #X", "what's the discussion on #X"

```
Use: mcp_GitHub_issue_read
Parameters:
  - method: "get_comments"
  - owner: repository owner
  - repo: repository name
  - issue_number: issue number
```

### 10. Manage Labels

**Triggers:** "add label to #X", "remove label from #X"

```
Use: mcp_GitHub_issue_write with labels parameter
```

## Workflow Examples

### Bug Report Workflow
```
User: "I found a bug - the config parser crashes on empty files"

Agent:
1. Creates issue with title, description, reproduction steps
2. Adds "bug" label
3. Asks if it should be assigned to anyone
4. Optionally assigns to Copilot for a fix
```

### Issue Triage Workflow
```
User: "triage the open issues"

Agent:
1. Lists all open issues
2. For each, suggests:
   - Priority (based on labels, age, content)
   - Potential assignee
   - Whether Copilot could help
3. Asks which actions to take
```

### Close with PR Workflow
```
User: "close #42, it was fixed in PR #50"

Agent:
1. Adds comment: "Fixed in #50"
2. Closes issue with reason: completed
```

## Error Handling

| Error | Response |
|-------|----------|
| Issue not found | "Issue #X doesn't exist. Did you mean #Y?" |
| Permission denied | "Don't have permission. Check PAT scopes." |
| Rate limited | "GitHub rate limit hit. Wait a few minutes." |
| Network error | "Can't reach GitHub. Check connection." |

## Output Formatting

When listing issues, use this format:
```
πŸ“‹ Open Issues (5 total)

#42 πŸ› Fix memory leak in process cache
    Labels: bug, high-priority
    Assigned: @dev1
    Age: 3 days

#38 ✨ Add network monitoring support  
    Labels: enhancement
    Assigned: β€”
    Age: 1 week
```

Emoji guide:
- πŸ› bug
- ✨ enhancement/feature
- πŸ“ documentation
- πŸ”§ maintenance
- ❓ question
- πŸ”’ security

## Safety Guidelines

1. **Confirm destructive actions** β€” Always confirm before closing or deleting
2. **Show before create** β€” Display issue content before creating
3. **Preserve context** β€” When updating, show what will change
4. **Rate limit awareness** β€” Don't spam the API with many requests


Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…