Skip to content
ln-601-semantic-content-auditor logo

Semantic Content Auditor (L3 Worker)

ln-601-semantic-content-auditor

Semantic content auditor (L3 Worker). Verifies document content matches stated SCOPE, aligns with project goals, and reflects actual codebase state. Called by ln-600 for each project document. Returns scope_alignment and fact_accuracy scores with findings.

SKILL.md

Full skill instructions

Paths: File paths (shared/, references/, ../​ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.

Semantic Content Auditor (L3 Worker)

Specialized worker auditing semantic accuracy of project documentation.

Purpose & Scope

  • Worker in ln-600 coordinator pipeline - invoked by ln-600-docs-auditor for each project document
  • Verify document content matches stated SCOPE (document purpose)
  • Check content aligns with project goals (value contribution)
  • Validate facts against codebase (accuracy and freshness)
  • Return structured findings to coordinator with severity, location, fix suggestions

Target Documents

Called ONLY for project documents (not reference/​tasks):

DocumentVerification Focus
CLAUDE.mdInstructions match project structure, paths valid
docs/​README.mdNavigation accurate, descriptions match reality
docs/​documentation_standards.mdStandards applicable to this project
docs/​principles.mdPrinciples reflected in actual code patterns
docs/​project/​requirements.mdRequirements implemented or still valid
docs/​project/​architecture.mdArchitecture matches actual code structure
docs/​project/​tech_stack.mdVersions/​technologies match package files
docs/​project/​api_spec.mdEndpoints/​contracts match controllers
docs/​project/​database_schema.mdSchema matches actual DB/​migrations
docs/​project/​design_guidelines.mdComponents/​styles exist in codebase
docs/​project/​runbook.mdCommands work, paths valid

Excluded: docs/​tasks/, docs/​reference/, docs/​presentation/, tests/

Inputs (from Coordinator)

{
  "doc_path": "docs/​project/​architecture.md",
  "project_root": "/​path/​to/​project",
  "tech_stack": {
    "language": "TypeScript",
    "frameworks": ["Express", "React"]
  }
}

Workflow

Phase 1: SCOPE EXTRACTION

  1. Read document first 20 lines
  2. Parse <!-- SCOPE: ... --> comment
  3. If no SCOPE tag, infer from document type (see Verification Rules)
  4. Record stated purpose/​boundaries

Phase 2: CONTENT-SCOPE ALIGNMENT

Analyze document sections against stated scope:

CheckFinding Type
Section not serving scopeOFF_TOPIC
Scope aspect not coveredMISSING_COVERAGE
Excessive detail beyond scopeSCOPE_CREEP
Content duplicated elsewhereSSOT_VIOLATION

Scoring:

  • 10/​10: All content serves scope, scope fully covered
  • 8-9/​10: Minor off-topic content or small gaps
  • 6-7/​10: Some sections not aligned, partial coverage
  • 4-5/​10: Significant misalignment, major gaps
  • 1-3/​10: Document does not serve its stated purpose

Phase 3: FACT VERIFICATION

Per document type, verify claims against codebase:

DocumentVerification Method
architecture.mdCheck layers exist (Glob for folders), verify imports follow described pattern (Grep)
tech_stack.mdCompare versions with package.json, go.mod, requirements.txt
api_spec.mdMatch endpoints with controller/​route files (Grep for routes)
requirements.mdSearch for feature implementations (Grep for keywords)
database_schema.mdCompare with migration files or Prisma/​TypeORM schemas
runbook.mdValidate file paths exist (Glob), test command syntax
principles.mdSample code files for principle adherence patterns
CLAUDE.mdVerify referenced paths/​files exist

Finding Types:

  • OUTDATED_PATH: File/​folder path no longer exists
  • WRONG_VERSION: Documented version differs from package file
  • MISSING_ENDPOINT: Documented API endpoint not found in code
  • BEHAVIOR_MISMATCH: Described behavior differs from implementation
  • STALE_REFERENCE: Reference to removed/​renamed entity

Scoring:

  • 10/​10: All facts verified against code
  • 8-9/​10: Minor inaccuracies (typos, formatting)
  • 6-7/​10: Some paths/​names outdated, core info correct
  • 4-5/​10: Functional mismatches (wrong behavior described)
  • 1-3/​10: Critical mismatches (architecture wrong, APIs broken)

Phase 4: SCORING & REPORT

Calculate final scores and compile findings:

scope_alignment_score = weighted_average(coverage, relevance, focus)
fact_accuracy_score = (verified_facts / total_facts) * 10

overall_score = (scope_alignment * 0.4) + (fact_accuracy * 0.6)

Fact accuracy weighted higher because incorrect information is worse than scope drift.

Output Format

Return JSON to coordinator:

{
  "doc_path": "docs/​project/​architecture.md",
  "scope": {
    "stated": "System architecture with C4 diagrams, component interactions",
    "coverage_percent": 85
  },
  "scores": {
    "scope_alignment": 8,
    "fact_accuracy": 6,
    "overall": 7
  },
  "summary": {
    "total_issues": 4,
    "high": 1,
    "medium": 2,
    "low": 1
  },
  "findings": [
    {
      "severity": "HIGH",
      "type": "BEHAVIOR_MISMATCH",
      "location": "line 45",
      "issue": "Architecture shows 3-tier (Controller->Service->Repository) but code has Controller->Repository direct calls",
      "evidence": "src/​controllers/​UserController.ts:23 imports UserRepository directly",
      "fix": "Update diagram to show actual pattern OR refactor code to match docs"
    },
    {
      "severity": "MEDIUM",
      "type": "OUTDATED_PATH",
      "location": "line 78",
      "issue": "References src/​services/​legacy/ which was removed",
      "evidence": "Folder does not exist: ls src/​services/​legacy/ returns error",
      "fix": "Remove reference or update to current path"
    }
  ]
}

Verification Rules by Document Type

MANDATORY READ: Load references/​verification_rules.md for per-document verification patterns.

Critical Rules

  • Read before judge: Always read full document and relevant code before reporting issues
  • Evidence required: Every finding must include evidence field with verification command/​result
  • Code is truth: When docs contradict code, document is wrong (unless code is a bug)
  • Scope inference: If no SCOPE tag, use document filename to infer expected scope
  • No false positives: Better to miss an issue than report incorrectly
  • Location precision: Always include line number for findings
  • Actionable fixes: Every finding must have concrete fix suggestion

Definition of Done

  • Document read completely
  • SCOPE extracted or inferred
  • Content-scope alignment analyzed
  • Facts verified against codebase (with evidence)
  • Both scores calculated
  • JSON result returned to coordinator

Version: 1.0.0 Last Updated: 2026-01-28

More skills from boisenoise

database-cloud-optimization-cost-optimize logo
boisenoise/skills-collections

database-cloud-optimization-cost-optimize

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

10 0
View
postmark-automation logo
boisenoise/skills-collections

postmark-automation

Automate Postmark email delivery tasks via Rube MCP (Composio): send templated emails, manage templates, monitor delivery stats and bounces. Always search tools first for current schemas.

10 0
View
game-development logo
boisenoise/skills-collections

game-development

Game development orchestrator. Routes to platform-specific skills based on project needs.

10 0
View
test-fixing logo
boisenoise/skills-collections

test-fixing

Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests (\"fix these tests\", \"make tests pass\"), reports test failures (\"tests are failing\", \"test suite is broken\"), or completes implementation and wants tests passing.

10 0
View
notebooklm logo
boisenoise/skills-collections

notebooklm

Interact with Google NotebookLM to query documentation with Gemini's source-grounded answers. Each question opens a fresh browser session, retrieves the answer exclusively from your uploaded documents, and closes.

10 0
View
agent-evaluation logo
boisenoise/skills-collections

agent-evaluation

Testing and benchmarking LLM agents including behavioral testing,

10 0
View
clickup-automation logo
boisenoise/skills-collections

clickup-automation

Automate ClickUp project management including tasks, spaces, folders, lists, comments, and team operations via Rube MCP (Composio). Always search tools first for current schemas.

10 0
View
wordpress-penetration-testing logo
boisenoise/skills-collections

wordpress-penetration-testing

Assess WordPress installations for common vulnerabilities and WordPress 7.0 attack surfaces.

10 0
View
ln-761-secret-scanner logo
boisenoise/skills-collections

ln-761-secret-scanner

Scans codebase for hardcoded secrets with severity classification and remediation guidance. Use when auditing a project for leaked credentials.

10 0
View
azure-monitor-ingestion-java logo
boisenoise/skills-collections

azure-monitor-ingestion-java

Azure Monitor Ingestion SDK for Java. Send custom logs to Azure Monitor via Data Collection Rules (DCR) and Data Collection Endpoints (DCE).

10 0
View
ln-513-agent-reviewer logo
boisenoise/skills-collections

ln-513-agent-reviewer

Runs parallel external agent reviews (Codex + Gemini) on code changes. Process-as-arrive, critical verification with debate. Returns filtered suggestions.

10 0
View
drip-jobs-automation logo
boisenoise/skills-collections

drip-jobs-automation

Automate Drip Jobs tasks via Rube MCP (Composio). Always search tools first for current schemas.

10 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View