Keep changes small, plain, and easy to audit.
Use pull requests for changes to main.
- Branch from
main. - Make the smallest change that solves the issue.
- Update docs when behavior, install steps, privacy, or testing changes.
- Open a pull request with what changed, why, and how it was tested.
Avoid unrelated cleanup in feature or bugfix PRs.
- Keep the userscript dependency-free unless there is a strong reason.
- Prefer DOM APIs and text nodes over
innerHTML. - Do not add GitHub tokens, background services, analytics, or local activity tracking.
- Treat GitHub selectors as unstable. Keep adapters small and covered by fixtures.
- Sorting should only move loaded timeline activity, not the initial issue or PR post.
Before opening a PR, run:
node --check github-sortout.user.js
npm testCI runs these same non-live checks on pull requests and pushes to main.
Run the live smoke checks when touching GitHub page selectors or timeline behavior:
npm run test:liveManual browser testing is still useful for userscript changes, especially in Firefox with Violentmonkey.
There is no build step and no automatic update channel.
For a release, update the userscript version, commit through a pull request, merge to main, and install from the raw script URL.