Fetches GitHub issues, proposes solutions, and interacts with the issue (commenting, closing) after user approval.
This skill enables the agent to automate the process of solving GitHub issues by fetching issue details, analyzing the codebase, proposing fixes, and interacting with the GitHub API.
When the user asks to solve a GitHub issue (e.g., "Solve issue #123"), follow these steps:
scripts/github_api.py to get the issue details.
python .agent/skills/github_issue_solver/scripts/github_api.py get <issue_id>
If the user accepts the proposal:
fix: <summary> (fixes #<issue_id>).python .agent/skills/github_issue_solver/scripts/github_api.py comment <issue_id> "Your comment here"
python .agent/skills/github_issue_solver/scripts/github_api.py close <issue_id>
If the user does not accept or provides different instructions:
requests library must be installed.GITHUB_TOKEN or GH_TOKEN environment variable must be set for write operations (commenting, closing).