# Task Completion Checklist
When completing a task in this project, follow these steps:
## 1. Code Quality Checks
Run all code quality tools before committing:
```bash
# Format code
black src/
# Lint and auto-fix
ruff check src/ --fix
# Type checking
mypy src/
```
## 2. Testing
Run the full test suite:
```bash
# Run all tests
pytest
# Run with coverage (if needed)
pytest --cov=src/gradle_mcp
# Run specific tests for the area you changed
pytest tests/test_gradle.py -v
pytest tests/test_security.py -v
```
## 3. Implementation Verification
If you've modified core functionality:
```bash
python test_implementation.py
```
## 4. Documentation
- Update docstrings for any modified/new functions
- Update README.md if adding new features or changing behavior
- Update SECURITY_FIX.md if making security-related changes
## 5. Commit Guidelines
- Use clear, descriptive commit messages
- Reference any related issues
- Keep commits focused on single logical changes
## Quick One-Liner
For quick validation after changes:
```bash
black src/ && ruff check src/ --fix && mypy src/ && pytest
```
## Pre-Push Checklist
- [ ] All tests pass (`pytest`)
- [ ] Code is formatted (`black src/`)
- [ ] No linting errors (`ruff check src/`)
- [ ] Type hints are valid (`mypy src/`)
- [ ] Documentation updated (if applicable)