Skip to main content
Contributions should start from main and stay focused on utilities that are broadly useful to Star Network projects.

Set Up the Repository

Node.js 24 matches CI, while packages support Node.js 20 and newer.

Run the Quality Gates

Build before typechecking because cross-package type resolution uses generated declarations:
Package changes need a changeset:
Documentation-only changes can use an empty changeset.

Work on the Documentation

The docs command regenerates the API reference from all public package entry points and starts VitePress. Package guides include the package README content, so edit packages/<name>/README.md when the same guidance should appear on npm. Verify a production documentation build with:

Project Guidelines

  • Keep additions useful across projects rather than tied to one bot.
  • Preserve sharding compatibility.
  • Prefer behavior-oriented APIs with predictable state.
  • Follow the repository’s Oxlint and Oxfmt configuration.
  • Add tests for behavior changes and update package documentation when public APIs change.
See the complete contributing guide before opening a pull request.