Skip to content

alex-jadecli/jadecli

Repository files navigation

JadeCLI

Modern development toolkit with AI-first workflows for jade-ide and jade-cli.

Features

  • Topic-based LRU caching - Separate caches by topic (web search, code analysis, LLM responses)
  • Non-blocking build diagnostics - Priority-based issues (CRITICAL/HIGH/MEDIUM/LOW)
  • CodeRabbit integration - AI code review in your workflow chain
  • Taskmaster workflow chains - Task completion → diagnostics → review → PR
  • Conventional commits - Semver releases with automated versioning
  • Pydantic settings - Centralized configuration with environment variables

Installation

# Production install
uv sync --no-dev

# Development install
uv sync
uv pip install -e ".[dev]"

Usage

CLI

# Run build diagnostics
jadecli build

# Run PR review workflow
jadecli review --base main

# View settings
jadecli settings

As a Library

from jadecli import get_settings
from jadecli.cache import parallel_lru_cache, CacheTopic
from jadecli.build import run_build

# Get settings
settings = get_settings()

# Cache by topic
@parallel_lru_cache(CacheTopic.CODE_ANALYSIS)
def analyze_code(source: str) -> dict:
    ...

# Run build with diagnostics
result = run_build(include_coderabbit=True)
if result.should_proceed:
    # Ready for commit
    ...

Configuration

Copy .env.template to .env and configure:

cp .env.template .env

Key environment variables:

Variable Description
CODERABBIT_API_KEY CodeRabbit API key for AI code review
PARALLEL_AI_API_KEY Parallel AI API key for structured outputs
ANTHROPIC_API_KEY Anthropic API key for Claude
GITHUB_TOKEN GitHub token for repository operations

Development

# Run tests
just test

# Run linter
just lint

# Format code
just format

# Type check
just typecheck

# All checks
just check

License

MIT

About

Modern development toolkit with AI-first workflows

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors