一键导入
review
Dual-perspective code review — Lead Dev (architecture/correctness) + Dev (implementation/tests). Runs entirely in the main agent for easy follow-up.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Dual-perspective code review — Lead Dev (architecture/correctness) + Dev (implementation/tests). Runs entirely in the main agent for easy follow-up.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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
Fix a bug following the test-first approach -- reproduce with test, then fix, then verify
| name | review |
| description | Dual-perspective code review — Lead Dev (architecture/correctness) + Dev (implementation/tests). Runs entirely in the main agent for easy follow-up. |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob, TodoWrite |
Review the current branch diff from two perspectives in sequence. Everything runs in the main agent — no subagents — so you can ask follow-up questions about any finding.
$ARGUMENTS — optional: specific commit range or file to focus on (default: HEAD~1..HEAD, or all commits ahead of main)# What commits are on this branch vs main?
git log main..HEAD --oneline
# Full diff for the branch
git diff main..HEAD
# Which files changed?
git diff --stat main..HEAD
If $ARGUMENTS specifies a range or file, use that instead.
dotnet test tests/EggPdf.Tests.Unit -c Release
dotnet test tests/EggPdf.Tests.Layout -c Release
Report pass/fail counts. Stop and surface any failures before continuing.
Think like a senior engineer who owns the architecture. Read every changed file carefully.
Check for:
Correctness & Spec compliance
Architecture & design
EggPdf.Layout vs EggPdf.Pdf vs EggPdf etc.)?Regressions
netstandard2.0 compatibility
record types, no Span<T>.Contains, no Contains(string, StringComparison) → use IndexOf#ifPresent findings as:
🔵 LEAD DEV
─────────────────────────────
CRITICAL — [file:line] description
MODERATE — [file:line] description
MINOR — [file:line] description
APPROVED — areas that look solid
Think like the developer who will maintain this code day-to-day.
Check for:
Test quality
Feature_Condition_ExpectedBehavior)?Code clarity
Implementation details
Consistency
Present findings as:
🟢 DEV
─────────────────────────────
ISSUE — [file:line] description
SUGGESTION — [file:line] description
LOOKS GOOD — areas that are well done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REVIEW VERDICT
──────────────
Tests: ✅ N passed / ❌ N failed
Lead Dev: ✅ APPROVED / ⚠️ CHANGES REQUESTED / ❌ BLOCKED
Dev: ✅ APPROVED / ⚠️ CHANGES REQUESTED
Blockers (must fix before merge):
1. ...
Suggestions (nice to have):
1. ...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stay in the main agent throughout. After the review, the user can ask follow-up questions or request fixes on any specific finding.