.claude/skills/github-issue-fixy/SKILL.md
Accept a GitHub issue URL or issue details, create a comprehensive plan (in plan mode - shows plan first), then implement the solution including tests and documentation, create/update release notes for Home Assistant users, and update the README roadmap for new features. Use when the user provides a GitHub issue or asks to solve an issue. ALWAYS presents the plan first and waits for user approval before implementing.
npx skillsauth add homeassistant-extras/room-summary-card github-issue-solverInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill guides you through solving GitHub issues for the Home Assistant device-card project. It ensures comprehensive planning, testing, documentation, and release notes.
IMPORTANT: This skill runs in PLAN MODE first. You MUST present a comprehensive plan to the user and wait for their approval before implementing any code changes.
Fetch the issue details:
Understand the requirements:
Break down the work:
Create a comprehensive task list:
Present the plan to the user:
DO NOT proceed to this step until the user has reviewed and approved the plan from Step 2.
Code changes:
.prettierrc for formatting)tsconfig.json)Key areas to consider:
src/cards/ - Card implementationssrc/delegates/ - Business logic and data retrievalsrc/html/ - HTML rendering componentssrc/hass/ - Home Assistant integration codesrc/common/ - Shared utilitiessrc/types/ - TypeScript type definitionsTest coverage:
test/ directory matching the source structuretest/ directory for examples).mocharc.json and mocha.setup.ts)Test requirements:
yarn test or npm testTest file naming:
.spec.ts extensionsrc/cards/device-card/card.ts → test/cards/device-card/card.spec.tsTest consolidation strategy:
beforeEach hooksTest quality review:
README.md updates:
Code comments:
Translation files (if adding user-facing strings):
src/translations/en.json (English)fr.json, pt.json, ru.jsonRelease notes format:
RELEASE_NOTES.md or similar)Release notes structure:
## heading (level 2) for each bug fix or feature, starting with a relevant emojiRelease notes content:
Example format:
# Hidden Entity Filtering & Dark Mode!🎉✨
## 🔍 Hidden Entity Filtering
Hidden entities are now automatically filtered out from device cards, matching Home Assistant's more-info popup behavior - thanks @warmfire540 - fixes #43
## 🌙 Dark Mode Support
Added dark mode theme option for better visibility in low-light environments - thanks @username - fixes #123
Home Assistant user-friendly language:
Check if it's a new feature:
Add to roadmap:
- [ ] **`Feature Name`**: Description of feature - thanks @[username]
[ ] to [x] after implementation)Thank the contributor:
- thanks @[username]Before completing, verify:
Provide a summary of:
When presenting the plan, use this structure:
## Plan for Issue #[number]: [Title]
### Issue Summary
[Brief summary of what needs to be done]
### Files to Create/Modify
- `path/to/file1.ts` - [what will change]
- `path/to/file2.ts` - [what will change]
- ...
### Implementation Approach
[High-level description of how you'll implement the solution]
### Test Strategy
- Test file: `test/path/to/file1.spec.ts`
- **Prefer updating existing tests** rather than creating many new test cases
- **Reuse existing setup/mocks**: [describe what existing mocks or setup will be reused]
- If updating existing test: [which test and what will be added]
- If new test needed: [brief description of why and what it covers, and how it reuses existing setup]
- Aim for 1-2 focused test cases total
- **Review test file**: Check for any duplicative or low-value tests that could be removed or consolidated
### Documentation Updates
- README.md: [what sections will be updated]
- Code comments: [what will be documented]
- Translations: [if applicable]
### Release Notes Draft
```markdown
## [Emoji] [Feature/Bug Name]
Brief description, yaml example, doc links, etc.
```
[Draft of the roadmap entry]
Ready to proceed? Please review the plan above and let me know if you'd like me to continue with implementation.
## Example Workflow
1. User provides: "Solve issue #123: Add dark mode support"
2. Fetch issue details from GitHub
3. **PLAN MODE**: Create comprehensive plan:
- Files to modify: `src/cards/device-card/styles.ts`, `src/cards/device-card/types.ts`, `src/cards/device-card/editor.ts`
- Tests: Update existing test in `test/cards/device-card/card.spec.ts` to include dark mode scenarios (prefer updating over creating new tests)
- Documentation: Update README.md Features section, add config option to table
- Release notes draft: "## Dark Mode Support\n\nAdded dark mode theme option"
- Roadmap draft: "- [ ] **`Dark mode support`**: Add dark mode theme option - thanks @username"
4. **PRESENT PLAN TO USER** - Wait for approval
5. **ONLY AFTER APPROVAL**: Implement code changes
6. **ONLY AFTER APPROVAL**: Create/update test files
7. **ONLY AFTER APPROVAL**: Update documentation
8. **ONLY AFTER APPROVAL**: Create/update release notes
9. **ONLY AFTER APPROVAL**: Update roadmap
10. Summary: List all changes made
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).