Forgent claudemd-discoverer
file-discovery-based skill consuming pr_diff, file_tree to produce claudemd_files
install
source · Clone the upstream repo
git clone https://github.com/mirandaguillaume/forgent
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/mirandaguillaume/forgent "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.github/skills/claudemd-discoverer" ~/.claude/skills/mirandaguillaume-forgent-claudemd-discoverer && rm -rf "$T"
manifest:
.github/skills/claudemd-discoverer/SKILL.mdsource content
Claudemd Discoverer
Guardrails
- timeout: 1min
- max_depth: 5
When to Use
Use for:
- when code review needs project-specific rules
Don't use for:
- when reviewing without CLAUDE.md compliance
Context
Consumes: pr_diff, file_tree Produces: claudemd_files Memory: short-term
Strategy
Approach: file-discovery Tools: bash, read_file, glob
Steps
- find root CLAUDE.md if it exists
- identify directories modified by the PR diff
- find CLAUDE.md files in those directories
- return list of file paths with contents
Security
- Filesystem: read-only
- Network: none