Skip to content
Business
Command

/analyze

Scan codebase and interview for product inventory

BOOST
From plugin
ccc
49618 skills4 agents18 commands
Install
> /plugin marketplace add ooiyeefei/ccc

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/analyze

Context preview

What this command does when you run it.

Scan codebase and interview for product inventory

Command definition

analyze.md
description: Scan codebase and interview for product inventory
allowed-tools: Read, Glob, Grep, Write, AskUserQuestion

Product Analysis

Perform comprehensive product analysis to understand current state.

Process

1. **Scan Codebase Structure**

  • Use Glob to find routes/pages (user-facing features)
  • Identify components (UI capabilities)
  • Find API endpoints (backend functionality)
  • Locate database models (data entities)

2. **Interview User** for business context using AskUserQuestion:

  • "What's your core value proposition?"
  • "Who are your target users?"
  • "What's your pricing model?"
  • "What do users love most? Complain about most?"

3. **Generate Product Inventory**

  • List all features with metadata
  • Identify technical moats (hard to replicate)
  • Flag technical debt areas
  • Note architectural constraints

4. **Save Results**

  • Create `.pm/` directory if not exists
  • Save to `.pm/product/inventory.md`
  • Save to `.pm/product/architecture.md`
  • Update `.pm/cache/last-updated.json`

Output Format

# Product Inventory - [Date]

## Core Value Proposition
[User-provided]

## Features
| Feature | Type | Technical Moat | Debt Level |
|---------|------|----------------|------------|

## Architecture Constraints
- [Constraint 1]

Reference the product-management skill for detailed guidance.

Ships withccc

Custom plugins and skills for Claude Code.

Get the whole plugin

Other commands on ccc.