alex ab45859d65 Add AST extraction tests, broader ignore patterns, build dist
- ast-extract.ts: Support tree-sitter-python and tree-sitter-go grammar
  loading (pkg.language fallback)
- discover.ts: Add cache directories to default ignore (.cache, tmp,
  temp, .turbo, .parcel-cache, .eslintcache, .prettiercache)
- tests: Add TypeScript AST extraction tests (exports + imports)
- Verified on real project: media_library_viewer (196 .pi-map.md files)
  with accurate React component extraction
- Build: npm run build produces clean dist/ output

All 16 tests pass.
2026-06-09 19:25:56 +02:00

pi-project-map

Pi skill for hierarchical project analysis.

What it does

Generates .pi-map.md files throughout your project — one per directory — containing a dense, machine-readable summary of that directory's files, exports, dependencies, and architecture. This gives Pi agents instant project comprehension without reading every source file.

Quick Start

npm install -g pi-project-map
project-map init

Design

See design-doc.md for the full specification.

Implementation Plan

See implementation-plan.md for the engineering roadmap.

S
Description
No description provided
Readme 620 KiB
Languages
TypeScript 97%
JavaScript 3%