What problem does it solve?
Understanding a large or unfamiliar codebase is slow when you have no map of its features. This Skill wraps the clawpatch CLI's map subcommand to generate a semantic feature index of your repository, producing Zod-validated JSON feature files under .clawpatch/features/ that downstream planning and capture workflows can consume.
Core Features & Use Cases
- Provider-free heuristic mapping: Runs clawpatch map with --source heuristic by default, using zero LLM calls and zero API spend for a deterministic filesystem-based index.
- Install detection and version guard: Detects a missing clawpatch binary and prints pnpm install instructions, and warns (without blocking) when the installed version falls outside the supported >=0.4.0 <0.5.0 range.
- Local-only sharing contract: Writes a self-contained .clawpatch/.gitignore skeleton so the feature index stays local per developer and never creates PR review noise.
- Use Case: You join a new repo and want a quick feature inventory before planning work. Run the map skill, get a count of detected features with a last-mapped timestamp, then feed the index into /flow-next:plan or /flow-next:capture.
Quick Start
Ask the assistant to map the repository with the flow-next map skill, optionally passing --source auto or --source agent for LLM-backed mapping when heuristic coverage is weak.