Create GitHub issue with automated research (--quick for fast mode)
Create well-structured GitHub issues with automated research and duplicate detection. Use --quick mode for 3-5 minute fast issues, or default for thorough 8-12 minute analysis with blocking duplicate checks.
/plugin marketplace add akaszubski/autonomous-dev/plugin install autonomous-dev@autonomous-devAutomate GitHub issue creation with research-backed, well-structured content.
| Mode | Time | Description |
|---|---|---|
| Default (thorough) | 8-12 min | Full analysis, blocking duplicate check |
| --quick | 3-5 min | Async scan, smart sections, no prompts |
CRITICAL: Follow these steps in order. Each checkpoint validates before proceeding.
ARGUMENTS: {{ARGUMENTS}}
Parse the ARGUMENTS to detect mode flags:
--quick Fast mode (async scan, smart sections, no prompts)
--thorough (Deprecated - silently accepted, now default behavior)
Default mode: Thorough mode with full analysis, blocking duplicate check, all sections.
Extract the feature request (everything except flags).
Launch TWO agents in parallel using the Task tool:
Agent 1: researcher (subagent_type="researcher")
Agent 2: issue-scanner (subagent_type="Explore", run_in_background=true)
gh issue list --state all --limit 100 --json number,title,body,stateCRITICAL: Use a single message with TWO Task tool calls to run in parallel.
Verify the researcher agent completed successfully:
If research failed, stop and report error. Do NOT proceed to STEP 2.
Note: Issue scan runs in background - results retrieved in STEP 3.
Use the Task tool to invoke the issue-creator agent (subagent_type="issue-creator") with:
Deep Thinking Template (issue-creator should follow - GitHub Issue #118):
ALWAYS include:
Summary: 1-2 sentences describing the feature/fix
What Does NOT Work (negative requirements):
Scenarios (update vs fresh install):
Implementation Approach: Brief technical plan
Test Scenarios (multiple paths, not just happy path):
Acceptance Criteria (categorized):
Include IF relevant (detect from research):
NEVER include (remove these filler sections):
--quick mode: Include only essential sections (Summary, Implementation, Test Scenarios, Acceptance Criteria).
Default mode: Include ALL sections with full detail.
Verify the issue-creator agent completed successfully:
If issue creation failed, stop and report error. Do NOT proceed to STEP 3.
3A: Retrieve async scan results
Use TaskOutput tool to retrieve the issue-scanner results (non-blocking, timeout 5s).
If scan found results:
Default mode: If duplicates found, prompt user before creating:
Potential duplicate detected:
#45: "Implement JWT authentication" (92% similar)
Options:
1. Create anyway (may be intentional)
2. Skip and link to existing issue
3. Show me the existing issue first
Reply with option number.
--quick mode: No prompts. Create issue, show info after.
3B: Create GitHub issue via gh CLI
Extract the issue title and body from the issue-creator agent output.
Use the Bash tool to execute:
gh issue create --title "TITLE_HERE" --body "BODY_HERE"
Security: Title and body are validated by issue-creator agent. If gh CLI fails, provide manual fallback.
Verify the gh CLI command succeeded:
4A: Display related issues (informational)
If the async scan found related/duplicate issues, display them AFTER creation:
Issue #123 created successfully!
https://github.com/owner/repo/issues/123
Related issues found (consider linking):
#12: "Add user authentication" (65% similar)
#45: "OAuth2 integration" (58% similar)
Tip: Link related issues with:
gh issue edit 123 --body "Related: #12, #45"
4B: Cache research for /auto-implement reuse
Save research findings to .claude/cache/research_<issue_number>.json:
{
"issue_number": 123,
"feature": "JWT authentication",
"research": {
"patterns": [...],
"best_practices": [...],
"security_considerations": [...]
},
"created_at": "2025-12-13T10:30:00Z",
"expires_at": "2025-12-14T10:30:00Z"
}
This cache is used by /auto-implement to skip duplicate research.
STOP: Before proceeding, the user MUST validate and review the created issue.
Display the following message:
Issue #123 created successfully!
https://github.com/owner/repo/issues/123
**MANDATORY NEXT STEP**: Review and validate the issue before implementation
Please review the issue content at the URL above and confirm:
- [ ] Summary is accurate
- [ ] Implementation approach is correct
- [ ] Test scenarios cover all paths
- [ ] Acceptance criteria are complete
Once you've reviewed the issue, you can proceed with implementation:
/auto-implement "#123"
This workflow ensures:
- ✅ Issue is validated before work begins
- ✅ Research is cached and reused (saves 2-5 min)
- ✅ Full traceability from issue to implementation
**Estimated implementation time**: 15-25 minutes
Wait for confirmation before proceeding. User must confirm they have reviewed the issue.
Why This Is Mandatory:
DO NOT automatically proceed to /auto-implement without explicit user confirmation.
User must approve before continuing. Require confirmation that the issue has been validated.
| Step | Time | Description |
|---|---|---|
| Research + Scan | 2-3 min | Parallel: patterns + issue scan |
| Generate Issue | 5-8 min | All sections with full detail |
| Duplicate Check | 1-2 min | Blocking user prompt (if duplicates found) |
| Create + Info | 15-30 sec | gh CLI + related issues |
| Total | 8-12 min | Default mode (thorough) |
| Total (--quick) | 3-5 min | Fast mode (async scan only) |
# Default mode (thorough, all sections, blocking duplicate check)
/create-issue Add JWT authentication for API endpoints
# Quick mode (fast, smart sections, no prompts)
/create-issue Add JWT authentication --quick
# Bug report (thorough by default)
/create-issue Fix memory leak in background job processor
Required:
gh auth loginError: gh CLI is not installed
Install gh CLI:
macOS: brew install gh
Linux: See https://cli.github.com/
Windows: Download from https://cli.github.com/
After installing, authenticate:
gh auth login
Error: gh CLI is not authenticated
Run: gh auth login
Potential duplicate detected:
#45: "Implement JWT authentication" (92% similar)
Options:
1. Create anyway
2. Skip and link to existing
3. Show existing issue
Reply with option number.
Note: Use --quick flag to skip this prompt and create immediately.
When /auto-implement "#123" runs on an issue created by /create-issue:
.claude/cache/research_123.jsonThis integration saves 2-5 minutes when issues are implemented soon after creation.
Agents Used:
Tools Used:
Security:
Performance:
Part of: Core workflow commands
Related: /auto-implement, /align
Enhanced in: v3.41.0 (GitHub Issues #118, #122)