28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# Agent guide
|
|
|
|
Athena is a macOS bootstrap repository. Read `CLAUDE.md` and the relevant file in `specs/` before changing behavior.
|
|
|
|
## Working rules
|
|
|
|
- Keep paths relative to the repository or based on `$HOME`. Never add a literal user home path.
|
|
- Keep real manifests, credentials, private overlays, logs, sessions, and runtime state out of Git.
|
|
- Treat `rules/structure.md` as the filesystem layout contract.
|
|
- Keep root skills and their `chezmoi/dot_claude/skills/` copies in sync.
|
|
- Do not apply the repository to a live `~/.claude` while testing. Use dry runs and temporary homes.
|
|
- Keep English and Russian public documentation consistent in meaning.
|
|
- Prefer shell, Node.js, and other tools already used by the repository. Do not add a dependency for a small check.
|
|
|
|
## Required checks
|
|
|
|
Run these after behavior or documentation changes:
|
|
|
|
```bash
|
|
shellcheck -S error bootstrap.sh preinstall.sh smoke/*.sh
|
|
./bootstrap.sh --dry-run
|
|
bash smoke/smoke.sh
|
|
ATHENA_PRIVATE_DIR="$(mktemp -d)" bash smoke/dry-validate.sh
|
|
git diff --check
|
|
```
|
|
|
|
The smoke suite must finish with `SMOKE OK`. Do not describe work as complete when a required check fails.
|