agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Load comprehensive GitHub CLI context with dynamic repository analysis and workflow optimization
How it fires
How this command gets triggered: by you, by Claude, or both.
/context-load-gh-cliContext preview
What this command does when you run it.
Load comprehensive GitHub CLI context with dynamic repository analysis and workflow optimization
allowed-tools: Read, Write, Bash(gh:*), Bash(git:*), Bash(jq:*), Bash(gdate:*) name: "Context Load Gh Cli" description: "Load comprehensive GitHub CLI context with dynamic repository analysis and workflow optimization" author: "wcygan" tags: ["context","web"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Initialize GitHub CLI context analysis session
{
"sessionId": "$SESSION_ID",
"timestamp": "$(date -Iseconds)",
"repositoryContext": {
"isGitRepo": "auto-detect",
"repoInfo": "auto-detect",
"currentBranch": "auto-detect",
"hasOpenPRs": "auto-detect",
"hasOpenIssues": "auto-detect"
},
"githubCliStatus": {
"isInstalled": "auto-detect",
"isAuthenticated": "auto-detect",
"authenticatedUser": "auto-detect"
},
"loadedSections": [],
"contextualExamples": {},
"workflowPatterns": []
}STEP 2: GitHub CLI environment validation and setup
TRY:
CATCH (github_cli_not_available):
STEP 3: Dynamic context-aware GitHub CLI guidance loading
IF isAuthenticated AND isGitRepo:
ELSE IF isAuthenticated AND NOT isGitRepo:
ELSE IF NOT isAuthenticated:
STEP 4: Comprehensive GitHub CLI knowledge synthesis
FOR EACH workflow_category IN ["pull-requests", "issues", "reviews", "api-operations", "authentication"]:
STEP 5: Repository-specific workflow analysis and recommendations
IF repository detected AND has_open_issues_or_prs:
Think deeply about optimal GitHub workflow patterns for this repository based on current activity, open PRs, and issue patterns.
STEP 6: Extended thinking integration for complex scenarios
IF complex_repository_patterns_detected:
STEP 7: Session state management and artifact creation
FINALLY:
This guide provides comprehensive instructions for leveraging the GitHub CLI (`gh`) to manage pull requests, issues, comments, and reviews.
# Interactive creation (recommended for agents) gh pr create # With explicit parameters gh pr create --title "PR title" --body "PR description" # Using HEREDOC for multi-line body (
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies