audit-website

โดย squirrelscan

ตรวจสอบเว็บไซต์ด้วย squirrelscan CLI และแก้ไขข้อค้นพบในโค้ด ทำงานกับกฎหมวดหมู่ SEO, ประสิทธิภาพ, ความปลอดภัย, เทคนิค, เนื้อหา, การเข้าถึง และอีก 15 หมวดหมู่ (มากกว่า 249 กฎ) ส่งคืนรายงานที่ปรับให้เหมาะสมกับ LLM จากนั้นขับเคลื่อนลูปการแก้ไขแบบวนซ้ำ โดยจับคู่ปัญหากับไฟล์ต้นทาง ใช้การแก้ไข และตรวจสอบซ้ำจนกว่าเว็บไซต์จะได้คะแนนดี ใช้เพื่อค้นหาและประเมินปัญหาเว็บไซต์หรือเว็บแอป และขับเคลื่อนให้แก้ไขจนเสร็จ

npx skills add https://github.com/squirrelscan/skills --skill audit-website

Audit a Website and Fix It

Run a squirrelscan audit against a website, read the LLM report, map each issue to the code or content that causes it, fix in batches, and re-audit until the score target is met.

Requires the squirrel CLI (squirrelscan.com/download; verify with squirrel --version). For CLI setup, login, publishing, MCP, and general CLI usage, use the companion squirrelscan skill.

Rule docs

Look up any rule at https://docs.squirrelscan.com/rules/{rule_category}/{rule_id}, for example:

https://docs.squirrelscan.com/rules/links/external-links

Running the audit

squirrel audit https://example.com --format llm
  • ALWAYS use --format llm: it is compact, exhaustive, and made for agents.
  • If the user doesn't provide a URL, ask which site to audit.
  • PREFER auditing the live site: only there do you see true rendering, performance, and redirect behavior. If both a local dev server and a live site exist, suggest the live one; apply the fixes to the local code either way.
  • Audits are cached locally. Re-render later without recrawling: squirrel report <audit-id> --format llm.

Scan progression

  1. First pass, quick coverage (the default): a fast, shallow scan to learn the site's structure, technology, and biggest problems without impacting the site.
  2. Second pass, deeper coverage: -C surface (one page per URL pattern) for template-level coverage, or -C full for a comprehensive crawl before sign-off.
ModeDefault pagesUse
quick25First look, CI checks
surface100Template-level coverage (one sample per pattern like /blog/{slug})
full500Final verification, deep analysis

Useful flags: --refresh (ignore cache, full re-fetch), --resume (continue an interrupted crawl), -m <n> (page cap), --verbose (progress detail).

If the site blocks unknown crawlers (Shopify / Cloudflare), pass Web Bot Auth headers with repeated -H "Name: Value" flags. Header values are secrets and are redacted in output. See https://docs.squirrelscan.com/guides/web-bot-auth

The fix loop

  1. Present the report: score, grade, top issues by severity.
  2. Propose fixes: list the issues you can fix and confirm with the user before changing anything.
  3. Map issues to source: find the template, component, or content file behind each finding.
  4. Fix in batches: apply the approved fixes; use subagents to parallelize independent files.
  5. Re-audit (use --refresh after deploys or content changes) and show before/after scores.
  6. Repeat until the target is met or only judgment calls remain (for example "should this link be removed?"). Flag those for user review instead of guessing.

After each batch, verify the project still builds and existing checks pass.

Score targets

Starting scoreTargetExpected work
< 50 (F)75+ (C)Major fixes
50-70 (D)85+ (B)Moderate fixes
70-85 (C)90+ (A)Polish
> 85 (B+)95+Fine-tuning

A site is only considered COMPLETE and FIXED when it scores 95+ (Grade A) with --coverage full.

Issue categories and fix approach

CategoryFix approachParallelizable
Meta tags / titles / descriptionsEdit page components or metadata configNo
Structured dataAdd JSON-LD to page templatesNo
Missing H1 / heading hierarchyEdit page components + content filesYes (content)
Image alt textEdit content filesYes
Short meta descriptionsExtend frontmatter descriptionsYes
HTTP to HTTPS linksFind and replace in contentYes
Broken linksManual review, flag for userNo

Rules carry a level (error, warning, notice) and a rank (1-10): fix errors first, then high-rank warnings. Code changes and content changes are equally important; treat them the same.

Parallelizing with subagents

  • Ask the user first: always confirm which fixes to apply before spawning subagents.
  • Group 3-5 files per subagent for the same fix type; only parallelize independent files (no shared components or config).
  • Spawn the subagents in a single message so they run concurrently.

Verifying regressions

Compare against a baseline to prove improvement or catch regressions:

squirrel report --diff <baseline-audit-id> --format llm
squirrel report --regression-since example.com --format llm

Completion

Done means: all errors fixed; warnings fixed or documented as needing human review; a re-audit confirms the improvement; and the user has seen the before/after score comparison plus a summary of every change made. Re-audit regularly to keep the site healthy. If the user wants to share results, offer a published report (see the squirrelscan skill).

Report format

The LLM report is a compact XML/text hybrid optimized for token efficiency: summary with health score, issues grouped by category with affected URLs, broken links, and prioritized recommendations. Full spec: OUTPUT-FORMAT.md

Skills ที่เกี่ยวข้อง

rust-coding-skill
github
Use this skill whenever editing `*.rs` files in the `rust/` SDK in order to write idiomatic, efficient, well-structured Rust code
official
redesign-existing-projects
leonxlnx
อัปเกรดเว็บไซต์และแอปที่มีอยู่ให้มีคุณภาพระดับพรีเมียม ตรวจสอบการออกแบบปัจจุบัน ระบุรูปแบบ AI ทั่วไป และใช้มาตรฐานการออกแบบระดับสูงโดยไม่ทำให้ฟังก์ชันการทำงานเสียหาย ทำงานร่วมกับเฟรมเวิร์ก CSS หรือ CSS ธรรมดาได้
designdevelopmentcode-review
encore-auth
encoredev
ดำเนินการรับรองความถูกต้องด้วยตัวจัดการ auth และเกตเวย์ใน Encore.ts
official
dd-apm
datadog-labs
APM - การติดตาม, บริการ, การพึ่งพา, การวิเคราะห์ประสิทธิภาพ
official
clickhousectl-local-dev
clickhouse
ใช้เมื่อผู้ใช้ต้องการสร้างแอปพลิเคชันด้วย ClickHouse, ตั้งค่าสภาพแวดล้อมการพัฒนา ClickHouse ในเครื่อง, ติดตั้ง ClickHouse, สร้างเซิร์ฟเวอร์ในเครื่อง,…
official
mlflow
firecrawl
ติดตามการทดลอง ML จัดการทะเบียนโมเดลพร้อมการควบคุมเวอร์ชัน ปรับใช้โมเดลสู่ระบบผลิต และทำซ้ำการทดลองด้วย MLflow - ML ที่ไม่ยึดติดกับเฟรมเวิร์ก…
official
frontend-design-deslop
samber
สร้าง UI และแอปพลิเคชันดีไซน์ที่โดดเด่น ไม่ซ้ำใคร โดยทำงานแบบเน้นกลยุทธ์ก่อน ระบุโปรเจกต์ (แลนดิ้งเพจ, แอป SaaS, แดชบอร์ด, อีคอมเมิร์ซ, พรีเซนเทชัน, เอกสาร, พอร์ตโฟลิโอ...) รวมถึงตำแหน่งและบุคลิกภาพของโปรเจกต์ ยึดมั่นในคำคุณศัพท์ของแบรนด์ แปลงเป็นระบบตัวอักษรและสี จากนั้นใช้เลเยอร์งานฝีมือ (เลย์เอาต์ คอมโพเนนต์และสถานะ การเคลื่อนไหว ไอคอน ภาพ โหมดมืดและการธีม การเข้าถึง) หลีกเลี่ยงรูปแบบเริ่มต้นแบบ AI-slop หรือสไตล์คล็อด นี่เป็นทั้ง...
designdevelopmentcreative
cut-release-tag
nvidia
Cut a new semver release tag on main, move the `latest` tag, and push. Use when cutting a release, tagging a version, shipping a build, or preparing a…
official