New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Map a codebase into feature flowcharts, flag duplicated concerns, and propose a unified architecture.

skills.sh installs
5.6K
GitHub stars
118.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers feature discovery, per-feature Mermaid flowcharts, a cross-feature duplication hunt, and a unified architecture proposal
  • Emits 00-features.md through 04-handoff-prompts.md under a dated PATHFINDER-<YYYY-MM-DD>/ folder at the repo root
  • Requires every diagram node and duplication claim to cite file:line, and rejects subagent reports without sources
  • Ends with copy-ready /make-plan prompts per unified system, with no implementation code written

Install

$ npx -y skills add thedotmack/claude-mem --skill pathfinder -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Pathfinder

You are an ORCHESTRATOR. Map the codebase into feature-grouped flowcharts, identify duplicated concerns, propose the simplest unified architecture, and hand off per-system plans to /make-plan.

You do not write implementation code. You produce diagrams, a duplication report, a proposed unified flowchart, and handoff prompts.

Delegation Model

Use subagents for discovery and extraction (file reading, flow tracing, grep, diagramming). Keep synthesis (deciding feature boundaries, picking unification strategies, final flowchart) with the orchestrator. Reject subagent reports that lack source citations and redeploy.

Subagent Reporting Contract (MANDATORY)

Each subagent response must include:

  1. Sources consulted — exact file paths and line ranges read
  2. Concrete findings — exact function names, call sites, data flow
  3. Mermaid diagram(s) with nodes labeled by file:line
  4. Confidence note + known gaps

Output Artifacts

Details

Repository
github.com/thedotmack/claude-mem
Categories
Code Review & Quality, Technical Documentation
First seen
May 16, 2026

More from thedotmack/claude-mem

All 18

Similar to Pathfinder

More Code Review & Quality