GitHub CLI extension - GitHub tools for LLMs
English | νκ΅μ΄
@pleaseai/gh-please is a powerful GitHub CLI extension that enhances issue and PR management.
- gh CLI Passthrough: All GitHub CLI commands available through gh-please with optional TOON/JSON format
- Issue Management: Issue types, sub-issues, dependencies, and worktree-based development workflow
- PR Management: Review comment replies, thread resolution, comment editing
- LLM-Friendly Output: JSON, TOON (58.9% token reduction) format support across all commands
- Multilingual: Automatic Korean/English detection
- Plugin System: Extensible architecture
- π gh CLI Passthrough - Access all 100+ GitHub CLI commands through gh-please
- β¨ TOON Format Support - 58.9% token reduction for LLM-friendly output across all list commands
- β¨ Automatic Format Conversion - Convert any gh command output to TOON or JSON format
- β¨ ID Converter Utility - Support both Database ID and Node ID for comment operations
- β¨ PR Review Thread List - Display review threads with Node IDs and copy-ready resolve commands
- β¨ E2E Testing - Comprehensive end-to-end test coverage (26 tests, 100% pass rate)
- β¨ Comment Management - List and edit Issue/PR comments with flexible ID formats
gh extension install pleaseai/gh-please# Issue management
gh please issue create --title "Fix bug" --type Bug
gh please issue sub-issue create 100 --title "Sub-task"
gh please issue dependency add 200 --blocked-by 199
gh please issue develop 123 # Auto-create worktree
# Issue types
gh please issue type list
gh please issue type set 123 --type Feature
gh please issue type remove 123
# PR management
gh please pr review reply 1234567890 -b "Fixed!" # Database ID
gh please pr review reply PRRC_kwDOABC123 -b "Fixed!" # Node ID also supported
gh please pr review thread list 456 # List threads with Node IDs
gh please pr review thread list 456 --unresolved-only
gh please pr review thread resolve 456 --all
# Comment management
gh please issue comment list 123 --format json
gh please issue comment edit 987654321 --body "Updated" # Requires --issue option
gh please pr review comment edit 987654321 --body "Updated" --pr 456gh-please automatically supports all GitHub CLI commands through passthrough:
# Any gh command works through gh-please
gh please repo view
gh please workflow list
gh please release view v1.0.0
# Convert output to TOON format (58.9% token reduction)
gh please issue list --format toon
gh please issue view 123 --format toon # View commands supported!
gh please pr view 456 --format toon
gh please pr checks 123 --format toon
gh please workflow list --format toon
gh please repo view --format toon
# Get JSON for automation
gh please pr list --format json
gh please issue view 123 --format json # Auto-injects required fields
gh please repo view --format jsonHow it works:
- Unregistered commands automatically forward to gh CLI
--format toonconverts JSON output to TOON format (58.9% token savings)--format jsonpreserves JSON output- No format flag β preserve gh CLI's original table output
- Works with all gh commands that support
--jsonflag - View commands: Auto-injects required fields (e.g.,
issue view,pr view,repo view)
Benefits:
- β Complete gh CLI coverage - Access all 100+ gh commands
- β LLM-friendly - TOON format optimized for AI/automation
- β Automatic field injection - View commands work seamlessly
- β Automatic updates - New gh CLI features work immediately
- β Zero learning curve - Use familiar gh commands
# Create isolated workspace for issue
gh please issue develop 123
# β Creates ~/.please/worktrees/repo/feat-123-feature
# Cleanup after work
gh please issue cleanup# Create issue with type
gh please issue create --title "Login bug" --type Bug
# List available issue types
gh please issue type list
gh please issue type list --json name,color
# Set/update issue type
gh please issue type set 123 --type Feature
# Remove issue type
gh please issue type remove 123# Hierarchical issue structure
gh please issue sub-issue create 100 --title "Task 1"
gh please issue sub-issue list 100 --format markdown# Respond to feedback (supports both Database ID and Node ID)
gh please pr review reply 1234567890 -b "Fixed in commit abc123" # Database ID
gh please pr review reply PRRC_kwDOABC123 -b "Fixed!" # Node ID
# Edit comments with flexible ID support
gh please pr review comment edit 1234567890 --body "Updated" --pr 456
gh please issue comment edit 987654321 --body "Updated" --issue 123
# Resolve all threads
gh please pr review thread resolve 456 --all# Human-readable format (default)
gh please issue sub-issue list 123
# TOON format for LLM processing (58.9% token reduction)
gh please issue sub-issue list 123 --format toon
gh please pr review thread list 456 --format toon
# JSON for scripts and automation
gh please issue sub-issue list 123 --format json
gh please pr list --state open --format json
# Works with passthrough commands too
gh please workflow list --format toon
gh please repo view --format json- gh CLI Passthrough - Access all GitHub CLI commands with TOON/JSON format
- Issue Management - Sub-issues, dependencies, development workflow
- PR Management - Review replies, thread resolution
- LLM-Friendly Output - JSON, TOON format for automation
- Plugin System - Extension capabilities
All commands support the --repo option:
# Current directory (default)
gh please issue sub-issue list 123
# Specify different repository
gh please issue sub-issue list 123 --repo owner/repo
gh please pr review reply <id> -b "text" -R owner/repoClaude Code plugin enables AI to automatically suggest appropriate commands.
# Internal marketplace
claude plugin install pleaseai-github
# Local development
ln -s $(pwd)/.claude-plugin ~/.claude/plugins/pleaseai-githubUser: "Create a sub-issue for issue #123"
Claude: gh please issue sub-issue create 123 --title "..."
User: "Reply to PR review comment"
Claude: gh please pr review reply <comment-id> --body "..."
See .claude-plugin/README.md for details.
Modular plugin architecture since v0.3.0.
# Plugin management
gh please plugin list
gh please plugin install <name>
gh please plugin uninstall <name>Available Plugins:
- @pleaseai/gh-please-ai (Premium) - AI-powered code review and issue automation
Plugin Guide β | Plugin Development β
- GitHub CLI (
gh) - Version 2.0 or higher - Bun - JavaScript runtime
git clone https://github.com/pleaseai/gh-please.git
cd gh-please
bun install
gh extension install .# Build
bun run build
# Production build (optimized executable)
bun run build:prod
# Type checking
bun run type-check
# Lint (auto-fix)
bun run lint:fix
# Test
bun test
bun run test:unit # Unit tests only
bun run test:integration # Integration tests
bun run test:e2e # End-to-end tests (requires GITHUB_TOKEN)
bun run test:coverage # With coverageRequired before commit:
bun run lint:fix && bun run type-check && bun test- docs/ - Docus-based documentation site (English + Korean)
/en- English documentation/ko- Korean documentation- Run locally:
cd docs && bun run dev
- docs-dev/ - Internal development documentation
- Development Standards - Coding rules and requirements
- Commit Convention - Conventional Commits
- Testing Guide - Testing best practices
- TDD Workflow - Red-Green-Refactor
- ADR - Architecture Decision Records
- Plugin Development - Plugin development guide
- Release Process - Release procedures
Contributions are welcome! Please refer to the development documentation:
MIT