# PR Body Template Use this template when creating PRs via `gh pr create`. ## Template ```markdown ## Summary ## Linked Issues - Closes #XX — - Relates to #YY — ## Pre-Landing Review - [file:line] Issue description ## Test Results - [x] All tests pass ( tests, 0 failures) - [x] Tests skipped (--skip-tests) ## Changes ## Ship Mode - Mode: - Target: ``` ## PR Title Format ``` type(scope): brief description ``` Infer type from changes: - `feat`: new feature or capability - `fix`: bug fix - `refactor`: code restructuring without behavior change - `perf`: performance improvement - `chore`: maintenance, dependencies, config ## Example ```markdown ## Summary - Add OAuth2 login flow with Google and GitHub providers - Implement session management with secure cookie storage - Add logout endpoint with token revocation ## Linked Issues - Closes #42 — Add OAuth2 authentication support - Relates to #38 — Security audit for auth module ## Pre-Landing Review Pre-Landing Review: 1 issue (0 critical, 1 informational) - [src/auth/session.ts:42] Magic number 3600 for session TTL Fix: Extract to named constant SESSION_TTL_SECONDS ## Test Results - [x] All tests pass (127 tests, 0 failures) ## Changes src/auth/oauth.ts | 89 +++++++++ src/auth/session.ts | 45 +++++ src/routes/auth.ts | 32 ++++ tests/auth.test.ts | 67 +++++++ 4 files changed, 233 insertions(+) ## Ship Mode - Mode: official - Target: main ``` ## Notes - Keep summary bullets concise — one line per change - Include review findings even if "No issues found" — shows review happened - Test counts should match actual output, not estimates - If PR already exists, use `gh pr edit` instead of `gh pr create` - Always include linked issues section — traceability is critical - For beta PRs, target the dev/beta branch, not main