Automated summary
Automates branch handoff: reads the PR template, inspects the diff against main, runs scoped repo validations, and opens a draft pull request with the preview deployment URL.
Strengths
- Picks validation scopes that match the changed files (baseline, formatter, rust, e2e-web)
- Fills every PR template section from the actual branch changes, validations run or skipped, and tests added
- Delegates to the release skill first when the branch looks like a versioned release branch
- Reports Cloudflare deploy failures separately from sticky-comment failures instead of conflating them
Limitations
- Assumes repo-specific tooling: .github/PULL_REQUEST_TEMPLATE.md, scripts/validate-changes.sh, pnpm, the gh CLI and Cloudflare Pages previews
- Halts and asks the user when unrelated changes are detected rather than untangling them
- Does not review code quality; it packages the PR, it does not judge the diff
Use it when a branch is ready to hand off and you want a template-compliant draft PR against main with validations and a preview URL.
Avoid it in repos missing the referenced template and validation scripts, or when you need a code review rather than PR packaging.
Security analysis
CautionThe skill is a normal PR handoff workflow: it reads the PR template, diffs against main, runs validation, and opens a draft PR. It uses powerful tooling (bash, git, gh, pnpm) but only for legitimate, visible developer operations. There is no destructive command, no secret/token exfiltration, no obfuscation, and no attempt to disable safety controls. Risk is limited to the usual side effects of running repo-local scripts and creating/updating PRs.
- •Executes repository scripts via bash (scripts/validate-changes.sh) whose contents are not shown, so behavior depends on the repo's script integrity
- •Runs `pnpm format`, which mutates working-tree files
- •Performs network/side-effecting operations via `gh pr create --draft` and by polling the `Deploy PR Preview` workflow
- •Conditionally invokes another skill (`release`) based on branch name, creating an implicit chain of trust
- •No declared allowed-tools, yet the instructions assume shell, git, and gh access
Examples
Open a draft PR for this branch against main — follow the PR template and run the baseline validations first.This is a release branch: run the release skill first, then validate the changes and open the PR against main.Update the existing PR body with what changed and which validations were skipped, then give me the preview deployment URL.name: pr description: Use when the user wants to open a pull request or finish a branch handoff. Read the PR template, inspect changes vs main, run the release skill first if the branch name looks like a version, validate the branch with the shared repo checks, open a draft PR targeting main, and return the preview deployment URL when one applies.
Open Pull Request
- Read
.github/PULL_REQUEST_TEMPLATE.mdand understand its required sections. - Inspect what has changed on this branch vs
main. If there are unrelated changes, stop and ask the user what to do. - If the branch name looks like a release branch or versioned release workflow, run the release skill first before continuing.
- Choose the right validation scopes for the changed files and run them through
scripts/validate-changes.sh. - Prefer
bash scripts/validate-changes.sh --scope baselinefor normal TS or workflow changes. Add scopes when needed:--scope formatterfor formatter behavior changes--scope rustforapps/ui/src-taurior other desktop-only changes--scope e2e-webfor materially changed user-facing web flows
- If formatting fixes are still needed before validation, run
pnpm formatintentionally first, then rerun the validation helper in check mode. Do not rely on the helper to mutate files unless you explicitly choose--fix. - Draft a PR title and body that follow the template exactly, filling each section from the actual branch changes, validations run, validations skipped, and tests added.
- Open or update a draft PR against
main:- Create with
gh pr create --draft --base mainwhen no PR exists for the branch. - Update the existing PR body when one already exists.
- Create with
- After the PR exists, wait for the
Deploy PR Previewworkflow when the change is web-relevant. - Return:
- the full PR URL
- the preview URL when one applies
- any explicit follow-up if the preview deploy or sticky comment failed
Preview Expectations
- Web-relevant PRs should publish to
https://pr-<number>.openscad-studio.pages.dev - Docs-only and desktop-only PRs may skip preview deployment
- If Cloudflare deploy succeeds but the sticky comment fails, report that separately instead of pretending the preview is unavailable
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/open-a-pull-request-msshyv06/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/open-a-pull-request-msshyv06' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/open-a-pull-request-msshyv06/download' --output '.skill-downloads/open-a-pull-request-msshyv06/SKILL.md.part' && mv '.skill-downloads/open-a-pull-request-msshyv06/SKILL.md.part' '.skill-downloads/open-a-pull-request-msshyv06/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/open-a-pull-request-msshyv06/SKILL.md' && test -s '.skill-downloads/open-a-pull-request-msshyv06/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/open-a-pull-request-msshyv06' '.claude/skills/pr'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/open-a-pull-request-msshyv06'openskills read 'open-a-pull-request-msshyv06'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/open-a-pull-request-msshyv06/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.