# Pull requests When opening a pull request, always use the [[.github/PULL_REQUEST_TEMPLATE/pull_request_template.md|template]] and follow the agent instructions in its trailing comment. ## Docs preview links in PR descriptions When a PR adds or updates docs pages (anything under [[docs/content/|`docs/content/`]]), add a "Docs Preview" section to the PR description with direct links to each changed page on the `workflow-docs` preview deployment: - Get the preview base URL from the `vercel[bot]` comment on the PR. Use the Preview link from the `workflow-docs` project row (e.g. `https://workflow-docs-git-.vercel.sh`). Don't construct the URL by hand because Vercel's branch-slug normalization is not a direct substitution. - Map content paths to routes: `docs/content/docs/v5/.mdx` is served at `/docs/` (v5 is the default/latest version) and `docs/content/docs/v4/.mdx` at `/v4/docs/` (v4 is the maintenance version). - When a change is scoped to a specific section of a page, link to its heading anchor (e.g. `/docs/foundations/hooks#checking-for-token-conflicts`) and verify the anchor matches a real heading in the MDX. - A table with one row per page (and one column per docs version, when both v4 and v5 were updated) works well. - The preview deployment sits behind deployment protection, so the links require Vercel team access. This is expected; include them anyway for reviewers. ## Observability UI preview links in PR descriptions When a PR changes the observability UI ([[packages/web|`packages/web`]] or [[packages/web-shared|`packages/web-shared`]]), follow the [[.agents/skills/web-guidelines/pull-requests/GUIDE.md|Pull Requests guide]] in `web-guidelines` for preview links and screenshots.