What problem does it solve? When onboarding an existing (brownfield) codebase into the PMAI product workflow, teams lack a verified snapshot of what the code actually does. This Skill scans the repository and produces a confirmed current-state record without inventing product direction from code. ## Core Features & Use Cases - Seven-Dimension Scan: Inventories tech stack, external integrations, architecture, directory structure, code conventions, test coverage, and risks into docs/CODEBASE-AUDIT.md. - Secret Protection: Redacts keys, tokens, and connection strings during scanning, recording only existence and location of sensitive files. - Baseline Verification: Checks whether pre-existing product materials form an equivalent product baseline, routing to design or proposal accordingly. - Use Case: A PM points PMAI at a legacy repository; the Skill audits the code, confirms a module inventory with the PM, bootstraps PRODUCT-STATE.md, and decides whether the project can skip straight to module design. ## Quick Start Run /pmai-init-project in a directory containing an existing codebase and confirm the audit scope when prompted.