Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.45 KB

File metadata and controls

53 lines (36 loc) · 1.45 KB

x

Go monorepo for within.website services. JS tooling via npm.

Commands

Command Description
npm test Generate + go test ./...
npm run format goimports + Prettier
npm run generate Protobuf, codegen, formatters
go build ./... Compile all packages
go run ./cmd/<app> Run a specific binary

Critical Rules

  • Always ask the user for intent before writing code.
  • internal.HandleStartup() calls flag.Parse() — binaries must not call flag.Parse() themselves.
  • All git commits require --signoff.

Commit Messages

Follow Conventional Commits:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

  • Add ! after type/scope for breaking changes or include BREAKING CHANGE: in the footer.
  • Descriptions: concise, imperative, lowercase, no trailing period.
  • Reference issues/PRs in the footer when applicable.
  • All commits require --signoff.

AI Attribution

AI-generated commits must include these footers:

Assisted-by: [Model Name] via [Tool Name]
Reviewbot-request: yes

Guidelines