Cadence

A stack-agnostic, self-improving AI development framework as a Claude Code plugin.

View the Project on GitHub nik190799/cadence

Recipe — Go

A starter cadence.yaml for a typical Go project.

commands:
  format: ["gofmt -l .", "goimports -l ."]
  lint:   ["golangci-lint run"]
  test:   ["go test ./..."]

boundaries:
  - where: "internal/features/**"
    forbidden:
      - "internal/data/sources/**"
      - "internal/data/repositories/**"
    reason: "Features must read via narrow providers in internal/app"

  - where: "internal/data/sources/**"
    forbidden:
      - "internal/features/**"
      - "internal/app/**"
    reason: "Data sources are leaf-level"

Notes

Suggested first ADRs

  1. Error handling pattern (sentinel errors / wrapped errors / typed errors)
  2. Context propagation (which functions take context.Context, defaults)
  3. Logging library and structured-log shape