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

관련 스킬

add-diagnostic
vercel
Add a new diagnostic code following the defineDiagnostics() conventions from nostics
official
first-run
anthropic
Guide a new user through their first computer-use agent run (env check, safe browser-only task, then open the trajectory viewer).
official
code-review-context
openai
모델 가시 컨텍스트
official
wp-phpstan
automattic
WordPress 프로젝트(플러그인/테마/사이트)에서 PHPStan 정적 분석을 설정, 실행 또는 수정할 때 사용: phpstan.neon 설정, 기준선,…
official
efo-ontology-skill
openai
간결한 EFO OLS4 요청을 제출하여 검색, 용어 조회, 하위 항목 및 하위 항목들을 확인합니다. 사용자가 간결한 EFO 해결 또는 온톨로지 확장을 원할 때 사용합니다…
official
fabriciq-ontology-consumption-cli
microsoft
Explore Fabric IQ Ontology (preview) items (read-only) from the CLI to ground an agent before it queries data. Explore, describe, and summarize what an…
official
figma-generate-design
Figma
이 스킬은 애플리케이션 페이지, 뷰 또는 다중 섹션 레이아웃을 Figma로 변환하는 작업이 있을 때 figma-use와 함께 사용하세요. 트리거: 'Figma에 작성', '코드에서 Figma로 생성', '페이지를 Figma로 푸시', '이 앱/페이지를 가져와 Figma에서 빌드', '화면 생성', 'Figma에서 랜딩 페이지 빌드', '코드와 일치하도록 Figma 화면 업데이트'. 사용자가 코드나 설명에서 전체 페이지, 화면 또는 뷰를 Figma에서 빌드하거나 업데이트하려는 경우 선호되는 워크플로 스킬입니다. search_design_system을 통해 디자인 시스템 컴포넌트, 변수 및 스타일을 검색하고 가져온 후, 하드코딩된 값 대신 디자인 시스템 토큰을 사용
official
gtm-developer-ecosystem
github
생태계 프로그램을 통해 개발자 주도의 채택을 구축하고 확장하세요. 개방형 생태계와 큐레이션 생태계를 결정할 때, 개발자 프로그램을 구축하거나 플랫폼을 확장할 때 사용하세요.
official