From pm-ai-partner
Audits codebase for product managers: auto-detects structure/framework/architecture, maps capabilities/APIs/data models/gaps, outputs Markdown report with diagrams/tables/implications.
npx claudepluginhub flight505/skill-forge --plugin pm-ai-partnerpm/Help me understand the codebase for: $ARGUMENTS ## Instructions Conduct a PM-focused codebase exploration. The goal is not to understand every line of code, but to map **what the system can do** and **what that means for the product**. ### Process 1. **Auto-detect structure** — Identify language, framework, repo layout, entry points 2. **Explore architecture** — Map services, components, data flows, and external dependencies 3. **Map capabilities** — What product capabilities does this code enable? 4. **Find the gaps** — What's claimed in docs but missing in code? What exists but isn't ...
/audit-codebaseAudits codebase for product managers: auto-detects structure/framework/architecture, maps capabilities/APIs/data models/gaps, outputs Markdown report with diagrams/tables/implications.
/hatch3r-codebase-mapAnalyzes brownfield codebase via static analysis to reverse-engineer modules, dependencies, tech debt, business domain, and architecture. Generates specs in docs/specs/, ADRs, and AGENTS.md.
/fire-map-codebaseAnalyzes codebase using parallel mapper agents to produce 7 structured Markdown docs in .planning/codebase/ covering tech stack, architecture, structure, conventions, testing, integrations, and concerns. Optional focus area.
/map-codebasePerforms deep codebase analysis with parallel agents, producing 7 structured documents on tech stack, architecture, structure, conventions, testing, integrations, and concerns.
/scanAnalyzes an existing codebase and maps its structure, architecture, conventions, and concerns.
Share bugs, ideas, or general feedback.
Help me understand the codebase for: $ARGUMENTS
Conduct a PM-focused codebase exploration. The goal is not to understand every line of code, but to map what the system can do and what that means for the product.
Start by detecting the repo's characteristics:
## Repo Profile
- **Language(s):** [auto-detect from file extensions and config]
- **Framework:** [detect from package.json, pom.xml, build.gradle, etc.]
- **Architecture:** [monolith / microservice / monorepo / library]
- **Entry points:** [main files, server startup, route definitions]
- **Data stores:** [databases, caches, queues detected from config/code]
- **External deps:** [APIs, services this code calls]
# Codebase Audit: [System/Service Name]
## One-Sentence Summary
What this system does in plain language.
## Repo Profile
| Attribute | Value |
|-----------|-------|
| Language | [detected] |
| Framework | [detected] |
| Architecture | [type] |
| Size | [files/lines estimate] |
## Architecture Overview
[Mermaid diagram showing key components, data flow, and external dependencies]
## Capability Map
| Capability | Status | Evidence | Product Implication |
|------------|--------|----------|---------------------|
| [Feature] | Exists/Partial/Missing | [file/pattern] | [What this means for PM decisions] |
## API Surface
| Endpoint/Interface | Method | Purpose | Notes |
|--------------------|--------|---------|-------|
| [path or function] | [GET/POST/etc] | [what it does] | [rate limits, auth, quirks] |
## Data Model
| Entity | Key Fields | Relationships | PM Relevance |
|--------|-----------|---------------|--------------|
| [model] | [fields] | [links to other models] | [what this means for features] |
## Key Findings
1. **[Finding]** — [Evidence] → [Product implication]
2. **[Finding]** — [Evidence] → [Product implication]
## Gap Inventory
| Expected (from docs) | Reality (from code) | Impact |
|----------------------|---------------------|--------|
## Questions for Engineering
- [Things code can't answer alone]
## Recommendations
1. [Action item with evidence backing]