بنقرة واحدة
بنقرة واحدة
Review protocol code for chain halt risks, non-determinism, and onchain behavior bugs
Improve code readability without altering functionality using idiomatic best practices
Remove dead code and duplication pragmatically with a 5-phase systematic approach
Review changes for test gaps, simplification, naming consistency, reuse opportunities, and TODO quality
Simplify documentation for clarity and scannability with approval-gated edits
Generate and edit Mermaid flowcharts and sequence diagrams with syntax validation and style guidance
| name | cmd-gh-issue |
| description | Create structured GitHub issues from conversation context using gh CLI |
| disable-model-invocation | true |
Create a well-structured GitHub issue using gh CLI, populated with context from the current conversation.
Determine the repo -- confirm you're inside a git repo with a GitHub remote:
gh repo view --json nameWithOwner -q '.nameWithOwner'
If this fails, ask the user which repo to file against.
Synthesize the conversation into a GitHub issue body following the structure below.
Create the issue using gh:
gh issue create --title "<concise title>" --body "$(cat <<'ISSUE_EOF'
<issue body here>
ISSUE_EOF
)"
Report back with the issue URL.
Build the issue body in this exact order:
Open with a short (2-4 bullet) summary answering:
This section should stand alone -- a reader who stops here should understand the ask.
This is the bulk of the issue. Capture everything relevant from our conversation:
Formatting rules for this section:
## Headings and ### Subheadings to organize by topic syntax)<details><summary>...</summary>...</details> to collapse verbose content (logs, full configs, large code blocks) so the issue stays scannableEnd with the plan we've aligned on (even if rough). Frame it for a future agent or developer picking this up cold:
[ ])## Implementation Plan\n\n_TBD -- no plan agreed on yet._--label flags[ ]