cavekit  by JuliusBrussee

AI code generation framework with automated validation and dual-model review

Created 1 month ago
749 stars

Top 45.9% on SourcePulse

GitHubView on GitHub
Project Summary

A Claude Code plugin, Cavekit transforms natural language requirements into executable software through a structured, multi-stage process. It addresses common AI coding agent failures—context loss, lack of validation, and poor parallelism—by introducing a specification layer ("kits") and adversarial review, enabling traceable, robust software development.

How It Works

The system progresses through four phases: Research (optional multi-agent exploration), Draft (natural language to structured "kits" with requirements and criteria, reviewed by Codex), Architect (mapping kits to a tiered build site with dependencies), and Build (auto-parallel execution of tasks with validation loops). Cavekit treats specifications ("kits") as the source of truth, with code as a derivative, ensuring traceability and validation against intent. Codex, an adversarial reviewer, enhances robustness by challenging designs and reviewing code at tier gates, employing features like speculative review for low latency.

Quick Start & Requirements

Installation involves cloning the repository and running ./install.sh to register the plugin with Claude Code and install the CLI. Prerequisites include Claude Code, git, and a macOS/Linux environment. Optional but recommended is the Codex CLI (npm install -g @openai/codex) for enhanced adversarial review.

Highlighted Details

  • Traceability: Every line of code traces to a requirement, and every requirement has acceptance criteria.
  • Adversarial Review: Codex acts as a second model to review designs before building and code between build tiers, catching errors missed by the primary model.
  • Auto-Parallelism: The /ck:make command intelligently groups and dispatches independent tasks concurrently across build waves.
  • Command Safety Gate: Pre-execution checks using Codex classify or block potentially harmful shell commands.
  • Spec is the Product: Emphasizes a specification-driven development process where code is a derivative of well-defined kits.

Maintenance & Community

Cavekit is part of the "Caveman ecosystem" and integrates with "Claude Code," developed by JuliusBrussee. No explicit community links (Discord, Slack) are provided in the README.

Licensing & Compatibility

The project is licensed under the MIT License, which generally permits commercial use and closed-source linking.

Limitations & Caveats

Codex features, while enhancing robustness, are optional. Without Codex, the system gracefully degrades, skipping adversarial reviews and relying on static command allowlists/blocklists, potentially reducing validation and security check effectiveness. The system's reliance on specific Claude Code integration implies platform specificity.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
15
Issues (30d)
11
Star History
758 stars in the last 30 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.2%
18k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 2 days ago
Feedback? Help us improve.