Develop Golf
This page is for contributors to Golf's product, website or documentation. It lists the repositories and the local checks to run before you change them.
This portable contract describes its linked source snapshot. For current deployment instructions, use current installation, authentication and native Cloudflare guides. Historical receipts do not verify later builds.
Repositories
The product, marketing website and documentation are independent repositories:
| Repository | Contents |
|---|---|
| golf-git | Go/React application, Compose and implementation plan |
| golf-website | Astro marketing site |
| golf-docs | This Docusaurus site |
No CI workflows are configured yet. Run checks locally and record evidence.
Documentation
# Documentation repository
npm ci
npm run check
npm run llms
npm run build
npm run check:build
Current Markdown lives in docs/; MDX is available for useful embedded components. Do not describe planned features as shipped. Do not invent version snapshots just to fill the selector. See Versioning and generated reference.
Application
Follow the application's README and AGENTS.md. Keep AI and Cloudflare optional for the portable core. Use supported Forgejo APIs rather than internal database writes.
Change the product contract
- Edit
api/golf/v1/golf.proto. - Run
make generate. - Run
make generate-checkand the applicable server/CLI/browser checks. - Update the API and CLI guides with the actual generated field and presence rules.
The product pins Buf, Protobuf/Connect generators and SQLC. Never hand-edit generated clients, create a parallel REST model or infer a stable release from the schema's v1 package name.