claude-suggestion

Search Claude Code GitHub issues for duplicates, then auto-fill a new issue form with the suggestion. User reviews and submits manually.

Claude Suggestion

File a feature request or enhancement suggestion on the Claude Code GitHub repository.

Arguments

The suggestion text is passed in $ARGUMENTS. Example:

/claude-suggestion add a way to collapse long tool output blocks

If no arguments are provided, ask the user what their suggestion is before proceeding.

Instructions

You will use browser automation tools to do this. Before calling any mcp__claude-in-chrome__* tool, load it first using ToolSearch with select:mcp__claude-in-chrome__<tool_name>.

Step 1 — Get browser tab context

Load and call mcp__claude-in-chrome__tabs_context_mcp to see current tabs.

Step 2 — Search for duplicates

Create a new tab and navigate to the Claude Code issues search on GitHub. Build a search URL using the key terms from the suggestion:

https://github.com/anthropics/claude-code/issues?q=<url-encoded-keywords>&type=issues

Extract 2–4 meaningful keywords from the suggestion (skip stop words like "a", "the", "way to"). Load the page and read it to check for existing issues that match.

  • If a strong duplicate is found: Report it to the user — show the issue title and URL — and stop. Do not open the new issue form.
  • If no strong duplicate: Proceed to Step 3.

Step 3 — Open the new issue form

Navigate the tab to:

https://github.com/anthropics/claude-code/issues/new

If GitHub redirects to a template chooser page, click "Open a blank issue" or the most appropriate template (Feature Request if available).

Step 4 — Fill in the form

Use mcp__claude-in-chrome__find and mcp__claude-in-chrome__form_input to fill in:

  • Title: A concise version of the suggestion (one sentence, no trailing period)

  • Body: A well-structured markdown description with these sections:

    ## Summary
    <one paragraph describing the feature>
    
    ## Motivation / Use Case
    <why this would be useful>
    
    ## Suggested Behavior
    <what you'd like to happen>
    

    Derive all content from the user's suggestion text in $ARGUMENTS. Do not invent details — keep it faithful to what the user said.

Step 5 — Stop and report

Do NOT submit the form. Tell the user:

  • That the form has been filled in
  • The issue title you used
  • Whether any similar issues were found during the search
  • To review the form in Chrome and click Submit new issue when ready