Skip to main content

Crate croft

Crate croft 

Source
Expand description

croft — a per-project dev-loop tool that adapts to your project.

Each top-level module is a bounded context. Concrete responsibilities:

  • config — parse and validate user-authored configuration into immutable value objects.
  • cache — content-addressed git cache shared by hooks and agents.
  • container — abstraction over container backends (compose, custom, devcontainer, null).
  • runtime — recipe resolution and execution; orchestrates env, processes, services, and backends.
  • hooks — git hook installation and pre-commit-config compatibility.
  • agents — manage agent instructions sourced from upstream repos.
  • tui — embedded TUI dashboard.
  • cli — argv parsing and dispatch; the binary entry lives in src/main.rs.

Modules§

agents
Manage agent instructions and skills (CLAUDE.md, AGENTS.md, .claude/skills/, …) sourced from one or more upstream git repos.
cache
Content-addressed git cache used by croft-hooks and croft-agents. See git for the surface and on-disk layout.
cli
croft CLI surface.
config
croft configuration domain.
container
Container backend abstraction.
hooks
Git hook installation and pre-commit-config compatibility.
runtime
croft runtime — recipe resolution and execution.
tui
croft TUI — embedded dashboard.