pi-explorer
v0.1.0
Published
Pi skill + command for deep codebase exploration and HTML architecture reports.
Maintainers
Readme
pi-explorer
A Pi package that adds:
explorerskill: deeply explores the current repo and generates an HTML architecture/pattern report/explorercommand: indexes report directories, lets you browse them in a TUI, and opens the selected HTML in your browser
Install
From npm:
pi install npm:pi-explorerFrom GitHub:
pi install git:github.com/AlvaroRausell/pi-explorerThen reload Pi:
/reloadContents
skills/explorer/— skill instructions, references, and report publishing scriptextensions/explorer.js—/explorercommand
Report location
By default, reports are written into the repo you are currently in:
<repo>/.pi/explorer-reportsExample:
/home/a/repos/my-app/.pi/explorer-reportsUsage
Generate a report for the repo you are currently inside:
/skill:explorerIndex the current repo's report directory so /explorer can browse it later:
/explorer indexBrowse reports from the current repo only:
/explorer here
/explorer latest hereBrowse reports across indexed report directories:
/explorer
/explorer latestUnindex the current repo's report directory:
/explorer unindexHow it works
- The skill always explores the current working directory.
- Reports are stored per-repo instead of in one global report store.
/exploreruses~/.pi/agent/explorer-index.jsonto remember which report directories you indexed.- Published reports include an
index.jsonmanifest in each repo's.pi/explorer-reportsdirectory.
