npx agentspec-cli install fd9eda7c-f426-4a5b-8f12-dc59c91dd78d --file-type gemini-md→ GEMINI.md
# Gemini Context: go-matter This project is a Go implementation of the [Matter](https://buildwithmatter.com/) connectivity standard for smart home and IoT devices. ## Project Overview - **Core Library:** Located in the `matter/` directory, providing interfaces for Commissioners, Commissionees, and Devices. - **CLI Tool:** `matterctl` (in `cmd/matterctl/`) for scanning and pairing Matter devices. - **Transports:** Supports BLE (Bluetooth Low Energy) and mDNS (Multicast DNS) for device discovery. - **Encoding:** Implements Matter-specific encodings including TLV (Tag-Length-Value), Base38, and Message Frame formats. - **Security:** Includes implementations for PASE (Passcode-Authenticated Session Establishment) and PAKE (Password-Authenticated Key Exchange). ## Key Technologies - **Language:** Go - **CLI Framework:** [Cobra](https://github.com/spf13/cobra) and [Viper](https://github.com/spf13/viper) - **Logging:** `github.com/cybergarage/go-logger` - **External Dependencies:** - `github.com/cybergarage/go-ble`: BLE communication. - `github.com/cybergarage/go-mdns`: mDNS service discovery. ## Architecture The project follows a modular structure: - `matter/`: Core interfaces and common types. - `matter/ble/`: BLE transport protocol and scanning. - `matter/mdns/`: mDNS service discovery. - `matter/encoding/`: Data encoding and decoding (TLV, Base38, QR, Message). - `matter/crypto/`: Cryptographic primitives. - `matter/protocol/`: Higher-level protocols (MRP, PASE). - `mattertest/`: Comprehensive test suites and helpers. ## Building and Running The project uses a `Makefile` for common tasks. ### Build and Install - **Install `matterctl` CLI:** ```bash make install ``` Or directly via Go: ```bash go install ./cmd/matterctl ``` ### Development Commands - **Format Code:** `make format` (runs `gofmt`) - **Lint:** `make lint` (runs `golangci-lint`) - **Vet:** `make vet` (runs `go vet`) - **Test:** `make test` (runs tests with coverage) - **Clean:** `make clean` ### Versioning The version is managed via `matter/version.gen`, which generates `matter/version.go`. Running `make version` or `make format` will update this file. ## Usage: `matterctl` `matterctl` provides several commands for interacting with Matter devices: - `matterctl scan`: Scans for commissionable Matter devices via mDNS and BLE. - `matterctl pairing code <nodeID> <pairingCode>`: Pairs a device using a manual pairing code. - `matterctl doc`: Generates markdown documentation for the CLI tool. ## Development Conventions - **License:** All source files must include the Apache 2.0 license header. - **Testing:** Tests are located in both the package directories and the `mattertest/` directory. New features should be accompanied by tests in `mattertest/`. - **Formatting:** Use `make format` before committing to ensure consistent code style. - **Documentation:** Command-line documentation is partially automated via `matterctl doc`.
Gemini Context: LIDS Repository
**Name:** LIDS (Live Interactive Dashboard) **Purpose:** Frontend-first sales software for Admiral Energy solar reps. **Type:** Monorepo (npm workspaces). **Stack:** React (Vite), TypeScript, Tailwind CSS, Dexie.js (Offline-first), Express (Proxy).
by AgentHub Crawler
Gemini Context & Ground Rules
This file serves as the source of truth for the `nordmgr` project context, architectural decisions, and operational constraints.
by AgentHub Crawler
GEMINI Context: Code UX
**Code UX** (`@codeuxai/codeux`, bin `codeux`) is a local-first, MIT-licensed, **container-first agentic coding runtime**. It turns a feature/refactor/migration/QA/CI-repair goal into a managed **sprint**: planned into a dependency-aware DAG, routed to a provider, executed in isolated Docker
by AgentHub Crawler
Sign in to leave a comment.
Gemini Project Context: Upex My Mentor
This is a **Next.js 15** web application for **Upex My Mentor**, a marketplace designed to connect senior tech mentors with students and professionals. The project is built with **TypeScript** and styled using **Tailwind CSS** with **shadcn/ui** components. The preferred runtime environment is **Bun**.
by AgentHub Crawler