mirror of
https://github.com/ultraworkers/claw-code.git
synced 2026-06-19 01:25:55 +08:00
22 lines
1.0 KiB
Markdown
22 lines
1.0 KiB
Markdown
|
|
# CLAW.md
|
||
|
|
|
||
|
|
This file provides guidance to Claw Code when working with code in this repository.
|
||
|
|
|
||
|
|
## Detected stack
|
||
|
|
- Languages: Rust.
|
||
|
|
- Frameworks: none detected from the supported starter markers.
|
||
|
|
|
||
|
|
## Verification
|
||
|
|
- Run Rust verification from `rust/`: `cargo fmt`, `cargo clippy --workspace --all-targets -- -D warnings`, `cargo test --workspace`
|
||
|
|
- `src/` and `tests/` are both present; update both surfaces together when behavior changes.
|
||
|
|
|
||
|
|
## Repository shape
|
||
|
|
- `rust/` contains the Rust workspace and active CLI/runtime implementation.
|
||
|
|
- `src/` contains source files that should stay consistent with generated guidance and tests.
|
||
|
|
- `tests/` contains validation surfaces that should be reviewed alongside code changes.
|
||
|
|
|
||
|
|
## Working agreement
|
||
|
|
- Prefer small, reviewable changes and keep generated bootstrap files aligned with actual repo workflows.
|
||
|
|
- Keep shared defaults in `.claw.json`; reserve `.claw/settings.local.json` for machine-local overrides.
|
||
|
|
- Do not overwrite existing `CLAW.md` content automatically; update it intentionally when repo workflows change.
|