Git and pull-request workflow for HASH, including conditional Linear conventions and merge-queue diagnostics. Use when naming a branch, opening or reviewing a pull request, interpreting its checks, or diagnosing a merge-queue ejection.
69
87%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Use ordinary Git and GitHub as the public baseline. No particular Git client or access to HASH's Linear workspace is required to contribute.
Treat .github/CONTRIBUTING.md as the source of truth for contribution policy and the organization-wide default template, docs/pull_request_template.md in hashintel/.github, as the source of truth for PR content. This repository has no PR template of its own, so GitHub applies that default.
When the work has an associated HASH Linear issue, preserve traceability in the branch and pull request:
<shortname>/<team-key>-xxxx-description, with the Linear identifier in lowercase; for example, ln/fe-1437-hash-monorepo-import or ln/h-6786-agent-guidance-layout.{ISSUE-ID}: Description, preserving the identifier's uppercase form; for example, H-6786: Stop copying HASH agent guidance into unused tool folders.Current HASH Linear identifiers commonly use FE-, SRE-, BE-, or H- prefixes.
Contributors without access to HASH's Linear workspace do not need a Linear identifier. Use a descriptive branch name and PR title, and link the relevant public issue or discussion for significant work. Minor documentation fixes may go straight to a PR as described in the contributing guide.
In every case, keep the PR description self-contained so contributors and reviewers without access to internal systems can understand the change. Fill every applicable section of the organization-wide PR template, and delete each section that does not apply, as the template's comments ask.
Gather the public review record and the complete diff:
gh pr view <PR_NUMBER> --comments
gh pr diff <PR_NUMBER>
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/hashintel/hash/pulls/<PR_NUMBER>/commentsUse the PR description and linked public issue or discussion as the public review contract. If the PR references a HASH Linear issue and the reviewer has access, fetch it and use its requirements as an additional review baseline. Treat inaccessible internal links as supplemental provenance, not as requirements the public artifact may omit.
HASH merges through GitHub's merge queue. This section applies to maintainers and to diagnosing queue checks; contributors do not need merge-queue access.
The PR's auto_merge field remains null after a successful enqueue, so it is not evidence either way. Verify with either:
added_to_merge_queue event in GET /repos/hashintel/hash/issues/<NUMBER>/timelinemerge_group workflow runs on a gh-readonly-queue/<base>/pr-<NUMBER>-<sha> refAn ejection can be another PR's fault or an infrastructure failure:
gh-readonly-queue/... ref names every PR in the batch. If only one PR is named, it was not batched with another.turbo.json under globalDependencies; a global invalidation can run unrelated package checks and expose unrelated failures.The PR runs cargo clippy --all-features; the merge queue runs cargo hack --optional-deps --feature-powerset clippy, selected through GITHUB_EVENT_NAME in .justfile. Queue lint can therefore surface feature-conditional problems that PR lint did not run, including the unused-dependency gate in .github/workflows/lint.yml.
hashintel/hash
ab5d057
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.