.opencode/skills/gh-clone-pr/SKILL.md
Use when user asks to clone a GitHub Pull Request locally using the GitHub CLI.
npx skillsauth add sonht1109/vscode-copilot-kit gh-clone-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user requests to clone a GitHub Pull Request (PR) locally using the GitHub CLI (gh command).
.opencode directory). Must use this cwd for all file paths in the steps below.Must follow these steps strictly in order:
<OWNER> is the GitHub repository owner.<REPO> is the GitHub repository name.<PR_NUMBER> is the number of the Pull Request.notes/prs/<PR_NUMBER>/details.json.First, create the directory for the PR if it doesn't exist:
mkdir -p <cwd>/notes/prs/<PR_NUMBER>
Then run command:
gh pr view <PR_NUMBER> --repo <OWNER>/<REPO> --json title,body > <cwd>/notes/prs/<PR_NUMBER>/details.json
<cwd>/notes/prs/<PR_NUMBER>. Run command:gh pr diff <PR_NUMBER> --repo <OWNER>/<REPO> > <cwd>/notes/prs/<PR_NUMBER>/diff.patch
node <cwd>/.opencode/skills/gh-clone-pr/scripts/separate-patch.js <PR_NUMBER>
Provide output in the following format:
The GitHub Pull Request has been successfully cloned.
- PR description: `<cwd>/notes/prs/<PR_NUMBER>/details.json`
- PR diff patch dir: `<cwd>/notes/prs/<PR_NUMBER>/contents`
development
This skill focuses on writing/designing effective and comprehensive tests for code. It emphasizes the importance of covering various scenarios, including happy cases, error cases, edge cases, and input validation. The skill also highlights the need to write tests based on expected correct behavior rather than current implementation, and to maintain a high level of coverage (at least 80%).
content-media
Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope. DO NOT use when single-step answers suffice.
tools
--- name: sentry description: Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI. Primary workflow: given a short issue ID (e.g. PROJECT-123), fetch full bug report with description and stack trace. --- # Sentry CLI Skill This skill handles Sentry CLI operations: authentication, issue lookup by short ID, event details, and bug report g
documentation
Use when doing tasks related to markdown files, such as editing README.md or other documentation files.