원클릭으로
test-templates
Render all WebUI templates through the PDF pipeline and verify output correctness
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Render all WebUI templates through the PDF pipeline and verify output correctness
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
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 | test-templates |
| description | Render all WebUI templates through the PDF pipeline and verify output correctness |
| allowed-tools | Bash(dotnet *), Bash(curl *), Bash(cat *), Bash(grep *), Bash(wc *), Read, Grep, Glob, Agent |
Render every WebUI template through the EggPdf API and verify PDF output quality.
Ensure service is running
curl -s http://localhost:55727/health || (dotnet run --project src/EggPdf.Service -c Release -- --urls http://localhost:55727 & sleep 8)
Extract template HTML from src/EggPdf.Service/wwwroot/index.html
templates JavaScript objectFor each template, render via API and verify:
curl -s -X POST http://localhost:55727/api/render \
-H "Content-Type: application/json" \
-d '{"html":"TEMPLATE_HTML"}' -o /tmp/test_TEMPLATE.pdf
Verify each PDF:
re f or h f appear BEFORE their text Tj)? characters replacing special chars (bullet, em-dash etc.)/Encoding /WinAnsiEncodingc operator)Report results as a table:
| Template | Size | Text OK | Backgrounds | Borders | Paint Order | Issues |
|---|---|---|---|---|---|---|
| blank | ... | ... | ... | ... | ... | ... |
| invoice | ... | ... | ... | ... | ... | ... |
| ... | ... | ... | ... | ... | ... | ... |
Flag any template that has:
? instead of special characters