mit einem Klick
implement-fix
Implement bug fix based on RCA
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Implement bug fix based on RCA
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Scan project, then generate or reconcile .primeignore patterns for smarter /prime loading
Run WCAG accessibility audits on frontend projects. Checks HTML semantics, ARIA usage, color contrast, and keyboard navigation patterns.
Generate OpenAPI specs from code, validate API contracts, and check for breaking changes between versions.
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
Incrementally fix TypeScript and build errors one at a time with verification. Invokes the build-error-resolver agent.
Create or verify a checkpoint in your workflow
| name | implement-fix |
| description | Implement bug fix based on RCA |
| argument-hint | [rca-file] |
Implement a bug fix based on the root cause analysis, following test-driven development principles.
RCA file: $ARGUMENTS
Thoroughly read the RCA to understand:
Before fixing the bug, write a test that reproduces it:
# Create or update test file
# Run test to confirm it fails
Test should:
Example test structure:
def test_bug_issue_123():
"""Test for bug: [description]
GitHub Issue: #123
RCA: .claude/plans/rca-issue-123.md
"""
# Arrange: Set up conditions that trigger bug
[setup code]
# Act: Execute the buggy code path
result = [function_that_has_bug]()
# Assert: Verify expected behavior (currently fails)
assert result == expected_value
Run the test to confirm it fails as expected:
[test command for project]
Output should show the test failing, confirming we've reproduced the bug.
Follow the fix strategy from the RCA:
Implementation guidelines:
Code changes:
Run the specific test again:
[test command]
The previously failing test should now pass.
Ensure no regressions:
[full test suite command]
All tests should pass.
Test the fix manually following original reproduction steps:
Verify:
From the RCA, implement prevention steps:
Perform self-review:
Update or create documentation:
In code:
# Fix for GitHub Issue #123: [brief description]
# Root cause: [one-line explanation]
# See: .claude/plans/rca-issue-123.md
Update RCA document with implementation notes:
## Implementation
**Date Implemented:** YYYY-MM-DD
**Files Changed:**
- `[file]` - [what was changed]
**Test Added:**
- `[test file]` - [test description]
**Verification:**
- Test passes
- Full suite passes
- Manual verification successful
Before committing:
Create implementation report: .claude/code-reviews/YYYY-MM-DD-bug-fix-[issue].md
# Bug Fix Implementation: [Bug Title]
**Issue:** #[number]
**RCA:** [path to RCA file]
**Date:** YYYY-MM-DD
## Summary
[Brief description of what was fixed and how]
## Changes Made
### Files Modified
- `[file-path]` - [description of changes]
- `[file-path]` - [description of changes]
### Tests Added
- `[test-file]` - [test description]
- Coverage added: [X] test cases
## Verification
### Test Results
**Before Fix:**
\`\`\`
[output showing failing test]
\`\`\`
**After Fix:**
\`\`\`
[output showing passing test]
\`\`\`
**Full Suite:**
\`\`\`
[output showing all tests pass]
\`\`\`
### Manual Testing
- [x] Followed original reproduction steps
- [x] Bug no longer occurs
- [x] Expected behavior confirmed
- [x] No new issues observed
## Prevention Measures
- [x] Test case added for bug scenario
- [x] Test case added for edge cases
- [ ] Documentation updated (if applicable)
- [ ] Validation logic strengthened (if applicable)
## Ready for Commit
All validation passed. Ready to commit with:
`/commit`
When ready to commit, use this format:
fix(scope): [brief description of fix]
Fixes #[issue-number]
Root cause: [one-line explanation]
Solution: [one-line explanation]
RCA: .claude/plans/rca-[issue].md
After implementation, provide:
Bug fix implemented and verified
Issue: #[number]
Root Cause: [brief description]
Fix: [brief description]
Changes:
- Modified: X files
- Tests added: Y test cases
Verification:
Specific test passes
Full test suite passes (N tests)
Manual verification successful
Ready for commit.