<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds an explicit Husky pre-commit setup to run the formatter and linter
before each commit. Replaces the auto-run prepare hook with a manual npm
run init-precommit command.
- **Migration**
- Run npm run init-precommit once in your repo to install the pre-commit
hook.
<!-- End of auto-generated description by cubic. -->
This PR adds a reference to the architecture doc in contributing.md .
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Added a link to the Architecture Guide in CONTRIBUTING.md to give
contributors a high-level overview and ensure changes align with the
project architecture.
<!-- End of auto-generated description by cubic. -->