Crate prodigy

Crate prodigy 

Source
Expand description

§Prodigy

A dead simple Rust CLI tool that makes your code better through Claude CLI integration.

§Usage

prodigy cook [--focus "area"] [-n iterations] [--map "pattern"] [--args "value"]

§Modules

  • abstractions - Trait-based abstractions for external dependencies (git, Claude CLI)
  • analytics - Claude session correlation and analytics
  • commands - Modular command handler architecture for extensible workflow commands
  • config - Configuration management for the tool
  • cook - Core cooking command implementation with mapping support
  • git - Granular, testable git operations layer
  • init - Initialize Prodigy commands in projects
  • scoring - Unified project health scoring system
  • simple_state - Minimal state management with JSON persistence
  • storage - Global storage management for events, DLQ, and job state
  • subprocess - Unified subprocess abstraction layer for testing
  • worktree - Git worktree management for parallel sessions
  • unified_session - Unified session management with event-driven architecture
  • testing - Testing utilities and fixtures for comprehensive testing
  • core - Pure business logic functions without I/O operations

Re-exports§

pub use error::ErrorCode;
pub use error::ProdigyError;

Modules§

abstractions
Abstraction layers for external dependencies
app
Application module
cli
CLI command handlers
commands
Modular command handler architecture for extensible workflow commands
config
cook
Cook module - orchestrates improvement sessions
core
Core business logic module with pure functions
error
git
Granular git operations layer
init
Prodigy project initialization for Claude Code integration
resume_logic
Pure functions for resume workflow logic Following functional programming principles with no side effects
scoring
Unified scoring system for project health assessment
storage
Storage abstraction layer for Prodigy
subprocess
Unified subprocess abstraction layer for external tool integration
testing
Testing utilities and fixtures
unified_session
Unified session management for Prodigy
worktree
Git worktree management for parallel MMM sessions

Macros§

assert_err
Assert that a result is Err and return the error
assert_error_contains
Assert that an error message contains a specific string
assert_ok
Assert that a result is Ok and return the value
prodigy_error
Macro for quick error creation with context

Type Aliases§

LibResult
Standard result type for library operations