Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# AGENTS.md

## Cursor Cloud specific instructions

This is a Go CLI tool (disk space analyzer). No external services or databases required.

**Build & Run:**
- `go build -o godiskanal .` — builds the binary
- `./godiskanal --path <dir> --top N` — runs a scan on a given directory

**Testing:**
- `go test ./...` — runs all tests (38 tests across 5 packages)
- `go vet ./...` — static analysis / linting

**Notes:**
- The tool is designed for macOS, but builds and runs on Linux. macOS-specific features (Homebrew cache, Time Machine, iOS Simulators) gracefully degrade on Linux.
- The `--llm` flag requires an `OPENAI_API_KEY` env var or `--api-key` flag; this is optional and not needed for core scanning/browsing/cleanup functionality.
- TUI modes (`-b` for browser, `-i` for interactive cleanup) require a terminal; they use Bubble Tea and will not work in non-TTY contexts.
- No Makefile, Dockerfile, or CI config exists; the standard Go toolchain is the only build dependency.