TZ

tzurot-doc-audit

Reviews docs and Claude's memory to ensure everything is current and correctly categorized.

Install

mkdir -p .claude/skills/tzurot-doc-audit && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12014" && unzip -o skill.zip -d .claude/skills/tzurot-doc-audit && rm skill.zip

Installs to .claude/skills/tzurot-doc-audit

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Documentation and auto-memory freshness audit. Invoke with /tzurot-doc-audit to review docs and Claude auto-memory for staleness, items in the wrong layer, and missing-tool drift.
179 charsno explicit “when” trigger
Advanced

Key capabilities

  • Audit auto-memory for staleness and incorrect placement
  • Identify memory files that should migrate to rules, docs, or skills
  • Verify documentation freshness across the project
  • Check for broken internal references in documentation
  • Perform cross-reference checks between docs and code

How it works

This skill provides a checklist to audit documentation and auto-memory for staleness, incorrect layering, and missing-tool drift. It guides the user to classify memory files and verify various documentation aspects against project standards.

Inputs & outputs

You give it
A request to audit documentation and auto-memory freshness
You get back
An audit report or a series of actions to fix identified issues in documentation and memory files

When to use tzurot-doc-audit

  • Audit documentation freshness
  • Review auto-memory entries
  • Verify structural integrity of docs

About this skill

Documentation Audit Procedure

Invoke with /tzurot-doc-audit to audit documentation freshness across the project.

Run this periodically (e.g., after adding new tools, after major refactors) to ensure docs stay accurate.

Standards live in .claude/rules/07-documentation.md. This skill is the verification procedure.

Quick Scan

Fast triage before a full audit:

# What docs exist?
find docs/ -name '*.md' | sort

# What auto-memory entries exist? (Section 0 covers these — skip if
# this returns "No such file or directory" on a fresh install)
ls ~/.claude/projects/*tzurot*/memory/

# Recent changes (last 30 days)?
git log --since="30 days ago" --name-only --pretty=format: -- docs/ .claude/rules/ .claude/skills/ | sort -u | grep .

# Proposals that might be stale? (project uses backlog/ — no active/ dir by design)
ls docs/proposals/backlog/

# Orphan proposals (structural check — fails CI on any unlinked proposal)
pnpm ops guard:proposal-links

# Skills lastUpdated dates
grep -r 'lastUpdated' .claude/skills/*/SKILL.md

Audit Checklist

Work through each section. For each item, verify accuracy and fix inline or note for follow-up.

Section 0 runs FIRST because memory entries that migrate to other layers (rules, docs, skills) will affect those sections' audits later.

0. Auto-Memory Audit (run FIRST)

Claude's auto-memory in ~/.claude/projects/*tzurot*/memory/ accumulates per-session knowledge that may belong in more durable, team-visible layers. Each memory file is catalogued in ~/.claude/projects/*tzurot*/memory/MEMORY.md (the index Claude reads at session start). Audit all entries before moving on — items that migrate to rules/docs/skills affect those layers' audits in later sections.

# Skip this section if the memory directory doesn't exist (fresh install,
# different machine) — there's nothing to audit. The 2>/dev/null + ||
# fallback turns the bash glob-expansion error into a friendly skip
# signal so a copy-paster sees clean output.
ls ~/.claude/projects/*tzurot*/memory/ 2>/dev/null \
  || echo "(no memory directory found — skip Section 0)"

# If the glob silently expands to nothing (different checkout path),
# find the project directory manually:
ls ~/.claude/projects/ 2>/dev/null | grep -i tzurot \
  || echo "(no tzurot project directory found in ~/.claude/projects/)"

How to classify each memory file

Read each file and pick the matching trigger first — these are the heuristics for choosing a verdict in the table below:

  • Memory content already exists verbatim in a rule/doc/skillDelete (no migration needed; this is the steady-state outcome — once the initial backlog is cleared, most future audits hit this case)
  • Memory references a constraint that's now enforced by a rule → Delete (it's redundant)
  • Memory describes a multi-step procedure → Migrate to .claude/skills/ (skill candidate)
  • Memory captures a one-time investigation finding → Migrate to docs/research/ if distilled to TL;DR, or Delete if used and outdated
  • Memory describes "always do X for this project" → Migrate to .claude/rules/ (rule candidate)
  • Memory describes "this user prefers X" or time-bound state → Keep in memory (per-user context, not generalizable)

Verdict table

VerdictActionWhen
Keep in memoryNo actionPer-user context (e.g., user's recovery period), working-preference feedback that doesn't generalize to "always do X," time-bound project state (e.g., a deadline), or anything that's volatile or specific to one person's view of the project
Migrate to .claude/rules/Verify the target rule already covers, or will cover, the full intent — including any edge cases the memory captures. Then: add content to the rule file, delete the memory file, update MEMORY.md indexConstraint that should apply to every session and every developer ("the rule"). Driving example: feedback_out_of_scope_tracking.md06-backlog.md (Session 1)
Migrate to docs/reference/Verify the target doc captures the full intent — nuance, examples, exceptions. Then: create or extend the reference doc, delete the memory file, update MEMORY.md indexPersistent technical reference (architecture decision, runbook, design rationale)
Migrate to .claude/skills/Verify the target skill captures the full intent. Then: create or extend the skill, delete the memory file, update MEMORY.md indexProcedural knowledge ("how to do X") that should be invocable as a procedure
DeleteRemove the memory file, remove from MEMORY.md indexStale, no longer relevant, redundant with content already captured elsewhere, or describes a one-time investigation that's been resolved

The "verify target covers full intent" step in the three migrate verdicts is load-bearing: a memory entry often has nuance (a specific exception, a concrete failure case) that the destination file doesn't yet cover. If you delete the memory before the destination has the nuance, the nuance is gone. Either extend the destination first, or downgrade the verdict to Keep until the destination is updated.

After processing each file, the order matters — for migrate verdicts especially, do these steps in sequence:

  1. Write to the destination layer first (rule, doc, or skill — verifying it captures the full intent of the memory entry)
  2. Delete the memory file
  3. Update MEMORY.md (the index) to remove deleted entries and revise descriptions for any that changed

Doing them out of order risks orphaning the memory's nuance: if you delete the memory file before the destination has the content, the nuance is gone (the verdict table's bold "Verify the target..." callouts above guard against this).

Auto-memory audit runs as part of the recurring /tzurot-doc-audit cycle — there is no separate backlog item to track. If this section grows expensive enough to warrant its own cadence (e.g., audited weekly, while docs are quarterly), split it out then.

1. docs/README.md Index

  • Files listed under "Backlog proposals" are a representative subset of docs/proposals/backlog/
  • Quick Links point to files that exist
  • Reference subdirectory table matches actual subdirectories
  • Root-level documentation section references correct filenames

Note: this project uses BACKLOG.md (root load manifest) + backlog/ (HOT now.md/active-epic.md + COLD cold/) for active work tracking, not docs/proposals/active/ — that directory does not exist by design. If you see references to it in any doc, they're stale and should be removed.

2. Rules Files (.claude/rules/)

FileCheck
00-critical.mdSecurity rules still reflect current patterns? Post-mortem table current?
01-architecture.mdService boundaries match dependency-cruiser rules? Anti-patterns table current?
02-code-standards.mdESLint limits match eslint.config.js? Testing patterns current?
03-database.mdCache implementations table accurate? Protected indexes list current?
04-discord.mdShared utilities table lists all browse/dashboard helpers?

Content truncated.

When not to use it

  • When the user does not want to audit documentation freshness
  • When the user does not want to review auto-memory entries
  • When the user does not want to verify structural integrity of docs

Limitations

  • Requires manual verification of accuracy for each item
  • Requires manual fixing of issues found inline
  • Requires updating `lastUpdated` on modified skill files

How it compares

This skill offers a systematic audit procedure for documentation and auto-memory, ensuring accuracy and proper placement of information, which is more thorough than an ad-hoc review.

Compared to similar skills

tzurot-doc-audit side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tzurot-doc-audit (this skill)01moReviewAdvanced
meeting-minutes416moNo flagsBeginner
super-save12moReviewBeginner
k-docs07moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry