fix
Implement bug fix following UHC Portal standards
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Implement bug fix following UHC Portal standards
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Top-level workflow controller that manages phase transitions for OCMUI bug resolution
Root cause analysis for bugs
Create PR description and recommend Jira updates
Create draft pull request
Systematically reproduce bugs in a controlled environment
Bug scrubbing and triage for OCMUI Interruption Catcher duties
| name | fix |
| description | Implement bug fix following UHC Portal standards |
Implement the minimal code changes to fix the bug, following UHC Portal team standards for TypeScript, React, and PatternFly.
Load the root cause analysis to understand:
cd /workspace/repos/uhc-portal
git checkout main
git pull origin main
git checkout -b bugfix/OCMUI-{issue-number}-{brief-description}
Branch naming: bugfix/OCMUI-1234-fix-cluster-list-filter
Follow UHC Portal coding standards:
TypeScript Standards (from .cursor/rules/typescript-rules.mdc):
any - use unknown if neededsrc/types/ directoriesimport type for type-only importsReact Standards (from .cursor/rules/react-rules.mdc):
is, has, can, shoulduseMemo for expensive calculationsuseCallback for functions passed to childrenGeneral Standards (from .cursor/rules/general-rules.mdc):
PatternFly UI:
@patternfly/react-core, @patternfly/react-table, etc.Principle: Fix only what's broken.
❌ Don't:
✅ Do:
If diagnosis identified similar code:
yarn lint
yarn typecheck
Fix any errors before proceeding.
Run the application locally:
yarn start
Create artifacts/bugfix/fixes/implementation-{issue-key}.md:
# Implementation Notes: {Issue Key}
## Bug Summary
- **Issue**: {OCMUI-XXXX}
- **Branch**: `bugfix/OCMUI-{number}-{description}`
## Root Cause (Summary)
{Brief recap of the root cause}
## Changes Made
### Files Modified
- `{file}:{lines}` — {what changed and why}
- `{file}:{lines}` — {what changed and why}
### Code Changes
**{File 1}**
```typescript
// Before
{show the problematic code}
// After
{show the fixed code}
// Why: {explain the fix}
```
**{File 2}**
{repeat for each file}
## Standards Applied
✅ TypeScript:
- [ ] Proper interfaces defined
- [ ] No `any` types used
- [ ] Return types specified
- [ ] Type-only imports used
✅ React:
- [ ] Functional component patterns
- [ ] Proper hook usage
- [ ] No inline functions in JSX
- [ ] Props not mutated
✅ PatternFly:
- [ ] PatternFly components used
- [ ] No custom CSS added
- [ ] Utility classes for layout
## Similar Patterns Addressed
{If you fixed related patterns:}
- Also fixed in `{file}:{line}` — {reason}
- Did NOT fix in `{file}:{line}` — {reason why}
## Manual Verification
✅ Verified:
- [ ] Bug no longer reproduces
- [ ] Original functionality still works
- [ ] Edge cases tested
- [ ] No console errors
- [ ] Linters pass
## Implementation Decisions
**{Decision 1}**: {what you chose and why}
**{Decision 2}**: {what you chose and why}
## PR Size Check
- **Lines changed**: {estimate if known}
- **Files changed**: {count}
- **Within limits**: {yes/no} (max 1000 lines / 30 files)
{If over limits, note: "PR is large - consider breaking into smaller changes"}
## AI Attribution
{If substantial AI assistance was used:}
**AI Contribution**: This fix was assisted by {tool name}
## Next Steps
Ready to proceed to `/test` phase for unit tests and coverage verification.
After generating implementation notes, re-read .claude/skills/controller/SKILL.md and return control to the controller for next step recommendations.
artifacts/bugfix/fixes/implementation-{issue-key}.md — Implementation notesAfter running this phase: