Doc-File Sprawl Guard

Agents love to create README.md, SUMMARY.md, and NOTES.md files nobody asked for, cluttering the repo. Warn (or block) on unsolicited documentation-file creation.

Type
hook
GitHub stars
0
Repository
Category

Install

  1. 1Manual install

    Copy the hook file from the repository into ~/.claude/hooks/<name>.sh. The filename must match the hook name (e.g. doc-file-guard.md).

  2. 2Verify

    /agents, /commands or /hooks in Claude Code

    Restart Claude Code and list your installed components to confirm it was picked up.

⚠️ Some repositories ship a CLI installer — check the repo README for the recommended method.

View on GitHub ↗

Prefer the full source? The repository README is the authoritative install reference.