Contributing
Read the repository contribution guide and security policy.
Keep Transport, Protocol, Capability, Agent and UI responsibilities separate. Submit narrowly scoped Conventional Commits. New support needs a reviewed manifest, pinned evidence, replay tests, failure handling and honest user-visible status—not necessarily another maintainer-owned copy of the hardware.
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --all-features --lockedcargo +1.85.0 check --workspace --all-features --lockedpnpm --dir docs install --frozen-lockfilepython3 tools/build_docs.pypnpm --dir docs exec playwright install chromiumpnpm --dir docs run test:siteUse the Node LTS major in docs/.node-version and pnpm pinned in
docs/package.json. The build generates the English handbook at target/site/,
Chinese under zh-CN/, and rustdoc crate pages under api/, without fetching
translations. Preview with pnpm --dir docs run preview, then
open http://localhost:4321/razers/. Hosted 404 pages use the /razers/ project mount.
The API reference documents workspace libraries; executable usage belongs in the
handbook. Rustdoc’s own navigation remains upstream English, with bilingual
project API comments and Starlight API overviews in both languages.
Update English and Chinese messages/chapters together. Follow the localization guide, safety policy and evidence policy. Do not upload private identifiers or live input traces. Security vulnerabilities should be reported privately using GitHub’s repository security reporting facility rather than a public issue.
You can contribute upstream evidence without hardware. For questions, feature requests, and conduct expectations, see community and support.