chopin-pr-readiness
Skill616 starsChanged 31 days agoMITView on GitHub
Prepares Chopin pull requests with final-head verification and diagnoses failing checks. Use before opening a Chopin PR, when fixing CI, or when getting a PR ready to merge.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- gh-stackSkill
- testing-pr-previewsSkill
- typesafe-aiSkill
- creating-chopin-plansSkill
- implementing-chopin-plansSkill
- local-investigationsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep one writer responsible for each branch through implementation, checks and handoff.
- Very specific: line 16
Check the diff against its intended base.
- Very specific: line 19
Use gh-stack when working on a dependent stack, if available.
- Very specific: line 20
After edits, run bun run fix and inspect its changes.
- Distinctive: line 24
Run relevant unit/domain tests.
- Very specific: line 28
Before E2E, check listeners on 8788, 8789, 8791, 8792 and 8797 and coordinate shared databases/ports with other work.
- Distinctive: line 38
Read the exact failed job/step and inspect its trace or browser summary.
- Very specific: line 43
Use systematic-debugging, if available.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chopin PR readiness
Keep one writer responsible for each branch through implementation, checks and handoff. Work in small coherent slices. Read AGENTS.md for the repository's current commands, test boundaries and merge rules.
Prepare
- Resolve the repository from
git remote get-url origin. Scope every GitHub command to it. Record the branch, base commit andgit rev-parse HEAD. - Check the diff against its intended base. Identify shared files, dependencies
on other PRs and who owns each branch. Fetch before deciding whether the base
moved. Chopin permits rebase merging only: keep the proposed history linear.
Use
gh-stackwhen working on a dependent stack, if available. - After edits, run
bun run fixand inspect its changes. Runbun run ciandbun run typeson the proposed source; focused dprint/oxlint runs do not cover design contracts. A comment edit can invalidate a whole-file design exception hash. Review the affected data flow before renewing it. - Run relevant unit/domain tests. Use real Chromium for focus, selection, layout, scrolling and browser event ordering. For shared controls or layout, include nearby keyboard, navigation and responsive cases. Match the test layer to the behaviour; use the current test config to choose the project.
- Before E2E, check listeners on 8788, 8789, 8791, 8792 and 8797 and coordinate
shared databases/ports with other work. Stop only processes you own. Build
this checkout before using
E2E_SKIP_BUILD=1. - For workspace, dependency, lockfile or Docker changes, build the production image and exercise the changed runtime imports. Local type and unit checks do not prove Docker copied every required workspace or can install native dependencies.
Diagnose red checks
Read the exact failed job/step and inspect its trace or browser summary. Classify it as a change regression, stale assertion, flaky behaviour, packaging or infrastructure. Compare with the captured base; a green base alone cannot rule out a flake. Reproduce the narrow failing case before another full push.
Use systematic-debugging, if available. Synchronise browser tests on the real
state or event. Keep assertions that protect behaviour when an approved design
changes. Retry infrastructure once after identifying the cause; repeated
deterministic failures need a fix. Report unresolved failures by name.
Hand off
Record which source revision each command checked. After another edit or rebase, refresh the evidence for affected behaviour. Batch small feedback edits locally before restarting the full CI suite.
Open a regular PR with an accurate description and an inline image using
pr-visual-preview. Use testing-pr-previews when deployed behaviour needs
verification. Watch all required GitHub checks on the final head, including
the browser and container jobs, using land-prs if available. Read retry counts
even when the browser job is green.
For CI reporting changes, inspect the uploaded artifact itself. Verify its contents and recorded revision against the completed job, including retry data.
Handoff: PR URL, final head, verified checks and remaining risks. Preserve the user's merge-approval boundary: obtain explicit authorisation for the reviewed PR or identified set once its final checks are ready. Keep it ready until then.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

