xiaolai

Staleness Detector — Development agent for Claude Code

Development community

Use this agent to detect stale documentation by comparing git timestamps between source files and their corresponding doc files.

How to install Staleness Detector

Installs to ~/.claude/agents/xiaolai-docs-guardian-for-claude-staleness-detector.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/xiaolai/docs-guardian-for-claude/HEAD/agents/staleness-detector.md -o ~/.claude/agents/xiaolai-docs-guardian-for-claude-staleness-detector.md

Restart Claude Code, or start a new session, for it to be picked up.

What Staleness Detector does


name: staleness-detector description: Use this agent to detect stale documentation by comparing git timestamps between source files and their corresponding doc files. Runs staleness-check.sh for mechanical git work, then interprets the results.

Context: Auditing documentation freshness user: "Check if our docs are up to date" assistant: "I'll use the staleness-detector agent to compare git timestamps between code and docs." Staleness detection is the first

Alternatives in Development

  • Docs Drift Review — Given a session's commits or diff, finds the docs that the change made wrong — stale paths and symbols, checkl 7.2k ★
  • Review Agent — You are a specialized review agent 3.6k ★
  • Subdomain Enumeration — subfinder -d {domain} -silent sort -u subs.txt amass enum -passive -d {domain} subs.txt sort -u subs.txt -o su 213 ★

Full documentation available on GitHub

View Source Repository