Cadence

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

View the Project on GitHub nik190799/cadence

Recipe — Rust

A starter cadence.yaml for a typical Rust project.

commands:
  format: ["cargo fmt --check"]
  lint:   ["cargo clippy -- -D warnings"]
  test:   ["cargo test"]

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

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

Notes

Suggested first ADRs

  1. Error type strategy (Result<T, MyError> / anyhow / thiserror)
  2. Async runtime (Tokio / async-std / smol)
  3. Trait-based polymorphism vs enum dispatch