rslib
Copilot instructions1k starsChanged 19 days agoMITView on GitHub
Use these instructions for pull request review in this repository. Focus on recurring, reusable review logic that prevents regressions. Apply these rules when reviewing Markdown, MDX, comments, examples, and user-facing guides.
We split this copilot-instructions.md into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Use these instructions for pull request review in this repository.
- Distinctive: line 10
Write short, imperative feedback.
- Distinctive: line 16
Keep suggestions aligned with the stated user goal.
- Distinctive: line 18
Prefer fixes with limited blast radius over broad changes that can affect unrelated behavior.
- Very specific: line 24
Use standardized command components such as <PackageManager> instead of hardcoded npm/pnpm/yarn command variants.
- Distinctive: line 26
Call out global side effects of configuration choices and propose safer scoped alternatives when relevant.
- Distinctive: line 27
Avoid misleading examples or outputs.
- Distinctive: line 28
Remove duplicated explanations and keep one authoritative location per concept.
- Distinctive: line 29
Prefer concise, copy-pasteable command examples when multiple dependencies or setup steps are required.
- Distinctive: line 30
Ensure every mentioned package, plugin, or tool has a direct authoritative reference link.
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions 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
Copilot code review instructions
Purpose
Use these instructions for pull request review in this repository. Focus on recurring, reusable review logic that prevents regressions.
Instruction style
- Write short, imperative feedback.
- Explain the underlying rule, not a one-off line edit.
- Suggest an actionable fix when you flag an issue.
General review rules
- Keep suggestions aligned with the stated user goal; do not optimize for a different objective.
- Require rationale for non-obvious design or behavior decisions.
- Prefer fixes with limited blast radius over broad changes that can affect unrelated behavior.
Documentation review rules
Apply these rules when reviewing Markdown, MDX, comments, examples, and user-facing guides.
- Use standardized command components such as
<PackageManager>instead of hardcoded npm/pnpm/yarn command variants. - Link each mentioned config option or API to its canonical official documentation.
- Call out global side effects of configuration choices and propose safer scoped alternatives when relevant.
- Avoid misleading examples or outputs; add clarifying context when artifacts may look incorrect.
- Remove duplicated explanations and keep one authoritative location per concept.
- Prefer concise, copy-pasteable command examples when multiple dependencies or setup steps are required.
- Ensure every mentioned package, plugin, or tool has a direct authoritative reference link.
Trending
Less talk lately.about the whole repository
Who's talking about web-infra-dev/rslib
- @rspack.dev“🎉 Rslib v0.1 is now public! The goal of Rslib is to create JavaScript libraries in an simple and intuitive …”Bluesky · Nov 21, 2024 · 24 likes
- ruanyf/weekly“【开源自荐】Rslib - JavaScript 软件包构建工具”GitHub · Dec 13, 2024 · 4 reactions
- web-infra-dev/rspack“perf: introduce `ModuleGraphCache` and cache the result of `get_mode` and `determine_export_assignments`”GitHub · Jun 5, 2025 · 3 reactions
- @rspack.dev“Try it out: github.com/web-infra-de...”Bluesky · Feb 11, 2025 · 3 likes
- web-infra-dev/rsbuild“chore(deps): update dependency @rslib/core to v1.0.0-beta.0”GitHub · Jul 16, 2026 · 2 reactions
The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 41
Talked about on GitHub and Bluesky (41 times).
On GitHub · 39
- Dec 13, 2024【开源自荐】Rslib - JavaScript 软件包构建工具 — ruanyf/weekly4 reactions
- Jun 5, 2025perf: introduce `ModuleGraphCache` and cache the result of `get_mode` and `determine_export_assignments` — web-infra-dev/rspack3 reactions · 5 comments
- Jul 16, 2026chore(deps): update dependency @rslib/core to v1.0.0-beta.0 — web-infra-dev/rsbuild2 reactions · 1 comment
- May 21, 2026chore: restore Renovate workspace scanning — web-infra-dev/rsbuild2 reactions
- Apr 8, 2026chore(deps): update Rslib 0.21.0 — web-infra-dev/rsbuild2 reactions · 1 comment
34 more on GitHub
- Apr 7, 2026feat(create-rsbuild): add rsbuild best practices skill — web-infra-dev/rsbuild2 reactions
- Sep 3, 2025fix: respect to `jsc.output.charset` in swc loader — web-infra-dev/rspack2 reactions · 3 comments
- Jun 7, 2025chore(deps): update @rslib/core to 0.9.2 — web-infra-dev/rsbuild2 reactions · 1 comment
- Oct 30, 2026chore(deps): update dependency @rslib/core to ~1.0.5 — web-infra-dev/rstest1 reaction · 2 comments
- Oct 14, 2026chore(deps): update dependency @rslib/core to ~1.0.3 — web-infra-dev/rstest1 reaction · 2 comments
- Sep 3, 2026chore(deps): upgrade Rslib to 1.0.0 — web-infra-dev/rspack1 reaction · 4 comments
- Sep 3, 2026chore(deps): upgrade Rslib to v1.0.0 — web-infra-dev/rsbuild1 reaction · 1 comment
- Sep 3, 2026chore(deps): update Rslib to v1.0.0 — web-infra-dev/rsdoctor1 reaction · 3 comments
- Sep 3, 2026chore(deps): update Rslib to 1.0.0 — web-infra-dev/rstest1 reaction · 2 comments
- Sep 3, 2026chore(deps): upgrade Rslib to 1.0.0 — rstackjs/rstack-cli1 reaction · 2 comments
- Sep 3, 2026chore: use a tilde range for Rslib — rstackjs/rslib-stackblitz-example1 reaction · 1 comment
- Sep 3, 2026chore(deps): upgrade @rslib/core to 1.0.0 — web-infra-dev/rslint1 reaction
- Sep 3, 2026chore: upgrade Rslib to v1.0.0 — rstackjs/rslib-stackblitz-example1 reaction · 1 comment
- Aug 31, 2026fix(core): restore defineConfig completions — web-infra-dev/rstest1 reaction · 2 comments
- Aug 27, 2026chore(deps): update dependency @rslib/core to v1.0.0-rc.2 — web-infra-dev/rstest1 reaction · 1 comment
- Aug 19, 2026refactor(create-rstack): align library templates with Rslib — rstackjs/rstack-cli1 reaction · 1 comment
- Aug 13, 2026chore(deps): upgrade Rslib to 1.0.0-beta.3 — web-infra-dev/rsbuild1 reaction
- Aug 13, 2026fix(build): disable Rslib createRequire parser — web-infra-dev/rstest1 reaction · 1 comment
- Aug 10, 2026fix(addon-rslib): support configs without lib — rstackjs/storybook-rsbuild1 reaction · 2 comments
- Aug 6, 2026chore(deps): upgrade Rslib to 1.0.0-beta.2 — rstackjs/rstack-cli1 reaction · 1 comment
- Aug 6, 2026chore(deps): upgrade Rslib to v1.0.0-beta.2 — web-infra-dev/rsbuild1 reaction
- Aug 4, 2026chore(build): enable createRequire parser in Rslib builds — web-infra-dev/rspack1 reaction · 3 comments
- Jul 30, 2026chore(ci): speed up Playwright browser setup — web-infra-dev/rsdoctor1 reaction · 1 comment
- Jul 30, 2026chore(ci): use system Chrome for E2E tests — rstackjs/rsbuild-plugin-rsc1 reaction · 1 comment
- Jul 23, 2026chore(deps): upgrade Rslib to 1.0.0-beta.1 — web-infra-dev/rspack1 reaction · 3 comments
- Jul 23, 2026refactor(core): output declaration files to dist — web-infra-dev/rsbuild1 reaction · 1 comment
- Jul 23, 2026chore(deps): upgrade Rslib to 1.0.0-beta.1 — web-infra-dev/rspress1 reaction · 2 comments
- Jul 23, 2026chore(deps): upgrade Rslib to 1.0.0-beta.1 — web-infra-dev/rsbuild1 reaction · 1 comment
- Jul 22, 2026refactor(core/rsbuild): reuse Rsbuild restart lifecycle — web-infra-dev/rspress1 reaction · 7 comments
- Nov 7, 2025Module Federation type issue with @module-federation/rsbuild-plugin — module-federation/core1 reaction · 3 comments
- Sep 3, 2025[Bug]: can't resolve project's tsconfig path correctly — web-infra-dev/rstest0 reactions
- Jun 14, 2025[Bug]: Dead link check does not support index conventions — web-infra-dev/rspress0 reactions
- Nov 20, 2024[Bug]: Abnormal jump positions when click link that contains anchor — web-infra-dev/rspress0 reactions
- Nov 12, 2024[Feature]: Support passing getResolve in external function — web-infra-dev/rspack0 reactions · 1 comment
On Bluesky · 2
- Nov 21, 2024🎉 Rslib v0.1 is now public! The goal of Rslib is to create JavaScript libraries in an simple and intuitive way. It currently supports:… — @rspack.dev24 likes and reposts · 1 reply
- Feb 11, 2025Try it out: github.com/web-infra-de... — @rspack.dev3 likes and reposts
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- create-draft-release-notesSkill
- pr-creatorSkill
- releaseSkill
- rspress-description-generatorSkill
- rstack-cli-docsSkill
- rstack-docs-writerSkill
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.

