Thanks for contributing to proxykit.
go test ./...
go test -race ./...npm ci
npm run docs:buildnpm run docs:dev
go test ./... -run ExampleKeep proxykit focused on reusable transport foundations.
Good additions:
- transport handlers
- listener lifecycle helpers
- neutral observation contracts
- focused helpers that support transport seams
Bad additions:
- app-specific REST DTOs
- admin auth policy
- UI preview models
- monitor room protocol
- product-specific route names
- storage ownership or spool lifecycle policy
- prefer small packages with explicit responsibility
- prefer additive
Optionsfields over breaking redesigns - prefer concrete types over exported interfaces unless polymorphism is essential
- keep examples compile-checked
- document non-obvious behavior in the docs site, not only in code comments
This repository uses Conventional Commits.
Examples:
docs: add cookbook and migration guidesfeat(reverse): add redirect rewrite helperfix(connect): normalize hijack error handling
Before opening a PR:
- run the Go test suite
- run race tests
- build the docs site
- make sure the change still respects the transport vs app boundary