Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Create Issue?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mayankmankhand-create-issue)
---
name: create-issue
description: "Create Issue"
---
# Create Issue
**Use this when:** Capturing a short bug, feature, or improvement on GitHub or GitLab - the WHAT, not the HOW.
**Don't use this when:** You need to plan implementation details (use `/explore` and `/create-plan`).
Hey! I'm ready to help you capture this issue. What's on your mind? Just give me:
- **What's the issue/feature** (1-2 sentences)
- **Current vs desired behavior** (if it's a bug)
I'll handle the rest.
---
## Rules
<rules>
1. **Ask the questions below before creating the issue, skipping any the user already answered** - the answers set the labels and fill the body.
2. **Keep issues short** - about 10-15 lines in the body format below, so `/explore` starts from the problem rather than a solution.
3. **Capture the what, not the how** - no code, file paths, or technical approach; `/explore` and `/create-plan` decide those later with the codebase in front of them.
</rules>
## Questions to Ask
**Project questions and labels** (from `.claude/toolkit/issue-labels.md`). Its questions, when it lists any, replace the list below; its labels, when it lists any, replace the Labels list, and then only labels it names are applied. A note that the command printed nothing, or a file with no questions or labels in it, means the toolkit's lists apply.
If `.claude/toolkit/issue-labels.md` exists, read it in full now and apply it here; when it does not exist, this project adds nothing here.
The toolkit's questions, when the project sets none:
- Bug, feature, or improvement?
- Priority? (high/medium/low)
- Any context I should know?
## After Getting Answers
Detect the host first, then create the issue with the matching CLI. These two steps run together: never run the create command without doing the detection above it.
Read `.agents/tk/skills/shared/host-cli.md` in full now and follow it as part of this file.
Before writing the body, load the writing guide (`.agents/skills/writing/SKILL.md`) and follow its section for issues, pull requests and release notes; the Issue Body Format below still sets the sections.
Then run the **"Create issue" row** for the detected host, from the project directory, following the quoting rule under the invocation table: the title and labels in single quotes (each `'` written as `'\''`), the body in a `mktemp -d` file on both hosts (inline on GitLab only through the table's `Unknown flag` fallback), and never double quotes or `$(...)`. Take the command from that row rather than from memory: the flag carrying the issue text is named differently on each host, double-quoted text has its backticks run as commands, and a command substitution stops for an approval prompt.
## Issue Body Format (Keep It Short)
```
## TL;DR
[1-2 sentences max]
## Current State
[What happens now - 1-2 sentences]
## Desired State
[What should happen - 1-2 sentences]
```
## Labels
When the project's file above lists labels, apply only those, never a label it does not name. Otherwise use the toolkit's usual set:
- `bug`, `feature`, `improvement`
- `priority-high`, `priority-medium`, `priority-low`
- `setup`
The hosts differ on a label the repository lacks. GitHub refuses it and the create command fails: drop it, run the command again, and say which you dropped. GitLab creates the label without a word, so on GitLab a label outside the list adds a new label to the project.
## REMEMBER
- Ask questions first
- Keep it short
- Run the "Create issue" row for the detected host (`gh issue create` or `glab issue create`) to actually create the issue: single-quoted title, body file on both hosts, never `$(...)`
- No implementation details - that's for /explore