Skip to content

Add sitemap audit command with site-wide pattern detection#13

Merged
arberx merged 2 commits intomainfrom
arberx/add-sitemap-command
Mar 14, 2026
Merged

Add sitemap audit command with site-wide pattern detection#13
arberx merged 2 commits intomainfrom
arberx/add-sitemap-command

Conversation

@arberx
Copy link
Copy Markdown
Member

@arberx arberx commented Mar 14, 2026

Summary

  • Adds --sitemap flag for parsing sitemaps and auditing all pages
  • Auto-discovers /sitemap.xml or accepts explicit URL; handles sitemap index files
  • Filters to HTML content (skips PDFs, images, stylesheets, etc.) and sorts by priority
  • --limit <n> caps audited pages; --top-issues shows only cross-cutting patterns
  • Detects factors failing across multiple pages and surfaces highest-impact fixes

Implementation

New src/sitemap.ts module: fetches/parses sitemaps, audits pages sequentially, builds cross-cutting issue analysis from aggregated factor scores. Formatters (text/markdown/json) display per-page results, issue patterns, and prioritized fixes by site-wide impact. CLI updated to route sitemap requests while preserving single-page mode as default.

🤖 Generated with Claude Code

arberx and others added 2 commits March 13, 2026 20:21
Enables auditing entire websites by parsing sitemaps, filtering to HTML content, and detecting cross-cutting issues across pages. Includes --sitemap flag for auto-discovery or explicit URL, --limit to cap pages by priority, and --top-issues to show only aggregate patterns.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@arberx arberx merged commit 6e2562a into main Mar 14, 2026
2 checks passed
@arberx arberx deleted the arberx/add-sitemap-command branch March 14, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant