Check whether this card's code meets the acceptance criteria
中文简介正在准备中。当前显示原文说明。
Run the Tamanu release-branch CUTOFF checks when preparing to cut a new release/X.YY branch: confirm the previous release's hotfixes are merged to main, reconcile the commits since the previous release against the "Merged to main" card list from Linear, and scan for data/reporting/schema changes. Use when the user is cutting a Tamanu release and wants to verify the codebase is ready, wants to check main against the previous release branch, or wants to reconcile commits with a Linear "Merged to main" column (they should paste the card list). Handles Tamanu's train-release model (release/X.YY branches vs vX.YY.Z patch tags) and the cherry-pick model where the same logical fix has different SHAs on different branches. Purely git-based — no live database or Canopy access needed. Not for verifying an existing release branch's hotfix integrity (see pre-release-checks) or for deciding which tests to run (see scope-tamanu-release-tests).
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Help with the Tamanu release cutoff process: the user is about to cut a new release branch and
needs to verify main is ready. You are working inside a clone of the Tamanu repo, so read the
history directly with git. Three checks plus a summary.
Tamanu uses release/X.YY branches (e.g. release/2.46, release/2.47) cut from main. Hotfixes
land on a release branch and are cherry-picked between branches.
NEVER compare by SHA — cherry-picked commits always have different SHAs. ALWAYS match by commit
message subject (the first line). A hotfix is "merged to main" if a commit with the same subject
exists on main, regardless of SHA. Search far enough back (at least 50-100 commits) — cherry-picks
are not always recent (git log --oneline -100 main, then search for matching subject text).
Ensure every hotfix from the previous release branch has been merged into main.
main for a commit with the same message subject.main.The user provides the list (or a screenshot) of cards in the "Merged to main" column from the Linear board. Reconcile it against the commit history both ways:
main against the previous release branch. Check that every commit in the diff has an
associated card in "Merged to main", or is obviously a no-ticket commit (version bumps, dependency
updates).If the user has not supplied the card list, you can still list the commits since the previous release with their ticket references, and note that a full reconciliation needs the card list.
Compile the changes relevant to data reporting by checking for:
## Release Cutoff Check
### Previous Release Hotfixes
[Status: All merged to main / N commits need merging]
[If any need merging, list them with commit hash and message]
### Commit/Ticket Reconciliation
[Can only verify commits exist — user must provide ticket list for full reconciliation]
[List commits since previous release with their ticket references]
### Data Reporting Changes
[List any model, constant, or report changes that affect data reporting]
[If none: "No data reporting changes identified"]
### Summary
[1-2 sentence assessment of release readiness from a code perspective]
The Tamanu commit history is authoritative. This skill encodes a method, not a fixed answer — branch names and reporting-relevant paths can change over time. If the repo disagrees with this skill, the repo wins. Never decide a fix is present or missing from memory of a past release — always read the actual history, and match by subject, never by SHA.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Check whether this card's code meets the acceptance criteria
中文简介正在准备中。当前显示原文说明。
Summarise the unit and e2e tests a branch/PR adds, run only those, and produce a paste-ready report (e.g. for a Linear card). Use when asked to 'summarise added tests', 'run the new tests', 'what tests did this PR add', or to prove a card's test coverage.
中文简介正在准备中。当前显示原文说明。
Run a quick UX/UI workshop using ASCII-art sketches
中文简介正在准备中。当前显示原文说明。
Write automated tests for unticked scenarios in this card's test cases
中文简介正在准备中。当前显示原文说明。
Review code changes on this card for likely bugs, regressions, and missed edges
中文简介正在准备中。当前显示原文说明。
Maintain a support docs pack — dedup, length budgets, and no splintering — and land changes as a reviewed pull request. Use when a support thread, or a hand-off from Support assist, surfaces a new resolution, a correction to an existing one, or a deployment quirk worth recording. Not for ordinary code changes.
中文简介正在准备中。当前显示原文说明。