+
Skip to content

Conversation

Skogix
Copy link
Contributor

@Skogix Skogix commented Oct 9, 2025

Adds a new claude-quick command that intelligently decides whether to create an issue or PR based on the current git state.

Changes

  • Add scripts/claude-quick with intelligent git state detection
  • Add 'quick' command to Argcfile.sh
  • Update scripts/README.md with documentation

Closes #12


Generated with Claude Code

Adds a new claude-quick command that intelligently decides whether to
create an issue or PR based on the current git state:
- Unstaged/uncommitted changes → creates issue
- Clean branch (not main/master) → creates PR
- Clean branch (on main/master) → creates issue

This makes it easier to quickly trigger Claude without manually
deciding between issue and PR creation.

Changes:
- Add scripts/claude-quick with intelligent git state detection
- Add 'quick' command to Argcfile.sh
- Update scripts/README.md with claude-quick documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Skogix <Skogix@users.noreply.github.com>
@Copilot Copilot AI review requested due to automatic review settings October 9, 2025 10:04
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new claude-quick command that intelligently decides whether to create an issue or PR based on the current git repository state. The tool automatically chooses the appropriate action: creating issues for uncommitted work and PRs for clean feature branches.

  • Adds intelligent git state detection to automatically choose between issue/PR creation
  • Integrates the new command into the existing CLI interface via Argcfile.sh
  • Provides comprehensive documentation explaining the decision logic and usage patterns

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
scripts/claude-quick New executable script with git state detection and conditional workflow routing
scripts/README.md Documentation for the new claude-quick command with usage examples
Argcfile.sh Integration of quick command into the CLI interface

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Skogix Skogix merged commit da7e54f into master Oct 9, 2025
1 check passed
@Skogix Skogix deleted the claude/issue-12-20251009-0913 branch October 9, 2025 10:07
@Skogix Skogix restored the claude/issue-12-20251009-0913 branch October 9, 2025 10:21
@Skogix Skogix deleted the claude/issue-12-20251009-0913 branch October 9, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add claude-quick script - Intelligent wrapper that creates issue OR PR based on current git state (unstaged changes = issue, clean branch = PR)

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载