- Treat README.md as user-facing documentation.
- Keep
README.mdChinese-first, with a concise English section after it. - Do not put upstream cursor or maintenance chatter into
README.md. - Read UPSTREAM.md before doing any upstream comparison work.
- Logic primarily derived from upstream behavior:
src/core/*src/sites/*src/styles/*
- Generated data snapshot:
src/data/generated/*
- Userscript-specific glue:
src/env/*src/meta/*scripts/prepare-release.mjs.github/workflows/*
- Read UPSTREAM.md and note the current upstream cursor.
- Review upstream commits after that cursor.
- Port only the changes that matter to this userscript repository.
- Run
pnpm verify. - Update UPSTREAM.md only after the review and verification are complete.
- Record user-facing release changes in CHANGELOG.md.