greglas75/zuvo/content-audit
Claude Code and agent skill by greglas75/zuvo
- community
Checking that the SKILL.md file is still in the repository.
Content file quality audit across 8 dimensions (CC1-CC8): encoding artifacts (NBSP, mojibake, zero-width), markdown syntax (broken italic, orphan backslash), CMS migration artifacts (Joomla/WordPress/PHP), frontmatter quality, image integrity, link integrity with anchor validation, content completeness, and spelling/typography. Language-agnostic with multi-encoding mojibake detection. Companion fix skill: content-fix. Flags: [path], --live-url <url>, --quick, --content-path <dir>, --lang <code>, --check-external, --profile <type>, --persist-backlog.
Install
npx vskill@latest install greglas75/zuvo/content-auditSKILL.md
The same SKILL.md was published earlier as greglas75/zuvo/content-audit.
zuvo:content-audit — Content File Quality Audit
Scan content files for encoding artifacts, broken formatting, CMS migration debris, broken links/images, and editorial quality issues. Produces a graded report (A/B/C/D) with auto-fixable findings tagged for zuvo:content-fix.
Scope: Editorial hygiene, encoding quality, CMS migration cleanup, link/image integrity, frontmatter validation. Out of scope: SEO signals (zuvo:seo-audit), code quality (zuvo:code-audit), content writing, CMS API content, PDF/Word documents.
Mandatory File Loading
Read these files before any work begins:
../../shared/includes/codesift-setup.md-- CodeSift discovery and tool selection../../shared/includes/env-compat.md-- Agent dispatch and environment adaptation../../shared/includes/backlog-protocol.md-- Filing findings throughbacklog-add../../shared/includes/content-check-registry.md-- Canonical check slugs (49 checks, CC1-CC8)../../shared/includes/audit-output-schema.md-- JSON output contract (v1.1)../../shared/includes/content-fix-registry.md-- fix_type and safety for tagging fixable findings../../shared/includes/live-probe-protocol.md-- Live URL safety rules../../shared/includes/run-logger.md-- Run logging contract../../shared/includes/retrospective.md-- Retrospective protocol../../shared/includes/verification-protocol.md-- Fresh-evidence rules
Print the checklist:
If any file is missing, STOP.
Safety Gates (NON-NEGOTIABLE)
GATE 1 -- Live Audit Consent
Read ../../shared/includes/live-probe-protocol.md for the full consent gate, rate limiting rules, error escalation thresholds, and HTTP method restrictions. All live probing in this skill follows that shared protocol.
GATE 2 -- Read-Only Audit
This audit is read-only against source files.
Allowed write targets:
zuvo/audits/for the report file (.mdand.json)memory/backlog.mdandmemory/findings/(written bybacklog-add) only when--persist-backlogis explicitly enabled
FORBIDDEN:
- Modifying any content files
- Creating, deleting, or renaming files outside
zuvo/audits/
Arguments
| Argument | Behavior | |
|---|---|---|
[path] | Scope to specific file or directory | |
--content-path <dir> | Override auto-detected content directory | |
--live-url <url> | Enable live link/image checks (CC5 img-404-live, CC6 link-external-dead, CC6 link-external-redirect) | |
--quick | Source-only grep checks, no agent dispatch. Runs CC1-CC3 grep patterns + CC5/CC6 path resolution. Skips CC4/CC7/CC8 entirely. Checks requiring agents or live access return INSUFFICIENT DATA. | |
--lang <code> | Force language for spell/typography checks (ISO 639-1: pl, en, de, tr, etc.) | |
--check-external | Enable external link checking (requires network access) | |
--persist-backlog | Record findings through backlog-add (Phase 5) | |
--profile <type> | Content profile: blog, docs, ecommerce, marketing. Adjusts thresholds for CC7 content completeness checks. |
MANDATORY TOOL CALLS — Content Audit Validity Gate
INVALID if any tool below is skipped. "DEFERRED", "N/A" NOT valid reasons.
| Tool | Trigger | Skip allowed? | |
|---|---|---|---|
get_file_tree | Always | NO — locate content/*.md | |
search_text | Always | NO — encoding artifacts, mojibake patterns | |
search_patterns | Always | NO — broken markdown, orphan backslash |
Forbidden: skipped/N/A — REJECTED. POSTAMBLE: report on disk → retro appended → ~/.zuvo/append-runlog exit 0. Every CC finding needs path/to/file.ext:LINE (verify-audit gate).
Use the deterministic preload helper FIRST. Run ~/.zuvo/compute-preload content-audit "$PWD". Math gate enforced.
Phase 0: Discovery
0.1 Framework detection
Detect the SSG/framework from config files:
0.2 Content path auto-detection
Detection cascade (first match wins):
| Framework | Auto-detected paths | |
|---|---|---|
| Hugo | content/ | |
| Astro | src/content/, src/pages/ (.md/.mdx only) | |
| Next.js | content/, posts/, pages/ (.md/.mdx only) | |
| Gatsby | content/, src/pages/ | |
| Generic | content/, posts/, articles/, docs/, blog/ |
Override with --content-path <dir>.
If no content directory found: check for CMS config files (CONTENTFUL_SPACE_ID in .env*, sanity.config.*, strapi in package.json). If CMS detected, emit CONTENT INACCESSIBLE warning and recommend --live-url. Do NOT report all-PASS for a CMS-backed site with no local files.
0.3 Language detection
Multi-signal cascade (first definitive signal wins):
- Frontmatter per file:
lang,language, orlocalefield - Directory convention:
content/pl/,content/en/,i18n/de/ - Site config: Hugo
defaultContentLanguage, Astroi18n.defaultLocale, Next.jsi18n.defaultLocale - HTML lang attribute:
<html lang="...">in layout templates - Fallback:
unknown— spell/typo checks (CC8) emitINSUFFICIENT DATA
Record detected language(s). Pass to agents for CC8 checks.
0.4 File manifest
Build the list of files to scan.
Include: .md, .mdx, .html (in content dirs only), .txt (content-like)
Template files: .astro, .tsx, .jsx — scan only text content between tags. Strip template interpolation ({...}, {{ }}, <% %>) before text checks.
Exclude always:
- Build output:
dist/,.next/,_site/,public/(unless it IS the content dir) - Dependencies:
node_modules/,.git/ - Binary files by extension:
.jpg,.png,.gif,.webp,.avif,.svg,
.pdf, .woff, .woff2, .ttf, .mp4, .mp3, .zip, .tar, .gz, .DS_Store
For each file, check encoding via file -i (available on Unix/macOS). Flag non-UTF-8 files with check encoding-mismatch (advisory).
0.5 Print discovery summary
Phase 1: Agent Dispatch
Quick mode (--quick)
Dispatch follows ../../shared/includes/execution-policy.md through env-compat. Reuse existing authorization within that policy; session restrictions take precedence. Run each required gate and report its actual independence or an unmet requirement.
Do NOT dispatch agents. Run source-only grep checks directly:
- CC1 blocking:
mojibake-detected(grep for mojibake signatures) - CC3 blocking:
php-tag(grep for<?php,<?=) - CC1 scored:
nbsp-present,zero-width-present - CC2 scored:
broken-italic - CC3 scored:
joomla-path,wp-shortcode - CC5 scored:
img-path-broken(resolve paths via Glob) - CC6 scored:
link-internal-broken(resolve paths via Glob)
Skipped in --quick (require agents or live access):
- CC4 entirely (frontmatter parsing requires agent)
- CC7 entirely (content analysis requires agent)
- CC8 entirely (language detection + LLM judgment)
fm-yaml-malformed→INSUFFICIENT DATA(needs YAML parser, not grep)img-404-live→INSUFFICIENT DATA(needs--live-url, not grep)
Proceed to Phase 2.
Full mode (default)
Dispatch three agents in parallel per env-compat.md:
Cursor fallback: Execute each agent's analysis sequentially yourself.
Wait for all three agents to complete before proceeding to Phase 2.
Phase 2: Merge & Score
2.1 Collect check results
Each agent MUST return two structures:
- `check_results[]` — complete matrix of ALL owned checks with status
(PASS, FAIL, PARTIAL, N/A, INSUFFICIENT DATA). Every check from the registry that the agent owns appears here, even if it passed.
- `findings[]` — details for FAIL and PARTIAL checks only (evidence,
file:line, fix_type).
Merge check_results[] from all agents into a single matrix. Build findings[] from the FAIL/PARTIAL entries.
2.2 Deduplicate
If two agents flag the same file:line with different checks, keep both. If two agents flag the same file:line with the SAME check (shouldn't happen with proper dimension assignment), keep the one with higher confidence.
2.3 Score
Calculate per-dimension and overall scores:
Grade mapping:
Both formulas produce fractional scores, so the bands are stated as inequalities — a hyphenated 75-89 would leave 74.5 ungraded.
| Grade | Score range | Meaning | |
|---|---|---|---|
| A | >= 90 | Clean content, minor advisory items | |
| B | >= 75 and < 90 | Some issues, no blocking findings | |
| C | >= 50 and < 75 | Significant issues affecting quality | |
| D | < 50 | Critical issues, CMS migration incomplete |
Blocking gate cap: If ANY blocking finding exists (mojibake-detected, php-tag, fm-yaml-malformed, img-404-live), the grade is capped at D regardless of numeric score.
2.4 Tag fixable findings
For each finding with a non-null fix_type in the registry, tag it with the fix_type and safety classification from content-fix-registry.md.
Phase 3: Report
3.1 Markdown report
Write to zuvo/audits/content-audit-YYYY-MM-DD.md. Auto-increment -2.md, -3.md for same-day runs.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/content-audit/SKILL.md
Popularity
- Repository stars
- 8
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/greglas75/zuvo/content-audit)