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)commands- Modular command handler architecture for extensible workflow commandsconfig- Configuration management for the toolcook- Core cooking command implementation with mapping supportcore- Pure business logic functions without I/O operationseffects- Effect-based operations for composable I/Oenv- Environment abstraction layer for dependency injection and testinggit- Granular, testable git operations layerinit- Initialize Prodigy commands in projectsstorage- Global storage management for events, DLQ, and job statesubprocess- Unified subprocess abstraction layer for testingworktree- Git worktree management for parallel sessionsunified_session- Unified session management with event-driven architecturetesting- Testing utilities and fixtures for comprehensive testing
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
- effects
- Effect-based operations for composable I/O (future implementation)
- env
- Environment abstraction layer for dependency injection and testing
- error
- Prodigy Error System
- 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
- 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