Automated summary
This skill encodes the house rules for preparing, opening, and updating pull requests in the Shift project: Conventional Commit titles, issue linkage, a body with testing evidence and UI screenshots, and safe pushing.
Strengths
- Enforces a Conventional Commits title capped at 72 characters that works both as squash commit subject and as Release Please input
- Clarifies which commit types surface in the public changelog and blocks unapproved version bumps or hand-edited changelog sections
- Requires a structured PR body with an Issue section (Closes #123) and a Testing section separating passed, failed, skipped, and manually verified checks
- Sets expectations for UI review evidence (before/after states, redaction of sensitive data) and for the desktop E2E impact check
Limitations
- The rules are specific to the Shift repository (Release Please, apps/desktop/e2e, Release-As footer) and do not transfer as-is to other projects
- It is guidance only: no script is provided to validate PR titles or bodies automatically
- The UI evidence and E2E sections assume tooling and CI that already exist in the project
Use it whenever a pull request must be drafted, opened, updated, or reviewed in the Shift repository, especially for user-visible changes or release-related work.
Avoid it on a different repository that does not follow the Release Please and E2E conventions described here.
Security analysis
SafeThe skill contains only documentation and process rules for creating and updating pull requests. It declares no tools and does not instruct any execution, network, destructive, or data-exfiltrating actions.
No concerns found
How this analysis is madeExamples
Open a pull request for this branch, link the issue it fixes, and write the summary and testing sections following the /pr rules.CI rejected my PR title 'Fixed the save bug [codex]'. Rewrite it as a valid Conventional Commit title and update the PR.This PR changes the document save dialog. Update the PR body with screenshots of the error and disabled states and fill in the desktop E2E impact check.name: pr description: Canonical rules for preparing, opening, and updating Shift pull requests. Use whenever the user asks to create, open, draft, update, or review a pull request. Enforces issue discovery and linkage, Conventional Commit titles, release-note quality, complete validation evidence, and safe pushing.
/pr — How Shift pull requests are written
A pull request is one reviewable product or engineering change. Its title must make sense in history and as potential Release Please input.
Title syntax
Every pull request title uses Conventional Commits:
<type>[optional scope][optional !]: <concise imperative description>
Use the same types and subject rules as /commit. Examples:
feat: add source conversion preview
fix(document): preserve the last valid save
ci: publish signed Alpha artifacts
The title must:
- be at most 72 characters;
- use lowercase imperative wording after the colon;
- describe the user or system outcome, not the list of files changed;
- omit trailing punctuation, emoji, agent labels, and
[codex]prefixes.
CI rejects titles that are not Conventional Commits. GitHub may also use the pull request title as a squash commit subject, so treat it as release-quality history.
Release Please behavior
Release Please reads conventional commits merged to main and maintains a draft release pull request.
feat,fix, andperfbecome public changelog entries.refactor,test,docs,build,ci,style, andchoreremain valid but are hidden from public release notes.- Ordinary pull requests must not bump the product version or edit generated changelog sections.
- Maturity and milestone changes require explicit user approval and a
Release-As:footer. - The generated
chore: release Shift …pull request is special: review its version, changelog, warning text, and artifact readiness before merging it.
Pull request body
Use a concise body with evidence:
## Summary
- what changed and why
- important behavioral or architectural boundary
## Issue
Closes #123
## Testing
- `exact command`
- focused manual verification
Add ## Risks or ## Follow-up only when they materially help review. Do not add empty sections, generic claims such as “tests pass,” generated marketing prose, or agent attribution.
Testing entries must distinguish:
- commands that passed;
- checks that failed and why;
- checks not run;
- focused manual verification where an automated test would be low value.
For release changes, state whether packaging was smoke-tested and which hosted platform/signing checks remain.
UI review evidence
For materially visible UI changes, attach screenshots or recordings before marking the pull request ready for review.
- Cover every distinct state needed to review the change, including native dialogs and fallback, error, empty, loading, or disabled states when affected.
- Capture the actual implementation. Include before-and-after evidence when the change intentionally modifies existing appearance or interaction.
- Prefer GitHub user attachments over committing review-only media to the repository.
- Redact private user data, credentials, and sensitive documents before uploading.
- If useful evidence cannot be captured safely or reliably, state why in the pull request rather than silently omitting it.
Do not add ceremonial screenshots for changes with no visible review surface.
Desktop E2E impact
For changes that can affect desktop user flows or rendering, complete the E2E impact check in apps/desktop/e2e/README.md before opening or updating the pull request.
- Search existing specs by affected surface, command, or workflow even when the branch does not change E2E files.
- Run the smallest relevant Playwright project, file, and title filter. Run the complete affected project for broad or shared-fixture changes.
- Update visual snapshots only for intentional appearance changes, inspect every changed image, and rerun without update mode.
- List exact E2E commands in
## Testing; explicitly identify relevant E2E coverage not run and why.
Issue linkage
Every ordinary pull request includes ## Issue. Search open and recently closed issues before opening or updating the pull request, and reference every issue materially addressed by the change.
- Use
Closes #123only when the pull request fully satisfies that issue's acceptance criteria. Merging to the default branch then closes the issue. - Use
Refs #123for partial work, prerequisites, investigation, or related context. The issue remains open. - If substantial feature, bug, regression, or roadmap work has no adequate issue, invoke
/issueand create one before opening the pull request. - For small maintenance, documentation, dependency, or mechanical work with no issue, write
No issue — <brief reason>rather than creating a ceremonial issue. - Generated Release Please and dependency-bot pull requests are exempt from the issue section.
Never use a closing keyword merely because an issue is related. If any accepted outcome remains, use Refs.
Preparation process
- Read
git status, staged and unstaged diffs, the branch commits, and the complete diff againstmain. - Confirm the branch contains only the requested change. Do not absorb unrelated dirty files.
- Search open and recently closed issues; decide whether the pull request closes, references, or does not require an issue.
- For substantial untracked work, invoke
/issuebefore opening the pull request. - Use
/committo create any required logical commits. - Rebase or merge the current
mainonly when needed. Do not rewrite a published branch without explicit approval. - Run focused validation and the repository checks required by the affected subsystem.
- Re-read the final diff and summarize observable behavior, not implementation trivia.
- Choose a Conventional Commit title that matches the dominant change.
- Push the named branch without force unless explicitly approved.
- Create the pull request with an explicit base and head, preferably using a body file to preserve formatting.
- Verify the rendered issue keyword and all body formatting on GitHub.
- Return the pull request URL, title, issue relationship, commit list, and validation status.
A request to create or update a pull request authorizes the ordinary push needed for that request. It never authorizes force-pushing, changing repository settings, merging the pull request, or publishing a release.
Review process
When reviewing a pull request:
- inspect the diff and tests rather than trusting the body;
- verify the title matches Conventional Commits and the actual dominant change;
- identify user-visible
feat,fix, andperfwording that would be confusing in release notes; - verify the issue section exists, every linked issue is relevant, and
Closesis used only for complete resolution; - check that version and generated changelog edits appear only in a Release Please pull request;
- distinguish blocking correctness issues from optional improvements;
- verify claims against repository behavior and report exact paths and lines.
Hard rules
- Never open an ordinary pull request without searching for relevant issues and including an issue section.
- Never open a pull request from a branch with uncommitted intended changes.
- Never include credentials, signing material,
.envfiles, or tokens. - Pull request titles, bodies, comments, commits, and release-note wording must describe the change and its validation, not the process used to produce it. Never include incidental execution metadata such as agent identity, handoff mechanics, remote hosts, machine names, tmux sessions, worktree paths, or “finishing work off.” Mention such infrastructure only when it is itself the subject of the change. Platform names are allowed only when materially relevant to behavior or testing evidence.
- Never force-push, merge, enable auto-merge, or publish a release unless the user explicitly asks.
- Never fabricate issue links, test results, screenshots, reviewers, or release-note claims.
- Never hide a failed or skipped check from the pull request body.
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/shift-pull-request-conventions-muar2yu5/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/shift-pull-request-conventions-muar2yu5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/shift-pull-request-conventions-muar2yu5/download' --output '.skill-downloads/shift-pull-request-conventions-muar2yu5/SKILL.md.part' && mv '.skill-downloads/shift-pull-request-conventions-muar2yu5/SKILL.md.part' '.skill-downloads/shift-pull-request-conventions-muar2yu5/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/shift-pull-request-conventions-muar2yu5/SKILL.md' && test -s '.skill-downloads/shift-pull-request-conventions-muar2yu5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/shift-pull-request-conventions-muar2yu5' '.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/shift-pull-request-conventions-muar2yu5'openskills read 'shift-pull-request-conventions-muar2yu5'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/shift-pull-request-conventions-muar2yu5/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.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.