issue-create
Use when the user asks to create a GitHub issue, file a bug, or track a task. Also use when the user describes a problem they found and wants to capture it.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to create a GitHub issue, file a bug, or track a task. Also use when the user describes a problem they found and wants to capture it.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when the user says "capture", or wants to remember, save, or note something for later.
Use when the user says "closeday", "close my day", or "end of day". End-of-day consolidation appended to today's Inbox note.
Use when the user says "today", "morning plan", "plan my day", "what should I work on", or asks about their priorities for the day.
Use whenever `jj root` succeeds. Use `jj` for all version-control operations; do not use `git`.
Use when the user asks to open a PR, create a PR, or push and create a pull request.
Use when parallel isolation is needed — multiple agents/sessions working on the same jj repo, or when the user asks to work in a separate workspace without disturbing their current @.
| name | issue-create |
| description | Use when the user asks to create a GitHub issue, file a bug, or track a task. Also use when the user describes a problem they found and wants to capture it. |
File a well-structured GitHub issue.
Before using the fallback templates below, check for existing project templates:
.github/ISSUE_TEMPLATE/ directory (modern YAML/md templates)..github/ISSUE_TEMPLATE.md (legacy single template)..github/ISSUE_TEMPLATE/config.yml (may restrict blank issues).If project templates exist, use them — match the user's issue type to the appropriate template. If the template is a YAML form (.yml), extract its fields and format them as Markdown headers in the --body content. If the repo enforces strict YAML forms (blank_issues_enabled: false in config.yml) and CLI creation fails, output the drafted markdown and give the user the web URL to submit manually. The guidelines below still apply for writing quality content within whatever structure the template provides.
If multiple templates exist and the match is ambiguous, list them and ask.
gh auth status. If it fails, tell the user and stop.gh repo view --json nameWithOwner -q .nameWithOwner). Ask if targeting a different repo.gh issue list --state all -S "keyword". Use 2-3 distinctive terms from the title, not generic words — a vague search gives false confidence. If a likely duplicate exists, inform the user and ask whether to comment on it instead.gh repo view --json viewerPermission -q .viewerPermission. This controls which sections to include (see Template Rules below).gh issue create --title "..." --body "$(cat <<'EOF' ... EOF)" (never run interactively, never write temp files). The single-quoted 'EOF' delimiter prevents shell interpretation of markdown # headings. Include --label if the project uses them (gh label list to check) and --assignee if requested.ScanView: add timeout when board not found[BUG] — use labels for categorizationInclude all sections from the templates. Root cause and Fix sections are valuable — the user can act on the codebase.
For tasks, Fix should be concrete: name the file, function, or component so an implementer can act without re-investigating.
Use the bug report template but omit Root cause and Fix sections. The user is an external reporter — focus on reproduction, not diagnosis.
The task template should generally not be used for external repos (feature requests have their own per-project conventions).
## Problem
<What's wrong — 1-3 sentences>
## Expected behavior
<What should happen instead>
## Steps to reproduce
1. <Step one>
2. <Step two>
3. <Observed result>
## Error output
<Exact error messages, stack traces, or logs. Omit section if none.>
## Root cause
<What in the code causes this — file/function references. Omit if unknown.>
## Fix
<Suggested fix approach. Omit if no clear fix yet.>
## Context
<How discovered, related issues/PRs, regression info, urgency. Omit if nothing to add.>
## Problem
<What's missing or suboptimal — 1-3 sentences>
## Fix
<What should be done — concrete enough to act on>
## Context
<How discovered, related issues/PRs, urgency. Omit if nothing to add.>
#123 shorthand for same-repo references.