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/battery_controller/ - Write/update tests in
tests/ - Verify all tests pass:
python -m pytest tests/ -v - Run pre-commit:
pre-commit run --all-files - Commit with:
fix: resolves #<number> - <short description> - Open a PR:
gh pr create --title "fix: #<number> <title>" --body "Fixes #<number>"