Score portal quality (blocks + pages, with baseline delta)
score_portalEvaluate every block and page with a 0–100 mechanical score, checking rule violations, dangling bindings, orphaned blocks, and more. Compare against baseline to track improvements.
Instructions
Score every block and page 0–100 on what is MECHANICALLY checkable — authoring-rule violations, dangling query bindings, orphaned blocks, naming-convention fit, SELECT * bindings, oversized HTML, unscoped CSS, page overflow and dangling placements. 100 means 'nothing mechanically wrong', NOT 'well designed' — visual/business judgment stays with review agents. Scratch-marked records are excluded (cleanup_scratch handles them). With version control on, compares against the last saved baseline (improved/regressed/added/removed per record) — the loop discipline: score, improve, re-score, and only update_baseline=true after a verified improvement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail_below | No | Full deduction detail only for scores below this (default 90); higher scores report one line. | |
| update_baseline | No | Save these scores as the new baseline in the VC mirror (requires PORTAL_VC_DIR). |