ワンクリックで
render-compare
Render HTML through EggPdf and analyze PDF output for visual correctness issues
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Render HTML through EggPdf and analyze PDF output for visual correctness issues
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 all WebUI templates through the PDF pipeline and verify output correctness
Run EggPdf benchmarks and analyze performance for specific rendering scenarios
Fix a bug following the test-first approach -- reproduce with test, then fix, then verify
| name | render-compare |
| description | Render HTML through EggPdf and analyze PDF output for visual correctness issues |
| allowed-tools | Bash(dotnet *), Bash(curl *), Bash(cat *), Bash(grep *), Read, Grep, Glob, Agent |
Render HTML through the EggPdf pipeline and analyze the PDF content stream for rendering issues.
/render-compare <html or template-name>
If argument is a template name (invoice, report, letter, etc.), use that template. If argument is HTML, render it directly.
Ensure service is running
curl -s http://localhost:55727/health || (dotnet run --project src/EggPdf.Service -c Release -- --urls http://localhost:55727 & sleep 8)
Render the HTML via the API:
curl -s -X POST http://localhost:55727/api/render \
-H "Content-Type: application/json" \
-d '{"html":"THE_HTML"}' -o /tmp/render_compare.pdf
Extract and analyze the content stream:
cat /tmp/render_compare.pdf | sed -n '/^stream$/,/^endstream$/p'
Verify paint order (CRITICAL):
re f or h f) MUST appear BEFORE the text (Tj)Verify all text is present:
Tj operations and check that expected text strings are in the PDF? characters replacing special charsVerify layout:
Report findings with specific issues and suggested fixes