codebase-scanning
Codebase Scanning
Discover strategic product context from existing codebases. Covers web and mobile platforms.
Auto-loaded by the context-scanner agent for all codebase scanning operations. Also loaded when pm-setup bootstraps project context from code.
Scanning Process
- Detect platform - Identify web, mobile, or hybrid. For mobile, follow the detection order in
references/platform-detection.md - Parse tech stack - Read manifests to identify frameworks, languages, databases. See
references/manifest-detection.mdfor supported manifests per platform - Discover features - Scan routes, pages, and components for user-facing functionality
- Map integrations - Match dependencies against known 3rd party services. See
references/integration-mapping.mdfor lookup tables - Estimate scale - Count files, estimate LOC, assign complexity and maturity tiers
- Present results - Use
assets/presentation-template.mdformat, structured perassets/output-schema.md
Feature Discovery
Scan routes, pages, and components to identify user-facing functionality.
More from slgoodrich/agents
prd-templates
Master PRD templates including problem statements, success metrics, requirements, user stories, and technical considerations. Use when writing PRDs, documenting features, defining requirements, communicating product decisions, or creating feature specifications. Covers PRD structure, writing best practices, and templates from Amazon, Google, and high-performing PM teams.
28user-story-templates
User story templates with acceptance criteria, story splitting, and INVEST criteria. Use when writing user stories, defining acceptance criteria, splitting large stories, or refining a backlog for sprint planning. Trigger on: 'write user stories for this feature', 'acceptance criteria', 'Given-When-Then', 'split this epic into stories', 'INVEST criteria'.
15validation-frameworks
Problem and solution validation methodologies, assumption testing, and MVP experiments. Use when validating a problem worth solving, testing solution assumptions, designing MVP experiments, or deciding whether to pivot or persevere. Trigger on: 'validate my idea', 'test my assumptions', 'design an MVP experiment', 'should I pivot', 'is this problem worth solving'.
13usability-frameworks
Usability testing methodology, Nielsen's heuristics, and usability metrics. Use when planning usability tests, evaluating UI against heuristics, writing test scripts, or measuring task success rates. Trigger on: 'run a usability test', 'heuristic evaluation', 'usability test script', 'task success rate', 'think-aloud protocol'.
12market-sizing-frameworks
TAM/SAM/SOM calculations and market sizing methodologies. Use when assessing market opportunity, estimating revenue potential, or validating if a market is worth pursuing. Trigger on: 'size my market', 'TAM SAM SOM', 'how big is my market', 'market opportunity', 'is this market worth it'.
12product-positioning
Product positioning and differentiation using April Dunford's framework. Use when positioning a product, defining competitive differentiation, developing messaging, or entering a new market. Trigger on: 'position my product', 'how do I differentiate', 'positioning statement', 'competitive alternatives', 'what category should I be in'.
12