AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Doc Verifier

skill-jansenanalytics-claudex-doc-verifier · by JansenAnalytics

Ensures documentation is accurate, complete, and actually works — catches documentation rot before users hit it. Validates code examples, checks links, compares API/CLI docs against reality, detects stale docs, and scores completeness.

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-jansenanalytics-claudex-doc-verifier

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jansenanalytics-claudex-doc-verifier)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Doc Verifier? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Doc Verifier

Catches documentation rot before users hit it. Validates everything: code examples actually run, links resolve, API docs match reality, CLI flags exist, and docs stay fresh.

Scripts: ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/doc-verifier/scripts/ Binary: ~/bin/doc-verifier

Quick Reference

S=${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/doc-verifier/scripts

# Full review of a project
doc-verifier ~/my-project

# Quick check (links + freshness only)
doc-verifier ~/my-project --quick

# Full audit including code execution
doc-verifier ~/my-project --full

# With API comparison
doc-verifier ~/my-project --api-url http://localhost:3000

# With CLI comparison
doc-verifier ~/my-project --cli-cmd "node ~/my-project/cli.js"

# Output to separate directory
doc-verifier ~/my-project --output-dir /tmp/doc-review

# JSON format
doc-verifier ~/my-project --format json

# Compare with previous review
doc-verifier ~/my-project --compare /tmp/previous-review

# Individual scripts
node $S/links.cjs ~/my-project
node $S/freshness.cjs ~/my-project
node $S/completeness.cjs ~/my-project
node $S/examples.cjs ~/my-project
node $S/api-docs.cjs ~/my-project --api-url http://localhost:3000
node $S/cli-docs.cjs ~/my-project --cli-cmd "mycli"
node $S/report.cjs /tmp/output-dir --format md

Scripts

1. examples.cjs — Code Example Validator

Extracts fenced code blocks from markdown and executes them:

  • bash/sh: Runs commands, checks exit codes. Skips dangerous commands (rm, drop, delete).
  • js/javascript: Writes to temp file, runs with Node. Checks syntax/runtime errors.
  • python: Writes to temp file, runs with python3.
  • Skips blocks marked `` or data blocks (text, json, yaml, etc.)
  • Output: examples-report.json

2. links.cjs — Link Checker

  • External URLs: HEAD request, checks status codes
  • Internal links: verifies file exists
  • Anchor links: verifies heading exists
  • Cross-file anchors: verifies both file and heading
  • Image references: verifies image exists
  • Rate limited (5 req/sec), configurable timeout/retries
  • Output: links-report.json

3. api-docs.cjs — API Documentation vs Reality

  • Extracts endpoints from markdown (GET /path patterns) and OpenAPI specs
  • Hits actual API to verify endpoints exist
  • Output: api-docs-report.json

4. cli-docs.cjs — CLI Documentation Checker

  • Extracts flags from docs, runs --help on actual CLI
  • Compares: matching, in-docs-not-CLI, in-CLI-not-docs
  • Output: cli-docs-report.json

5. freshness.cjs — Documentation Freshness

  • Compares doc vs source modification dates
  • Detects: TODO/FIXME/TBD, empty sections, broken formatting, version mismatches
  • Output: freshness-report.json

6. completeness.cjs — Documentation Completeness

  • Checks for: README sections, CHANGELOG, contributing guide, .env.example, JSDoc coverage
  • Scores 0-100
  • Output: completeness-report.json

7. review.cjs — Full Audit Orchestrator

Options: --quick, --full, --api-url, --cli-cmd, --no-execute, --output-dir, --compare, --format md|json

8. report.cjs — Report Generator

  • Aggregates all reports into prioritized issue list
  • Health Score 0-100
  • Top 10 fixes needed with severity indicators
  • Output: doc-health-report.md or doc-health-report.json

Dependencies

Node.js built-in modules only. No npm install required.

Output

All reports are JSON. The final report is also available as markdown. Health Score ranges from 0-100.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.