create-pr
Skill630 starsChanged 23 days agoMITView on GitHub
Create a pull request in the warp repository for the current branch. Use when the user mentions opening a PR, creating a pull request, submitting changes for review, or preparing code for merge.
- Commits and pushes
196 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Nov 8, 2026
- alexandrosandre/agentic-engineeringtheir own version, first seen Nov 8, 2026
- alexandrosandre/alice-issue-agenttheir own version, first seen Nov 8, 2026
- rccsousa/skillstheir own version, first seen Nov 8, 2026
- next-step/nextstep-skillstheir own version, first seen Nov 8, 2026
- blamechris/chroxytheir own version, first seen Nov 8, 2026
Used with
Projects with it also use update-pr, act-on-feedback and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillupdate-pr
Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.
Also in 9 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
ModelEngine-GroupSkillcreate-release-note
从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。
Also in 3 projects that use this
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
frostneySkillsoftware-engineering-excellence
Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.
Also in 3 projects that use this
parkchuSkillstart-mission
넥스트스텝(NextStep) 미션을 처음 시작할 때, 미션 저장소를 fork·clone하고 최초 작업 브랜치(step1 등)까지 만들어 준다. gh CLI로 fork하고 clone까지 이어서 처리하며, gh가 없거나 인증이 안 돼 있으면 브라우저 Fork 안내로 폴백한다. 이미 fork/clone돼 있으면 재사용하고 이어서 진행한다(재실행 안전). 사용자가 "미션 시작하려는데 저장소 세팅해줘", "새 미션 시작할래", "fork부터 해줘", "/nextstep:start-mission" 등으로 요청할 때 사용한다.
Also in 3 projects that use this
- +1 more from microsoft
Other versions196 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 196
- microsoft/vscode★ 195ksame name
- vercel/next.js★ 143ksame name
- penpot/penpot★ 62ksame name
- remix-run/react-router★ 57ksame name
- moeru-ai/airi★ 51ksame name
- ToolJet/ToolJet★ 41ksame name
- ueberdosis/tiptap★ 39ksame name
- BabylonJS/Babylon.js★ 26ksame name
- kortix-ai/suna★ 21ksame name
- kortix-ai/CompanyOS★ 21ksame name
186 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- brandalfSkill
- check-impl-against-specSkill
- complainSkill
- councilSkill
- cross-critiqueSkill
- diagnose-ci-failuresSkill
- fix-errorsSkill
- implement-specsSkill
- merge-riskSkill
- migrate-to-factorySkill
- pr-walkthroughSkill
- readoutSkill
- reproduce-bug-reportSkill
- researchSkill
- resolve-merge-conflictsSkill
- respond-to-pr-comments-in-blocklistSkill
- review-prSkill
- sagaSkill
- scan-new-specsSkill
- skill-doctorSkill
- spec-driven-implementationSkill
- suggestion-boxSkill
- update-skillSkill
- validate-changes-match-specsSkill
- write-feature-docsSkill
- write-pr-descriptionSkill
- write-product-specSkill
- write-tech-specSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 16 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Before creating a PR, review what changes you're about to submit:
- Distinctive: line 48
Verify all intended changes are included
- Distinctive: line 50
Write an accurate PR description
- Distinctive: line 51
Ensure you're comparing against the correct base branch
- Distinctive: line 58
If merging master or preparing the PR changed source, tests, manifests, generated code, or configuration, validate the new candidate in …
- Distinctive: line 60
Run the relevant tests and fix the code until they pass.
- Distinctive: line 61
Run the applicable Clippy and other lint, typecheck, or build checks and fix their findings.
- Very specific: line 62
Run ./script/format once after all other code changes are complete.
- Very specific: line 64
Do not rerun tests or lint after formatting, and do not run ./script/presubmit, unless the user, task, or approved spec explicitly requires …
- Distinctive: line 68
When possible, PRs should be associated with a Linear task.
- Very specific: line 78
Use the PR template at .github/pull_request_template.md when opening PRs.
- Distinctive: line 80
Add changelog entries when appropriate using the format at the bottom of the PR template.
- Distinctive: line 119
When committing changes, include attribution as a trailer at the end of the commit message only — never in the PR description — and never …
- Distinctive: line 142
Search-related APIs that should return expected results for a given query
- Distinctive: line 150
Follow the repository's local testing conventions for guidance on writing unit tests.
- Distinctive: line 180
Prefer a direct choice such as:
- Very specific: line 185
If the user chooses to add one, use the warp-integration-test skill.
- Very specific: line 198
Use the warp-integration-test skill for implementation details, test registration steps, and validation workflow.
- Very specific: line 202
Use the write-pr-description skill for the body itself.
- Distinctive: line 208
Monitor CI checks: - Ensure all automated checks pass
- Very specific: line 211
Validate changed candidates: - After code changes from review feedback, run affected tests, then lint checks, then ./script/format once.
- Distinctive: line 218
Update tests: - Ensure test coverage reflects your changes
- Distinctive: line 219
Document breaking changes: - Call out any API changes or breaking modifications
“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
create-pr
Overview
This guide covers best practices for creating pull requests in the warp repository, including merging master, validating changes efficiently, linking Linear tasks, ensuring appropriate test coverage, and structuring your PR for effective review.
Related Skills
write-pr-description- Write the PR body itself: template sections, prose, and reviewer guidancefix-errors- Fix targeted compilation, test, lint, or formatting failures before opening a PRwarp-integration-test- Add or update integration coverage for user-visible flows, regressions, and P0 use casesadd-feature-flag- Gate changes behind feature flags
Pre-PR Checklist
1. Merge master into your feature branch
Always merge master into your feature branch before starting the review process.
git fetch origin
git merge origin/masterResolve any merge conflicts locally before opening the PR.
2. Review your changes
Before creating a PR, review what changes you're about to submit:
# View commits in your branch (comparing against base branch)
git --no-pager log <base-branch>..HEAD --oneline
# View file statistics for changes
git --no-pager diff <base-branch>...HEAD --stat
# View full diff
git --no-pager diff <base-branch>...HEADThis helps you:
- Verify all intended changes are included
- Catch unintended changes before review
- Write an accurate PR description
- Ensure you're comparing against the correct base branch
- Tests: Include tests when required—bug fixes (regression test), algorithmic code (unit tests), UI components (layout test), P0 use cases (integration test). See Testing Requirements below.
3. Respect implementation agent validation
PR creation is not a validation boundary. If the implementation workflow already completed its tests, lint checks, and final formatting pass and the candidate has not changed, do not rerun them.
If merging master or preparing the PR changed source, tests, manifests, generated code, or configuration, validate the new candidate in this order:
- Run the relevant tests and fix the code until they pass.
- Run the applicable Clippy and other lint, typecheck, or build checks and fix their findings. Return to affected tests only when a fix materially changes behavior.
- Run
./script/formatonce after all other code changes are complete.
Do not rerun tests or lint after formatting, and do not run ./script/presubmit, unless the user, task, or approved spec explicitly requires it. CI owns uncommon failures outside targeted local coverage. Documentation-only changes do not require Rust tests, Clippy, or formatting.
4. Link to Linear task
When possible, PRs should be associated with a Linear task. Use the Linear MCP tool (if available) to find corresponding issues.
Branch naming convention:
Remote branches should be prefixed with your name (e.g., zheng/feature, alice/fix-bug).
How to link PRs to Linear:
Include the issue ID in the PR title (e.g., [WARP-1234] Add new feature). Do this before creating the PR for automatic linking.
5. Open the PR
Use the PR template at .github/pull_request_template.md when opening PRs.
Add changelog entries when appropriate using the format at the bottom of the PR template. Some examples:
- Feature: "Global search in files across your current directories. Use CMD-F/CTRL-SHIFT-F to open."
- Improvement: "Added horizontal autoscrolling when jumping to line/column."
- Bug fix: "Fixed session viewer input being cleared when agent runs commands.
CLI workflow:
- Check if PR exists for current branch:
Exit code 0 if PR exists, 1 if not.gh pr view --json number,url - Create a new PR:
Key flags:# With title and body gh pr create --title "Title" --body "Description" --draft # Auto-fill from commits gh pr create --fill --draft # Use PR template file gh pr create --body-file .github/pull_request_template.md --title "Title" --draft--draft/-d,--fill/-f,--body-file/-F,--web/-w - Update an existing PR:
gh pr edit --title "New title" --body "New body" gh pr edit --add-reviewer username --add-label bug - Mark PR ready for review:
gh pr ready
6. Include co-author attribution
When committing changes, include attribution as a trailer at the end of the commit message only — never in the PR description — and never add a second Warp/Oz co-author trailer if the commit already has one:
Co-Authored-By: Warp Agent <agent@warp.dev>Testing Requirements
Bug fixes require regression tests
All bug fixes should be accompanied by a regression test. This helps prevent re-breaking something that was already broken once.
The test should:
- Reproduce the original bug (would fail before the fix)
- Pass after the fix is applied
- Be clearly named to indicate what bug it's preventing
Algorithmic code requires unit tests
Code with non-trivial logic should have unit tests to validate functionality:
Examples of what needs unit tests:
- Custom data structures (e.g.,
SumTree) - Search-related APIs that should return expected results for a given query
- Core layout code in the UI framework
- Any algorithmic or computational logic
Not required for:
- Sufficiently-simple functions
- Trivial getters/setters
Follow the repository's local testing conventions for guidance on writing unit tests.
UI components need layout validation tests
All UI components (implementations of View) should have a simple unit test to validate that they can be laid out without a panic.
This provides high-level coverage over rendering "safety" (though not "correctness"):
#[test]
fn test_component_can_layout() {
use warpui::App;
use warp::test_util::{terminal::initialize_app_for_terminal_view, add_window_with_terminal};
App::test((), |mut app| async move {
initialize_app_for_terminal_view(&mut app);
let term = add_window_with_terminal(&mut app, None);
// Render the component - should not panic
term.update(&mut app, |view, ctx| {
// Create and layout your component
});
})
}Ask before skipping integration coverage
If the PR changes a user-visible flow, fixes an end-to-end regression, or otherwise looks like it would benefit from integration coverage, use the ask_user_question tool before creating or updating the PR to ask whether the user wants an integration test added as part of the work.
Prefer a direct choice such as:
Yes, add an integration test before creating the PRNo, continue without an integration test
If the user chooses to add one, use the warp-integration-test skill.
P0 use cases require integration tests
All "P0 use cases" require an integration test that covers the behavior/flow in question.
A "P0 use case" is defined as: Any behavior of the application that, if broken, warrants an out-of-band release.
Integration tests should:
- Exercise the full user-facing flow
- Validate end-to-end functionality
- Be placed in the
integration/directory
Use the warp-integration-test skill for implementation details, test registration steps, and validation workflow.
PR Description Guidelines
Use the write-pr-description skill for the body itself. It covers following the
repository's template, the prose baseline, and when to add a reading order and focus
areas for the reviewer.
After Opening the PR
- Monitor CI checks - Ensure all automated checks pass
- Respond to review comments - Address feedback promptly
- Keep the PR up to date - Merge master if conflicts arise
- Validate changed candidates - After code changes from review feedback, run affected tests, then lint checks, then
./script/formatonce. Do not repeat validation for PR metadata or an unchanged candidate.
Best Practices
- Keep PRs focused - One logical change per PR when possible
- Write clear commit messages - Explain what and why, not just what
- Self-review first - Review your own diff before requesting review
- Update tests - Ensure test coverage reflects your changes
- Document breaking changes - Call out any API changes or breaking modifications
- Use feature flags - Gate risky changes behind feature flags when appropriate (see the
add-feature-flagskill)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

