ワンクリックで
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