name: fix-issue description: Fetch a GitHub issue, analyze it, fix it, and open a PR
Fix Issue #
- Fetch issue details:
gh issue view <number> --json title,body,labels,comments - Analyze the issue and identify the relevant code area
- Implement the fix in
custom_components/dynamic_energy_contract_calculator/ - Write/update tests in
tests/test_<module>.py - Verify all tests pass:
python -m pytest tests/ -v - Run linting:
ruff check custom_components/ && ruff format custom_components/ - Commit with:
fix: resolves #<number> - <short description> - Open a PR:
gh pr create --title "fix: #<number> <title>" --body "Fixes #<number>"