Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hylarucoder avatar

Hai Audit Docs Internally

  • 6 installs
  • 277 repo stars
  • Updated June 11, 2026
  • hylarucoder/hai-stack

Audits a document or doc set for internal conflicts, stale content, terminology drift, and duplication, producing a prioritized findings report.

About

Checks docs for self-consistency without comparing to code, reporting P0-P3 findings plus update/move/merge/remove/split decisions. A developer uses it when a PRD or spec contradicts itself, repeats sections, or drifts in terminology.

  • Builds a document map then flags conflict, drift, and stale signals
  • Outputs repair-type decision table and suggested repair order

Hai Audit Docs Internally by the numbers

  • 6 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #1,205 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hylarucoder/hai-stack --skill hai-audit-docs-internally

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6
repo stars277
Last updatedJune 11, 2026
Repositoryhylarucoder/hai-stack

What it does

Audits a document or doc set for internal conflicts, stale content, terminology drift, and duplication, producing a prioritized findings report.

Files

SKILL.mdMarkdownGitHub ↗

Hai Audit Docs Internally

For Chinese readers, see SKILL.zh_CN.md. The English SKILL.md is the execution source of truth.

Overview

The source of truth is the document's own goal, structure, terminology, claims, and cross-references — not the codebase.

Core Principle

A document is a coherent argument, and the audit reads it as one. Judge it for consistency of purpose, terms, and claims: every section should serve the same target, the same concept should carry the same name, and nothing should assert what another section denies or what no evidence supports. The enumerated consistency checks live in Workflow step 3.

Workflow

1. Identify the document scope.

  • The scope is exactly what the user points at: a single file, an arbitrary batch of files, a

PRD pack, README plus docs, or a generated spec set. Do not widen it to a directory uninvited.

  • Note the document's apparent audience, purpose, and expected decision/use.

2. Build a document map.

  • List the main sections and what each section is trying to do.
  • Extract key claims, definitions, terminology, assumptions, scope boundaries, examples, dates, owners, statuses, and cross-links.
  • Identify repeated claims and places where the same concept appears under different names.

3. Find internal issues.

  • Direct conflict: two sections make incompatible claims.
  • Scope conflict: in-scope and out-of-scope sections disagree.
  • Terminology drift: the same concept uses different names, or one name means different things.
  • Lifecycle conflict: statuses, phases, dates, or dependencies do not line up.
  • Acceptance conflict: success criteria do not prove the stated goal.
  • Stale signal: text references old decisions, old names, old dates, deprecated sections, or superseded assumptions.
  • Redundant content: repeated paragraphs, examples, or checklists should be merged or removed.
  • Misplaced content: implementation detail, policy, background, or task planning lives in the wrong document section.
  • Unsupported claim: a strong claim lacks evidence, owner, source, or decision record.

4. Decide the repair type.

  • Update when the content is useful but stale or imprecise.
  • Move when the content belongs elsewhere in the same document.
  • Merge when repeated content fragments one idea.
  • Remove when content is out of scope, obsolete, unsupported, or harmful.
  • Split when one document contains multiple independent goals or audiences.
  • Ask when a conflict cannot be resolved from the document itself.

5. Produce the audit.

  • Deliver: Verdict, Document Map, prioritized Findings (each with type, location, evidence, impact, repair), a Remove/Update/Move decision table, Open Decisions, and a Suggested Repair Order.
  • Read references/output-template.md before finalizing.
  • Prioritize issues that change understanding, decisions, scope, or execution.
  • Keep wording fixes secondary unless wording causes ambiguity or conflict.

Severity

LevelMeaning
P0Internal conflict could cause a wrong decision, unsafe action, or failed launch
P1Core goal, scope, terminology, or acceptance is inconsistent
P2Stale, duplicated, misplaced, or unsupported content creates confusion
P3Minor clarity, structure, or formatting issue
Needs decisionThe document has a real fork that requires owner input

Use a different skill when

  • The truth source is the code: use hai-audit-docs-against-code to check docs against implementation, config, and API contracts. This skill never compares against code.
  • The document is a PRD that needs product-requirement crafting or repair (scope, acceptance, structure as a spec): use hai-prd.
  • The docs just need formatting and presentation cleanup, not consistency judgment: use readme-beautifier.
  • The user wants the document rewritten around the current conclusions, not a findings report: use hai-rewrite-doc. This skill diagnoses; it does not rewrite.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.