Infinite Toolkit (TK) offers a comprehensive suite of core components for Infinite projects. The library includes value objects, utilities for Clean Architecture layers, service abstractions, and other foundational elements.
While developed primarily for Infinite ecosystem projects, this open-source library is available for general use under the MIT license.
If you're looking for UI components, please refer to the Infinite UI repository.
[!TIP]
Working with an AI agent? Point it to skills/tk-usage/SKILL.md before it writes code that imports TK. Installed projects find the same file at $(go env GOMODCACHE)/github.com/goinfinite/tk@<version>/skills/tk-usage/SKILL.md.
[!IMPORTANT]
Human Reviewed: AI models assist development, but senior developers review every line for coherence, readability, and maintainability.
Installation
To use Infinite Toolkit (TK) in your project, you can install it using Go modules. Run the following command in your terminal:
go get github.com/goinfinite/tk
Components
Infinite Toolkit (TK) is organized in three Clean Architecture layers:
- Domain — validated value objects, entities, DTOs, repository interfaces, use cases, and the Activity Record Management subsystem.
- Infrastructure — file, shell, network, crypto, and database helpers, plus repository implementations.
- Presentation — request parsers, response wrappers, and Echo middleware.
Each layer README documents its components with usage snippets.
Skills for Agents
TK provides reusable agent skills for common workflows — testing, automation, and operational tasks. These skills are designed for agents working on projects that import TK as a dependency.
Available skills:
- OpenAPI Testing — generates deterministic shell scripts from Swagger/OpenAPI specs. Agents explore endpoints interactively, validate payloads, and write working curl commands. Subsequent runs diff the spec against the script and test only what changed.
- TK Usage — orients agents in projects that import TK: presents the three layers, routes to the right layer README, and states the usage conventions.
For agents: Reference skills from the Go module cache at $(go env GOMODCACHE)/github.com/goinfinite/tk@*/skills/<skill-name>/SKILL.md. See skills/README.md in the TK source for full documentation.