ワンクリックで
fix
Fix a bug following the test-first approach -- reproduce with test, then fix, then verify
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Fix a bug following the test-first approach -- reproduce with test, then fix, then verify
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Dual-perspective code review — Lead Dev (architecture/correctness) + Dev (implementation/tests). Runs entirely in the main agent for easy follow-up.
Update EggPdf documentation — README, docs/ wiki pages, site/, llms.txt, CLAUDE.md — to reflect current implementation
Implement a new feature following EggPdf's test-first, performance-aware development loop
Render HTML through EggPdf and analyze PDF output for visual correctness issues
Render all WebUI templates through the PDF pipeline and verify output correctness
Run EggPdf benchmarks and analyze performance for specific rendering scenarios
| name | fix |
| description | Fix a bug following the test-first approach -- reproduce with test, then fix, then verify |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob, Agent, TodoWrite |
Fix a bug by first reproducing it with a failing test, then fixing the code, then verifying.
$ARGUMENTS -- description of the bug (e.g., "margin collapse not working for empty divs", "PNG transparency renders as black", "CSS shorthand font not parsing correctly")Understand the bug -- read the description, search for related issues:
gh issue list --search "$ARGUMENTS"
Write a failing test that demonstrates the bug:
BugFix_Description_ShouldBehaviorRun the test -- confirm it FAILS:
dotnet test --configuration Release --filter "FullyQualifiedName~BugFix_Description"
If it passes, the test doesn't reproduce the bug. Try again.
Fix the bug -- make the minimal change needed:
Run the failing test -- confirm it PASSES:
dotnet test --configuration Release --filter "FullyQualifiedName~BugFix_Description"
Run ALL tests -- make sure the fix didn't break anything:
dotnet test --configuration Release
If the fix touches a hot path, run performance check:
cd benchmarks/EggPdf.Benchmarks && dotnet run -c Release -- --filter *{Scenario}* --job short
fix: prefix:
git add -A && git commit -m "fix: description of what was wrong and why"