René's URL Explorer Experiment


Title: open PRs as draft by default by skarim · Pull Request #76 · github/gh-stack · GitHub

Open Graph Title: open PRs as draft by default by skarim · Pull Request #76 · github/gh-stack

X Title: open PRs as draft by default by skarim · Pull Request #76 · github/gh-stack

Description: Default to creating draft PRs in submit and link commands. The --draft flag is removed and replaced with --open, which: Creates new PRs as ready for review (not draft) Converts existing draft PRs in the stack to ready for review Motivation Draft PRs are the safer default — they signal that work is in progress and prevent accidental reviews or merges. Users who want to open PRs that are ready for review can opt in with --open. Changes New GitHub API method: MarkPRReadyForReview(prID) — calls the markPullRequestAsReady GraphQL mutation Command changes (submit + link): Removed --draft flag Added --open flag (default: false, meaning PRs are drafts by default) When --open is set on existing draft PRs, they are converted to ready for review Tests: 6 new tests covering default-draft behavior, --open flag for new PRs, and draft→ready conversion for existing PRs. Docs: Updated README, CLI reference, FAQ, and agent skill file. Examples # Create draft PRs (new default — no flag needed) gh stack submit # Create ready-for-review PRs and convert existing drafts gh stack submit --open # Same behavior for link gh stack link feat-a feat-b feat-c gh stack link --open feat-a feat-b feat-c Stack created with GitHub Stacks CLI • Give Feedback 💬

Open Graph Description: Default to creating draft PRs in submit and link commands. The --draft flag is removed and replaced with --open, which: Creates new PRs as ready for review (not draft) Converts existing draft PRs ...

X Description: Default to creating draft PRs in submit and link commands. The --draft flag is removed and replaced with --open, which: Creates new PRs as ready for review (not draft) Converts existing draft PRs ...

Opengraph URL: https://github.com/github/gh-stack/pull/76

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:41a00a92-7c85-5133-b2fd-ed4cad448839
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8706:B2444:E7D72B:145307A:6A4FE738
html-safe-nonce9ba392aa61045e2f0bba0628b3f09822976c5571bf8fccd53a4ced987703e25a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA2OkIyNDQ0OkU3RDcyQjoxNDUzMDdBOjZBNEZFNzM4IiwidmlzaXRvcl9pZCI6IjYyMDU0NzYzNTcxNTUwNTU0MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac87e8ddfce8c3e8b57f115b861c19c173a41bece64d219ad72d5f5387477727a0
hovercard-subject-tagpull_request:3628388881
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/gh-stack/pull/76/files
twitter:imagehttps://avatars.githubusercontent.com/u/1701557?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1701557?s=400&v=4
og:image:altDefault to creating draft PRs in submit and link commands. The --draft flag is removed and replaced with --open, which: Creates new PRs as ready for review (not draft) Converts existing draft PRs ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/gh-stack git https://github.com/github/gh-stack.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id1151630728
octolytics-dimension-repository_nwogithub/gh-stack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1151630728
octolytics-dimension-repository_network_root_nwogithub/gh-stack
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/gh-stack/pull/76/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgh-stack%2Fpull%2F76%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgh-stack%2Fpull%2F76%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fgh-stack
Reloadhttps://github.com/github/gh-stack/pull/76/files
Reloadhttps://github.com/github/gh-stack/pull/76/files
Reloadhttps://github.com/github/gh-stack/pull/76/files
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
github https://github.com/github
gh-stackhttps://github.com/github/gh-stack
Notifications https://github.com/login?return_to=%2Fgithub%2Fgh-stack
Fork 18 https://github.com/login?return_to=%2Fgithub%2Fgh-stack
Star 511 https://github.com/login?return_to=%2Fgithub%2Fgh-stack
Code https://github.com/github/gh-stack
Issues 25 https://github.com/github/gh-stack/issues
Pull requests 5 https://github.com/github/gh-stack/pulls
Discussions https://github.com/github/gh-stack/discussions
Actions https://github.com/github/gh-stack/actions
Projects https://github.com/github/gh-stack/projects
Models https://github.com/github/gh-stack/models
Security and quality 0 https://github.com/github/gh-stack/security
Insights https://github.com/github/gh-stack/pulse
Code https://github.com/github/gh-stack
Issues https://github.com/github/gh-stack/issues
Pull requests https://github.com/github/gh-stack/pulls
Discussions https://github.com/github/gh-stack/discussions
Actions https://github.com/github/gh-stack/actions
Projects https://github.com/github/gh-stack/projects
Models https://github.com/github/gh-stack/models
Security and quality https://github.com/github/gh-stack/security
Insights https://github.com/github/gh-stack/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fgh-stack%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fgh-stack%2Fissues%2Fnew%2Fchoose
skarimhttps://github.com/skarim
skarim/fetch-before-pushhttps://github.com/github/gh-stack/tree/skarim/fetch-before-push
skarim/submit-drafthttps://github.com/github/gh-stack/tree/skarim/submit-draft
Conversation 9 https://github.com/github/gh-stack/pull/76
Findings https://github.com/github/gh-stack/pull/76/findings
Commits 2 https://github.com/github/gh-stack/pull/76/commits
Checks 6 https://github.com/github/gh-stack/pull/76/checks
Files changed https://github.com/github/gh-stack/pull/76/files
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
open PRs as draft by default https://github.com/github/gh-stack/pull/76/files#top
Show all changes 2 commits https://github.com/github/gh-stack/pull/76/files
bc0fc50 open prs as draft by default skarim May 5, 2026 https://github.com/github/gh-stack/pull/76/commits/bc0fc50de09c444ed9ee2b5ccecf3513c97f73ad
5ba2b00 apply suggested docs updates from code review skarim May 5, 2026 https://github.com/github/gh-stack/pull/76/commits/5ba2b00e9402e801e1582417763c602e922f3a98
Clear filters https://github.com/github/gh-stack/pull/76/files
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
README.md https://github.com/github/gh-stack/pull/76/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
link.go https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
link_test.go https://github.com/github/gh-stack/pull/76/files#diff-5a69e8e1278c431e858c00044a1347eff17e0f2ba2c17861ee899d91e58ee3b0
submit.go https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
submit_test.go https://github.com/github/gh-stack/pull/76/files#diff-ec07a7a2393308fd27f9316500d4752e857a4ee1c07b223bb5cdbe0857233a7c
faq.md https://github.com/github/gh-stack/pull/76/files#diff-7b8f8636490d48b75ae8381cbc4fff9d4afae8390688ff683b0e2f7aafb378a3
cli.md https://github.com/github/gh-stack/pull/76/files#diff-2428fb684c879e5625e202816e6c738a9232ab0e8c0fb65e0538996bed1368bc
client_interface.go https://github.com/github/gh-stack/pull/76/files#diff-74eff9e580e749e6ee746277fd91ea17e47519c9524830b16fdc33ca687d7c1f
github.go https://github.com/github/gh-stack/pull/76/files#diff-ba9a81d402c41754e4e18c09693a602ff36de97f5e42e105a0a613201844e6ef
mock_client.go https://github.com/github/gh-stack/pull/76/files#diff-b72c23d7f5564a71582acdae3ee06ea8545b913ede7a18466e033b603ddf2762
SKILL.md https://github.com/github/gh-stack/pull/76/files#diff-af147f8f9745ec4c926f5c3effbd87eb585c4cdef2298412c3526efa03048323
https://github.com/github/gh-stack/blob/main/CODEOWNERS#L2
README.mdhttps://github.com/github/gh-stack/pull/76/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/github/gh-stack/blob/5ba2b00e9402e801e1582417763c602e922f3a98/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/gh-stack/pull/76/{{ revealButtonHref }}
https://github.com/github/gh-stack/pull/76/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/gh-stack/pull/76/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/gh-stack/pull/76/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/gh-stack/pull/76/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/gh-stack/blob/main/CODEOWNERS#L2
cmd/link.gohttps://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
View file https://github.com/github/gh-stack/blob/5ba2b00e9402e801e1582417763c602e922f3a98/cmd/link.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/gh-stack/pull/76/{{ revealButtonHref }}
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/pull/76/files#diff-3db4e2ddfef467722f8d57b5e2dedde7666e97208afd16deb60a6d8a5c6d1eaf
https://github.com/github/gh-stack/blob/main/CODEOWNERS#L2
cmd/link_test.gohttps://github.com/github/gh-stack/pull/76/files#diff-5a69e8e1278c431e858c00044a1347eff17e0f2ba2c17861ee899d91e58ee3b0
View file https://github.com/github/gh-stack/blob/5ba2b00e9402e801e1582417763c602e922f3a98/cmd/link_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/gh-stack/pull/76/{{ revealButtonHref }}
https://github.com/github/gh-stack/pull/76/files#diff-5a69e8e1278c431e858c00044a1347eff17e0f2ba2c17861ee899d91e58ee3b0
https://github.com/github/gh-stack/pull/76/files#diff-5a69e8e1278c431e858c00044a1347eff17e0f2ba2c17861ee899d91e58ee3b0
https://github.com/github/gh-stack/pull/76/files#diff-5a69e8e1278c431e858c00044a1347eff17e0f2ba2c17861ee899d91e58ee3b0
https://github.com/github/gh-stack/pull/76/files#diff-5a69e8e1278c431e858c00044a1347eff17e0f2ba2c17861ee899d91e58ee3b0
https://github.com/github/gh-stack/blob/main/CODEOWNERS#L2
cmd/submit.gohttps://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
View file https://github.com/github/gh-stack/blob/5ba2b00e9402e801e1582417763c602e922f3a98/cmd/submit.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/gh-stack/pull/76/{{ revealButtonHref }}
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
https://github.com/github/gh-stack/pull/76/files#diff-f52729ee586405b4173291bbf009f1e69ff61c2aa42149ae5ec1fc81a805b1fc
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
Please reload this pagehttps://github.com/github/gh-stack/pull/76/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.