Development Setup¶
Prerequisites¶
- Python 3.10+
- UV package manager
- Git
Installation¶
-
Clone the repository:
git clone https://github.com/your-org/xx-shell.git cd xx-shell -
Create virtual environment:
uv venv .venv -
Activate environment:
source .venv/bin/activate -
Install dependencies:
uv pip install -r requirements.txt -r requirements-dev.txt
Development Tools¶
- Formatting:
blackandisort - Linting:
flake8 - Type checking:
mypy - Testing:
pytest
Pre-commit Hooks¶
Install pre-commit hooks:
pre-commit install
Running Tests¶
Run all tests:
pytest
Run tests with coverage:
pytest --cov
Development Roadmap¶
Phase 1: Core Functionality (2 weeks)¶
- Basic command interpreter
- Execution layer
- Data storage
Phase 2: Advanced Features (3 weeks)¶
- Command optimization
- Context management
- User interface
Phase 3: Ecosystem Integration (2 weeks)¶
- Plugin system
- Cross-platform support
- Documentation