task icon Task

Create GitHub Issue

Create a new issue in a GitHub repository

Requirements
Repository (owner/repo), issue title, issue body/description, optional labels
2

Confirm the issue details with the user:

  • Repository: owner/repo
  • Title: clear, concise summary
  • Body: detailed description (markdown supported)
  • Labels: suggest appropriate labels based on content

If any required info is missing, ask for it.

4

Confirm the issue was created successfully.
Show the issue number and direct link to GitHub.
Ask if they want to add more details or create another issue.

                    To run this task you must have the following required information:

> Repository (owner/repo), issue title, issue body/description, optional labels

If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.

---

You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple CONSECUTIVE read steps in a row, read them all at once (in parallel). Otherwise, do not read a file until you reach that step.

Add all steps to your todo list now and begin executing.

## Steps

1. [Read GitHub Issues Guide]: Read the documentation in: `skills/sauna/[skill_id]/references/github.issues.guide.md` (Label conventions and formatting)

2. Confirm the issue details with the user:
- Repository: owner/repo
- Title: clear, concise summary
- Body: detailed description (markdown supported)
- Labels: suggest appropriate labels based on content

If any required info is missing, ask for it.


3. [Gather Arguments: Create GitHub Issue] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `owner`: owner from requirements
- `repo`: repo from requirements
- `title`: issue title
- `body`: issue body
- `labels`: comma-separated labels

4. [Run Code: Create GitHub Issue]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/github.issues.create/preview,
    "args": [
      "owner",
      "repo",
      "title",
      "body",
      "labels"
    ]
  },
  "packages": null
}
```

5. Confirm the issue was created successfully.
Show the issue number and direct link to GitHub.
Ask if they want to add more details or create another issue.