Docs: performance.md, the iapl-performance skill, AGENT.md 6.11b, doctor.md, audit, api.md, the measurements and the audit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
801b897ea0
commit
c6c5dfbcbf
@@ -362,6 +362,14 @@ if [ -n "$UI" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# --- Speed (§6.11b, performance.md) — the doctor's performance group: images config, fonts, render-blocking,
|
||||
# embeds, animations, a budget test. Full mode only: the doctor itself runs this audit with --quick.
|
||||
if [ "$QUICK" -eq 0 ] && [ -x node_modules/.bin/iapl-doctor ]; then
|
||||
PERF=$(node_modules/.bin/iapl-doctor --only performance --offline --json 2>/dev/null \
|
||||
| node -e 'let s="";process.stdin.on("data",(d)=>(s+=d)).on("end",()=>{try{for(const f of JSON.parse(s).findings){if(!f.silenced&&f.severity!=="info"){console.log(`${f.file??"(site)"} [${f.rule}] ${f.message}`)}}}catch{}})')
|
||||
report WARNING "speed (iapl-doctor --only performance)" "§6.11b / performance.md — each line names the rule; iapl-performance skill" "$PERF"
|
||||
fi
|
||||
|
||||
# --- Compile & build ---
|
||||
if [ "$QUICK" -eq 0 ]; then
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user