Build Tools

AI-powered utilities for automated code generation, documentation processing, and task execution. Embed intelligent workflows into your build processes or run standalone.

Key Components

DocProcessor

Processes markdown documentation files to generate or update code files. Supports bidirectional documentation-code synchronization via YAML frontmatter.

FileGenerator

Flexible framework for generating files based on source files and AI assistance. Perfect for test generation and boilerplate creation.

ExceptionFixer

Analyzes exception stack traces and automatically generates fixes for relevant source files using fuzzy patching.

PlanHarness

Executes complex multi-step AI plans using cognitive modes for sophisticated task orchestration.

TaskHarness

Executes single AI tasks with specific configurations for focused, targeted operations.

UnifiedHarness

Core infrastructure for running AI-assisted operations in server or serverless mode.

DocProcessor

The DocProcessor processes markdown documentation files that specify target files via YAML frontmatter. It supports bidirectional documentation-code synchronization.

Frontmatter Keys

Key Description
specifies Glob pattern(s) for files to generate/update based on this documentation
documents Glob pattern(s) for source files this documentation describes
transforms Pattern-based file transformations using regex with capture groups
generates Non-pattern-based generation with explicit output and input files
related Additional files to include as context

Basic Specification Example

yaml
---
specifies: ../src/main/kotlin/MyClass.kt
---
# MyClass Documentation
This class should implement...

Overwrite Modes

Mode Behavior
SkipExisting Never modify existing files
OverwriteExisting Always replace existing files
OverwriteToUpdate Replace only if source is newer
PatchExisting Apply incremental patches to existing files
PatchToUpdate Apply patches only if source is newer

Supported AI Providers

Provider Model Example Environment Variable
Google Gemini 3.0 GOOGLE_API_KEY
OpenAI GPT-4o OPENAI_API_KEY
Anthropic Claude 4.5 ANTHROPIC_API_KEY
Groq Llama 3 70B GROQ_API_KEY