/toycrane-skills:prfrom toycrane-skills
Creates or reuses a GitHub pull request for the current repository change, handling commits, branch publication, and base synchronization. Stops before merge.
Ships in toycrane-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn the current request's change into one ready-for-review pull request against the named base, or the remote's advertised default branch when none is named. Complete the necessary local Git work instead of requiring other skills to be installed.
Preserve unrelated work while committing the request's changes as logical Conventional Commits. Keep credentials and other sensitive files out of the history, honor repository checks, and move work on a detached or protected checkout to a suitably named branch.
Base the branch on the fetched target and publish it without overwriting unexpected remote work. Reuse an existing pull request for the same head and base; when the change is already represented on that remote base, report the state instead of duplicating it.
Create the pull request ready for review with a title and body describing the
actual change. The title follows the repository's title convention and says
the effect on users or the system, not which files or mechanism changed:
fix(search): keep results visible while typing, not
fix(search): update debounce in SearchBox.tsx. When the repository's AGENTS.md or CLAUDE.md carries an
## Issue tracker section, read it and its linked detailed convention when
present; legacy inline conventions also work without the setup skill installed.
Without the section, skip every issue step below and leave the body unchanged.
With a tracker configured, gather the spec folders this PR carries before
creating it: every docs/specs/<slug>/ folder the branch adds or changes, and
every folder named by a Spec-Folder: docs/specs/<slug>/ commit trailer, that
still exists at the head. Skip folders the branch deletes. A folder's
spec.md names its issue with an Issue: <tracker>:<id> line; use that ID and
create nothing.
For each gathered folder without that line, create one issue through the
convention's create operation: the title is the first heading of spec.md
with no prefix, the body is one spec section rendered from spec.md between
the convention's spec section markers, and the issue carries the
convention's review signal so general triage leaves it alone before the PR
links it. The section holds the first section's text,
the remaining section headings, the folder path, and the issues of folders its
Blocked by: docs/specs/<other>/ lines name, read from their own Issue:
lines; report a blocker folder that has none. Then write
Issue: <tracker>:<id> in the convention's ID form beside the spec's other
links, commit it on the same branch, and only then publish and open the PR.
Never search the tracker by title to find or reuse an issue. If the issue was
created but the line could not be committed, stop before opening the PR and
report the created ID so a rerun records it instead of creating another.
Put an Issue: <tracker>:<id> line in the PR body for each linked issue, so a
later pass can find the PR after the branch is gone. A PR with no spec folder
that fixes a known issue directly carries the same line. Put the convention's
closing reference in the body only when the PR actually delivers that issue's
implementation, as established by the diff and verification; a trailer or
Issue: line alone does not establish delivery. A spec-only PR links its issue
without a closing reference. When reusing an existing PR, apply the same steps
and bring its body in line. Leave merging, required reviews, and release
decisions outside this skill's authority.
If a linked convention cannot be read, report the missing information rather than guessing issue operations or claiming that the issue was linked or closed.
Write for a reviewer without the conversation history: explain the problem, concrete before-and-after behavior, why it changed, and what verification establishes. Scale the explanation to the change; a typo fix needs only a brief description and relevant validation. Include mechanisms, a diagram for complex flows, actual alternatives and trade-offs, affected users or integrations, and specific unresolved judgments when they help assess the change. Keep the whole change understandable beyond those highlighted judgments; omit empty sections and invented alternatives or questions.
For screen changes, let the reviewer watch the behavior they are judging. Record the actual base and head running the same flow at matching viewport, data, and state, or reuse evidence verified to match those revisions, and embed the before-and-after videos with a short explanation of the difference and its reason. When motion adds nothing to the judgment, as with copy, styling, or static layout, compare screenshots side by side instead; when such fine visual detail accompanies a behavior change, add that still comparison to the videos. A screen with no before state gets the head video alone. If video cannot be recorded, made safe, or kept within the attachment limit after trimming to the judged behavior, compare screenshots and say why video is missing. Video takes no alt text, so label each one with its revision, flow, and conditions, and identify unavoidable differences between the captures. Separate observed results from source inference and unverified states; a prototype is not runtime evidence. When updating an existing PR, bring its explanation and evidence into line with the final change, replacing outdated visual claims.
Before uploading, inspect screenshots and videos for credentials, personal
data, and private information. Use safe seeded data or redact those details
throughout the media, keeping comparison conditions and the relevant change
visible. Upload only the inspected, safe media as GitHub attachments, using a
supported mechanism in the current environment. For GitHub CLI, check attachment support: gh pr create and
gh pr edit accept repeatable --attach on supported versions and rewrite
matching local media references in --body-file to uploaded URLs. A Markdown
table can place two images side by side. Reference each video as 
alone in its own blank-line-separated paragraph so it renders as a player; a
reference inside other text renders as a link, and an unreferenced attachment
lands at the end of the body. Keep review captures outside repository history;
no separate media host is needed.
If baseline execution, capture, or upload is unavailable, state the exact limit and present only the evidence obtained. Inspect the resulting remote body and attachments before reporting them as available to reviewers; a local path is not a published attachment. A partial upload may still create the PR: inspect and repair that PR instead of duplicating it. Carry successful attachment URLs from the remote body into its replacement, and replace unusable local references with an honest limitation if recovery fails.
Finish when the remote pull request exists in ready state and the user has its URL, base, head branch, and any checks or evidence that remain outstanding.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub toy-crane/skills --plugin toycrane-skills28 skills in this plugin
/add-env-keyGet a key the user must issue or supply, such as an API key, token, or password, into the project's .env file without the value passing through chat or the model's context. Opens the vendor's issuance page, collects the value through the secret-env mod's input pane when the session has it, and otherwise opens the file in the user's editor with the key line ready. Use when work needs such a key that the project does not have yet, or when the user asks to add, set, or put an API key or token into .env./add-stack-contextAudit and establish current agent context for the technologies that define a project's stack. Use when setting up a project for agent work, after selecting or adding a framework, library, developer tool, or hosted service, or when entering an existing project whose agent context has not been audited./audit-evalsAudit a project's LLM eval regression suite from its committed cell history, report cells whose most recent 10 trials all passed, checks with identical recent histories, cells that flip after graduating, and cells that always fail, then propose demoting the recently always-passing cells to the lower tier and apply only the demotions the user approves. Use when the user asks which eval cells still earn their run, why a regression run costs so much, or to slim, prune, or demote a regression suite./babysit-prWatch one open GitHub pull request through CI and review bots until it is ready to merge or needs a person, fixing confirmed findings and failing checks, answering and resolving review threads, and rerunning infrastructure flakes. Use when a pull request has just been opened or updated and its checks, bot review comments, or merge conflicts need answering, or when asked to babysit, watch, shepherd, or get a PR green or ready. Does not merge; `merge` and `implement` invoke it before merging or handing off./babysit-specsRevise active `docs/specs/SLUG/` specs so they match what has shipped since they were written. Use when earlier work has landed and queued specs may now rest on stale assumptions, acceptance criteria, constraints, terms, or prototypes, or when implementation reports a spec as stale before changing source. Takes one or more spec folders, or every folder under `docs/specs/` when none is named. Do not use to shape a new spec from a problem and direction, which belongs to `shape-idea`, or to reconcile durable project context and retire shipped folders, which belongs to `maintain-project-context`./build-prototypeBuild a complete dummy-data HTML prototype or a temporary comparison of up to three alternatives for a specific user situation. Use to settle a screen-based product before implementation or resolve a visual or interaction decision during shaping or prototype review. Do not use for production implementation or CLI, terminal, or voice interfaces.