Solve GitHub issues by implementing features or fixes and creating pull requests...
Use this skill when you need to turn a GitHub issue into a concrete code change and publish the result as a pull request.
gh commandsgh CLI authentication is required.GITHUB_TOKEN/GH_TOKEN must allow issue/PR read-write operations.GITHUB_OUTPUT_DIR: optional caller-provided output artifacts directory.GITHUB_CONTEXT_DIR: context directory (default ${GITHUB_OUTPUT_DIR}/github-context).Preferred input when already available:
${GITHUB_CONTEXT_DIR}/manifest.jsonOptional inputs:
status=present in manifest.artifacts[].If no manifest is provided, collect issue metadata and comments directly with gh:
gh issue view <issue_number> --repo <owner/repo> --json number,title,body,state,url,author,createdAt,updatedAt,labels
gh api repos/<owner>/<repo>/issues/<issue_number>/comments --paginate
Do not assume fixed file names under github/.
Resolve usable inputs from manifest.artifacts[] by id/path/status/description.
${GITHUB_CONTEXT_DIR}/manifest.json exists, use it.gh.Use raw gh commands. Pass the PR body directly, or use a caller-requested
body file when the integration needs one:
gh pr create --repo <owner/repo> --title "<title>" --body "<body>" --head <branch> --base <base>
gh pr edit <pr_number> --repo <owner/repo> --title "<title>" --body "<body>"
Publish completion is mandatory; do not report success without a real PR side effect.
Report the result in the normal agent delivery. If a caller explicitly requires
machine-readable output, write only the requested artifacts under
${GITHUB_OUTPUT_DIR} and include their paths in the delivery.
Mark run as failed if any of the following is true:
Do not report success from artifacts alone. A summary or manifest is optional evidence, not a substitute for the actual commit, push, or PR side effect.