Reference the Kurogoma4D/ShiroGuessr-iOS repository using gh CLI commands. Use when the user mentions "iOS版" (iOS version), "現行プロジェクト" (current project), or needs to reference existing implementations from the iOS version of ShiroGuessr. Supports code search, keyword search, and file content retrieval.
Reference the iOS version of ShiroGuessr (Kurogoma4D/ShiroGuessr-iOS repository) using GitHub CLI.
Kurogoma4D/ShiroGuessr-iOSmainSearch for specific code patterns or implementations:
gh search code --repo Kurogoma4D/ShiroGuessr-iOS "search query"
Examples:
# Search for map-related code
gh search code --repo Kurogoma4D/ShiroGuessr-iOS "map"
# Search for API endpoints
gh search code --repo Kurogoma4D/ShiroGuessr-iOS "api"
# Search for configuration
gh search code --repo Kurogoma4D/ShiroGuessr-iOS "config"
Search across the entire repository:
gh search repos Kurogoma4D/ShiroGuessr-iOS
Or search issues/PRs for context:
gh search issues --repo Kurogoma4D/ShiroGuessr-iOS "keyword"
gh search prs --repo Kurogoma4D/ShiroGuessr-iOS "keyword"
Retrieve specific file contents using the GitHub API:
gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/path/to/file
Note: The response includes a content field with base64-encoded file contents. Decode using:
gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/path/to/file --jq '.content' | base64 -d
Examples:
# Get package.json
gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/package.json --jq '.content' | base64 -d
# Get a specific component file
gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/src/components/Map.tsx --jq '.content' | base64 -d
# List directory contents
gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/src
Alternative - Clone and read locally:
For extensive reading of multiple files, clone the repository:
gh repo clone Kurogoma4D/ShiroGuessr-iOS /tmp/ShiroGuessr-iOS
Then use standard Read tool on local files.
When user asks about iOS version implementation:
gh search code to find relevant implementationsgh api to retrieve specific file contents if neededExample conversation:
gh search code --repo Kurogoma4D/ShiroGuessr-iOS "map display"gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/src/...When comparing iOS vs current implementation:
Example conversation:
gh api repos/Kurogoma4D/ShiroGuessr-iOS/contents/config.json --jq '.content' | base64 -d--jq for JSON parsing and filteringnext links