Skip to content

Contributing to nexu

This page is the English entry point for contributing to nexu.

Canonical Source

The canonical English contributing guide lives at the repository root:

If you want to update the English contribution guide itself, edit that file first.

Quick Notes

  • Search existing issues and discussions before starting a larger change.
  • Keep pull requests small and focused.
  • Never commit secrets such as API keys or tokens.
  • If you update a guide that exists in multiple languages, keep the localized versions aligned when possible.
  • Treat AGENTS.md, ARCHITECTURE.md, CONTRIBUTING.md, and docs/** as live docs; treat specs/**, docs/plans/**, and other dated plan/spec docs as historical snapshots that are frozen by default.
  • packages/slimclaw is the single source of truth for Nexu's embedded OpenClaw runtime packaging, prepared artifacts, builtin runtime plugins, and staging contract. Runtime ownership changes should go through slimclaw by default.

Local Docs Workflow

To preview the docs site locally:

bash
cd docs
pnpm install
pnpm dev

When adding a new docs page:

  • Put English pages under docs/en/
  • Put Chinese pages under docs/zh/
  • Update docs/.vitepress/config.ts for sidebar entries
  • Verify all images load correctly from /assets/...