You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Make it simple to fetch github issues deterministically #280
Often asking an LLM to fetch a github issue results in few extra unnecessary tokens, perhaps a better approach would be to implement a shortcut that deterministically fetches the github issue.
List issues, and get a specific issue with comments are essential for augmenting valuable common context.
Acceptance Criteria
The shortcuts /scm issues and /scm issues ` are implemented to quickly get more context on what to work on
The shortcuts do not use any LLM - they reflect a simple github API call that returns structured data for the LLM
changed the title [-][FEATURE] Make it simple to view current github issues /scm issues list[/-][+][FEATURE] Make it simple to fetch github issues deterministically[/+]on Nov 28, 2025
@claude Can you work on this? I think this feature is essential, maybe since those are just gh cli based commands we can create them as yaml in .infer/shortcuts as a default preset?
I've successfully implemented the GitHub issue listing shortcuts for the SCM command as requested in issue #280.
What Was Implemented
New Shortcuts Added:
/scm issues - Lists all GitHub issues for the repository (up to 20 most recent)
/scm issues <number> - Shows detailed information for a specific issue including comments
Key Features:
✅ Deterministic fetching - Uses GitHub CLI (gh) directly, no LLM tokens consumed for API calls
✅ Structured JSON output - Returns clean JSON data that the LLM can easily analyze
✅ Rich issue data - Includes issue number, title, body, state, author, labels, comments, and timestamps
✅ Error handling - Clear error messages if gh CLI is not installed or authenticated
✅ Comprehensive tests - Full test coverage for new functionality
✅ Documentation - Updated README.md with detailed usage instructions
Implementation Details:
The shortcuts extend the existing SCMShortcut struct and:
Check for gh CLI availability before execution
Execute appropriate gh issue commands with JSON output
Format the JSON response in markdown for LLM consumption
Return structured data without any LLM involvement
Activity
[-][FEATURE] Make it simple to view current github issues /scm issues list[/-][+][FEATURE] Make it simple to fetch github issues deterministically[/+]edenreich commentedon Nov 28, 2025
@claude Can you work on this? I think this feature is essential, maybe since those are just gh cli based commands we can create them as yaml in .infer/shortcuts as a default preset?
claude commentedon Nov 28, 2025
Claude finished @edenreich's task —— View job •
claude/issue-280-20251128-1846• Create PR ➔Implementation Complete ✅
I've successfully implemented the GitHub issue listing shortcuts for the SCM command as requested in issue #280.
What Was Implemented
New Shortcuts Added:
/scm issues- Lists all GitHub issues for the repository (up to 20 most recent)/scm issues <number>- Shows detailed information for a specific issue including commentsKey Features:
✅ Deterministic fetching - Uses GitHub CLI (
gh) directly, no LLM tokens consumed for API calls✅ Structured JSON output - Returns clean JSON data that the LLM can easily analyze
✅ Rich issue data - Includes issue number, title, body, state, author, labels, comments, and timestamps
✅ Error handling - Clear error messages if
ghCLI is not installed or authenticated✅ Comprehensive tests - Full test coverage for new functionality
✅ Documentation - Updated README.md with detailed usage instructions
Implementation Details:
The shortcuts extend the existing
SCMShortcutstruct and:ghCLI availability before executiongh issuecommands with JSON outputTesting:
All tests pass successfully:
CanExecute()logicFiles Changed:
internal/shortcuts/scm.go- Added issue listing functionalityinternal/shortcuts/scm_test.go- Added comprehensive test coverageREADME.md- Added SCM Shortcuts documentation sectionUsage Example:
The LLM can then analyze the JSON output to understand what work needs to be done without consuming tokens on the initial data fetch.
feat(shortcuts): Add GitHub issue listing to SCM shortcuts
feat(shortcuts): Add GitHub issue listing to SCM shortcuts (#282)
chore(release): 0.70.0 [skip ci]
inference-gateway-releaser commentedon Nov 28, 2025
🎉 This issue has been resolved in version 0.70.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀