Files

1.9 KiB

PR Titles

Sample PR title: [SG-100] [claude] api: Move feature-flags into a separate package

  1. Linked ticket number, if the ticket is known. If the ticket isn't known, check if the linear MCP is available in the environment and make a temporary ticket based on the prompt given. Never ask the user for ticket numbers.
  2. Commit title (using standard Git conventions)

Draft status

Always create PRs as drafts. However, never assume that a PR was moved from a draft in error, and convert it back into a draft.

PR Descriptions

PR descriptions always follow this template:

## Overview

[overview here]

## Customer visible changes

N/A

## How did you test these changes?

[testing steps here]

The default template that Graphite uses for new PRs should be ignored entirely — don't keep the placeholders or the checkboxes in the testing section.

Overview

The overview should be terse and should not explain implementation details except at a very high level (anything lower level should be omitted because it can be determined by looking at the code itself). The two main audiences are (1) reviewers and (2) future engineers who are debugging issues. The primary goal is to explain the why of the change. What's the goal/benefit? What bug is being fixed? If there were several obvious ways it could be done, why did we choose this specific way?

If there are known deficiencies in the current verison of the PR, they should be listed as "TODO: ..." at the end of the Overview.

How did you test

The testing steps should be concise but precise. "All changes are covered by unit tests" can be sufficient if it's true. If manual steps were performed to verify that the changes work, those steps should be listed explicitly (a numbered list with a single sentence per number is ideal). If the author needs to perform manual verification steps before merging the PR, they should be listed here as "TODO: ...".