Thanks for your interest in improving OpenSpecUI.
- Node.js 20+ (24 recommended)
pnpm10+bun(forpnpm dev)
Optional:
- Nix (for reproducible shell/build)
pnpm install
pnpm build
pnpm devWith Nix:
nix develop
pnpm install
pnpm dev- Create a branch from
main. - Start the repo development environment with
pnpm dev. - Implement your changes against the source dev environment first.
- When you need to verify the bundled/CLI-served result, open a second terminal and run
pnpm openspecui. - Do not treat
pnpm openspecuias the primary monorepo dev entry. It serves the built web assets and is meant for final packaged-behavior verification, so it can look stale if you skippnpm dev. - Run checks locally:
pnpm lintpnpm test:cipnpm build
- Open a Pull Request.
mainis protected: do not push directly tomain.- All changes go through PR review + required CI checks.
- Keep PRs focused and small when possible.
For user-facing changes, add a changeset:
pnpm changesetThen include it in your PR.
Maintainers run versioning/release flows on main.
- Follow
CLAUDE.mdand repository conventions. - Prefer type-safe implementations (avoid
anyunless unavoidable). - Keep changes minimal and pragmatic (KISS/YAGNI/DRY/SOLID).
- Open an issue with clear reproduction steps.
- Include environment details (
node,pnpm, OS, and command output).