원클릭으로
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