Contributing Guide
Everything you need to know to start contributing to the NestForge framework.
Baseline expectations
Section titled “Baseline expectations”NestForge expects contributors to keep changes scoped, documented, and validated. The current repository guidance emphasizes:
- small, focused changes
- tests with behavior changes
- docs updates for public API or CLI changes
- conventional commits for accurate release notes
Local workflow
Section titled “Local workflow”If you are working on the NestForge framework repository itself, start by cloning and validating the workspace:
git clone https://github.com/vernonthedev/nestforge.gitcd nestforgecargo check --workspaceThat verifies the workspace and examples type-check together from a clean machine.
Depending on the area you are changing, you may also need:
protocfor gRPC-related work- a reachable database for database-backed examples or tests
From the repository root, the important commands are:
cargo checkcargo build --workspacecargo test --workspacecargo fmt --allcargo clippy --workspace --all-targets -- -D warningsCommit format
Section titled “Commit format”Use Conventional Commits such as:
feat:fix:docs:refactor:chore:
Scopes are encouraged when they improve clarity:
feat(core): add request extractorfix(cli): support nested module generation
Documentation rule
Section titled “Documentation rule”If you change:
- public API behavior
- CLI behavior
- generated app structure
- example behavior
then update docs and examples in the same workstream.
Good contributor habits
Section titled “Good contributor habits”Before opening a PR:
- confirm the code lives in the correct crate
- verify examples still reflect the intended user flow
- keep public re-exports intentional
- avoid unrelated refactors in the same commit series