Skip to content

Feature: AsyncReview CLI output for Claude Code skill integration #1

@sng-asyncfunc

Description

@sng-asyncfunc

Problem

AsyncReview gives great results, but copying findings manually every time is tedious. I want to:

  • Run a review from the command line and get clean output
  • Pass in a GitHub issue/PR URL directly
  • Use the output in Claude Code without copy-pasting

Proposed Solution

1. Accept GitHub Issue/PR URLs Directly

# Review a specific issue
cr review --url https://github.com/org/repo/issues/42 -q "What's the root cause?"

# Review a PR
cr review --url https://github.com/org/repo/pull/123 -q "Any security concerns?"

2. Clean Output Formats

# JSON for scripts
cr review --url <issue-url> -q "Summarize" --output json

# Markdown for docs/skills
cr review --url <issue-url> -q "Summarize" --output markdown

# Plain text (default)
cr review --url <issue-url> -q "Summarize"

3. Quiet Mode

# No spinners or progress bars, just the result
cr review --url <issue-url> -q "What's wrong?" --quiet

4. Model Selection

# Use Gemini 3.0 Pro Preview
cr review --url <issue-url> -q "Deep review" --model gemini-3.0-pro-preview

Example Usage

# Quick issue analysis
cr review --url https://github.com/AsyncFuncAI/AsyncReview/issues/1 \
  -q "What would be needed to implement this?" \
  --model gemini-3.0-pro-preview \
  --quiet \
  --output markdown

Output:

## Implementation Summary

To implement this feature, you would need to:

1. Add URL parsing to extract owner/repo/number from GitHub URLs
2. Fetch issue/PR content via GitHub API
3. Add `--output`, `--quiet`, and `--model` flags to the CLI

### Files to Modify
- `cr/cli.py` - Add new arguments
- `cr/github.py` - Add URL fetching logic

---
*AsyncReview • gemini-3.0-pro-preview*

Claude Code Skill Example

Once implemented, this enables a simple skill:

cr review --url "$URL" -q "$QUESTION" --quiet --output markdown

No more copy-pasting results between tools.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions