This file provides guidance to Claude Code (claude.ai/code) when working with this project.
{{project_name}} - {{description}}
- Package Management: Use
uvfor all dependency management - Testing: Maintain minimum 80% code coverage
- Code Quality: Run
make checkbefore committing - Documentation: Update docstrings and README when adding features
# Install dependencies
uv sync --dev
# Run tests with coverage
uv run pytest --cov={{package_name}}
# Format and lint code
make format
make lint
# Run all checks
make check
# Build package
uv build
# Clean artifacts
make clean-all- Python {{python_version}}+
- Type hints for all functions
- Docstrings for all public APIs
- Tests for all new features
- Pre-commit hooks must pass
src/{{package_name}}/main.py- Main implementationtests/test_main.py- Test suitepyproject.toml- Project configurationMakefile- Common tasks.github/workflows/ci.yml- CI/CD pipeline
- Minimum 80% overall coverage
- Critical modules: 90-100% coverage
- All new code must include tests
- Run
make test-covto verify coverage
- Use
rufffor linting - Use
blackfor formatting - Use
mypyfor type checking - Run
make formatbefore committing
- Create feature branch from
main - Make changes and add tests
- Run
make checkto verify all checks pass - Commit with descriptive messages
- Open PR with description of changes
GitHub Actions runs on all pushes and PRs:
- Tests on Python {{python_version}} across multiple OS
- Linting and formatting checks
- Type checking
- Coverage reporting
uv add package-name # Production dependency
uv add --dev package-name # Development dependencyuv run pytest tests/test_specific.py
uv run pytest -k "test_function_name"uv run python -m pdb src/{{package_name}}/main.py
uv run ipython # Interactive Python shell{{project_specific_notes}}
Generated from vibe-coding-templates