Contributing
What this page is about: how to change this repo without reintroducing stale stack fiction in the docs hub.
Workflow
- Branch from
mainwith a readable name (feat/…,fix/…,docs/…). - Use pnpm for all installs and scripts.
- Run
pnpm validateandpnpm testbefore opening a PR. - For user-visible product marketing, update both
projectShowcaseProjects.tsandsrc/products/showcase/<id>.mdin the same change.
Documentation rules
| Rule | Detail |
|---|---|
| Source audit | Required — read implementation files; cite paths in a Sources footer. READMEs are not sufficient alone. |
| Hub vs code-adjacent | Curated truth lives under guides/, philosophy/, products/, idling/ |
Co-located .md | Replace bootstrap stubs with audited content when you touch that module |
| Protected home | src/index.md and src/lib/utils/index.md — enrich, do not overwrite with automation |
| Truth source | route.ts, plugin.yml, OpenAPI beat prose when they disagree |
Hub copy ban list
Do not write these as facts on hub pages:
- Jest as the test runner (use Vitest)
- Yarn as default package manager (use pnpm)
- Next.js 14 / Node 18 as current targets
- Tailwind as the primary styling stack for this app
- Jekyll or
community/doc hosting /docs/apipaths (DocusaurusrouteBasePathis/)
CLAD and tests
Follow CLAD advisory guidance. Prefer trace-tagged Vitest tests per Traceability.