ワンクリックで
fix-bug
Investigate and fix a bug with a structured workflow. Use when asked to fix a bug, debug an issue, or resolve unexpected behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Investigate and fix a bug with a structured workflow. Use when asked to fix a bug, debug an issue, or resolve unexpected behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Add or modify tests following project conventions. Use when asked to write tests, add test coverage, or fix failing tests.
Add or modify tests for PhotoManager following project conventions. Use this skill when asked to write tests, add test coverage, or fix failing tests.
Avalonia UI reference guide for PhotoManager: UI conventions, MVVM patterns, and cross-platform UI patterns. Use this skill when working on UI code, adding image-processing methods, or needing to understand the Avalonia UI layer of the application.
Refactor code following Clean Architecture patterns. Use when asked to restructure, extract, move, or reorganize code while preserving behavior.
Avalonia UI reference guide for PhotoManager: UI conventions, MVVM patterns, and cross-platform UI patterns. Use this skill when working on UI code, adding image-processing methods, or needing to understand the Avalonia UI layer of the application.
Refactor PhotoManager code following Clean Architecture patterns. Use this skill when asked to restructure, extract, move, or reorganize code while preserving behavior.
| name | fix-bug |
| description | Investigate and fix a bug with a structured workflow. Use when asked to fix a bug, debug an issue, or resolve unexpected behavior. |
| disable-model-invocation | true |
| argument-hint | <bug description or issue number> |
You are tasked with fixing this bug: $ARGUMENTS
Follow this workflow in order:
Investigate: Understand the bug by reading the relevant code. Trace the execution path from entry point to the point of failure. Identify the root cause, not just the symptom.
Reproduce: Write a failing test that demonstrates the bug. Follow the test conventions from CLAUDE.md:
MethodName_BugScenario_ExpectedCorrectBehaviorTestLogger<T> for logging verificationFix: Make the minimal change needed to fix the bug.
GlobalUsings.cs before adding any using directivesVerify the fix:
dotnet test --filter "FullyQualifiedName~ClassName" PhotoManager/PhotoManager.slnxdotnet build PhotoManager/PhotoManager.slnx — zero warningsCheck for similar issues: Search the codebase for the same pattern that caused the bug. If found in other places, fix those too.
Return a summary of the root cause, the fix applied, and test results.