Fix issue
Analyze and fix a GitHub issue for the iam-policy-validator project. Use when the user wants to fix a GitHub issue, resolve a bug report, or implement a feature request from an issue. Triggers on "/fix-issue", "fix issue #42", "resolve this GitHub issue", or "work on issue".From its SKILL.md
npx -y skills add boogy/iam-policy-validator --skill fix-issueAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, as published. Nobody here has run it
Fix Issue
Analyze and fix a GitHub issue end-to-end.
Workflow
Given the issue number: $ARGUMENTS
1. Get Issue Details
gh issue view $ARGUMENTS # add `--repo <owner>/<name>` if upstream is not the default remote
Understand: problem/feature, expected vs actual behavior, reproduction steps.
2. Search Relevant Code
rg -n "relevant_keyword" iam_validator/
rg -n "relevant_keyword" tests/
Read the CLAUDE.md in relevant directories for patterns.
3. Plan the Fix
Identify files to modify, new tests needed, breaking changes.
4. Implement
Follow patterns from CLAUDE.md files. Add/update tests. Update docs if needed.
5. Update Documentation
- CHANGELOG.md — MUST add entry under appropriate section (Added/Changed/Fixed)
- CLAUDE.md — Update if fix changes project structure, check behavior, or patterns
6. Verify
uv run ruff check --fix iam_validator/
uv run pytest tests/ -k "relevant_pattern" -v
uv run pytest tests/ -v --tb=short
7. Commit
Use conventional commits, reference the issue, sign the commit:
git commit -s -S -m "fix: description (#$ARGUMENTS)"
8. Offer PR Creation
Ask if the user wants to create a PR using /create-pr.
Rules
- Always run tests before considering fix complete
- Bugs: add regression test. Features: add feature tests
- ALWAYS update CHANGELOG.md
- ALWAYS sign commits with
-s -S - Don't push directly to main — use feature branch
Examples
/fix-issue 42/fix-issue 123