Developer Guide
Contributor-oriented development guide for Knowns.
Developer Guide
Start here if you are contributing to Knowns.
Read first
README.mddocs/en/README.md- MCP
initialand on-demandhelpoutput when working through an AI assistant
Important directories
internal/cli/internal/mcp/handlers/internal/search/internal/runtimeinstall/internal/codegen/internal/storage/tests/ui/
Useful commands
bash
go build -o ./bin/knowns ./cmd/knowns
go test ./...
go test ./internal/cli -count=1
go test ./tests -count=1
Working rule of thumb
When behavior changes, keep code, tests, and docs aligned in the same pass whenever possible.
Developer guide
Bắt đầu từ đây nếu muốn đóng góp cho Knowns.
Đọc trước
README.mddocs/en/README.md- MCP
initialvà on-demandhelpoutput khi làm việc qua AI assistant
Thư mục quan trọng
internal/cli/internal/mcp/handlers/internal/search/internal/runtimeinstall/internal/codegen/internal/storage/tests/ui/
Lệnh hay dùng
bash
go build -o ./bin/knowns ./cmd/knowns
go test ./...
go test ./internal/cli -count=1
go test ./tests -count=1
Nguyên tắc
Khi behavior thay đổi, giữ code, tests, và docs đồng bộ trong cùng một pass.