`gtm-toolkit audit`

Combine content linting, technical SEO checks, and scoring into a single snapshot for stakeholders.

Usage
Produce a multi-part audit covering content and tech health
# Run both analysis suites
npx gtm-toolkit audit --all
Audit Modes
Trigger specific sections when you only need targeted output
--content
Summarize lint rule pass rates across every markdown file
--technical
Verify robots.txt and sitemap.xml exist under your public directory
--all
Run both passes in sequence
Scoring Breakdown
Translate findings into a repeatable performance score

The command tracks how many rules pass versus fail and derives a simple percentage score. Keep an eye on:

  • File count: total markdown/MDX files evaluated.
  • Issue count: number of failing lint checks.
  • Average score: percentage of rules that passed across all files.
  • Technical status: whether sitemap and robots assets are present.
Sample Output
What a combined audit summary looks like
🕵️ GTM Toolkit Auditor
✔ Content audit complete: 12 files, 18 issues, 71.5% average score
✔ Technical SEO audit complete: No issues found