Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

product-review

БесплатноБез исполняемых скриптовНе проверен

Product review from a PM perspective. Uses multi-agent pipeline to analyze any project/codebase for product discovery, goal alignment, UX/DX audit…

tsaolот tsaol★ 69 звёзд на GitHub

Об этом скилле

Product Review - 多 Agent 产品经理评审

以产品经理视角全面评审任意项目/代码库,输出结构化评审报告和改进路线图。

Usage

/product-review <project_path> [options]

Options:

Option Description Default
--quick Quick mode (skip competitive analysis, simplified roadmap) false
--focus=<area> Focus area: ux / dx / growth / tech all
--lang=<zh|en> Output language zh

Examples:

/product-review .
/product-review ~/codes/my-project
/product-review . --quick
/product-review . --focus=ux --lang=en
/product-review ~/codes/my-project --quick --focus=dx

Prerequisites: Register the Agents

The 5 pipeline agents live in this skill's agents/ directory (pr-discovery, pr-goal-alignment, pr-ux-dx-audit, pr-competitive-analysis, pr-roadmap-planner). Claude Code does not auto-register agents inside a skill folder, so install them once:

# User-level (all projects). Adjust the source path to where this skill is installed.
SKILL_DIR=~/.claude/skills/product-review
mkdir -p ~/.claude/agents
cp "$SKILL_DIR"/agents/pr-*.md ~/.claude/agents/

# Or project-level (current repo only)
mkdir -p .claude/agents && cp "$SKILL_DIR"/agents/pr-*.md .claude/agents/

Restart Claude Code (or run /agents) so they are picked up.

Fallback if an agent is not registered: when a step says "Run the pr-xxx agent" and subagent_type: "pr-xxx" is unavailable, do not abort. Instead read agents/pr-xxx.md from this skill directory, strip the YAML frontmatter, and spawn a general-purpose agent whose prompt is that file's body followed by the step's concrete Input/Output paths, focus and language notes. Log it as ⚠ fallback: general-purpose in pipeline.log.

Output Structure

All outputs are generated in the target project's root directory:

.product-review/
├── raw/snapshot.md                   # Phase 0: project snapshot
├── analysis/
│   ├── discovery.md                  # Agent 1 output
│   ├── goal-alignment.md             # Agent 2 output
│   ├── ux-dx-audit.md                # Agent 3 output
│   └── competitive-analysis.md       # Agent 4 output (Full mode only)
├── output/
│   └── pm-review.md                  # Final review report
└── process/
    └── pipeline.log                  # Execution log

Pipeline

Full Mode (5 Agents)

Phase 0: Project Snapshot (bash, no LLM)
    ↓ raw/snapshot.md
Agent 1: pr-discovery (Product Discovery)
    ↓ analysis/discovery.md
Agent 2: pr-goal-alignment  ←──┐ Parallel
Agent 3: pr-ux-dx-audit     ←──┘
    ↓ analysis/goal-alignment.md + analysis/ux-dx-audit.md
Agent 4: pr-competitive-analysis
    ↓ analysis/competitive-analysis.md
Agent 5: pr-roadmap-planner (Synthesize all)
    ↓ output/pm-review.md

Quick Mode (3 Agents, skip Agent 4)

Phase 0 → Agent 1 → Agent 2 + Agent 3 (parallel) → Agent 5

Execution Steps

Step 0: Setup

PROJECT_PATH="<user_provided_path>"
cd "$PROJECT_PATH"
mkdir -p .product-review/{raw,analysis,output,process}

Step 1: Phase 0 - Project Snapshot

Non-LLM step. Collect project metadata using bash commands and write to .product-review/raw/snapshot.md.

Collect the following:

# 1. README content
cat README.md 2>/dev/null || echo "No README.md found"

# 2. Directory structure (2 levels deep)
find . -maxdepth 2 -not -path '*/\.*' -not -path '*/node_modules/*' -not -path '*/vendor/*' -not -path '*/__pycache__/*' -not -path '*/dist/*' -not -path '*/build/*' | head -100

# 3. Config files
for f in package.json pyproject.toml Cargo.toml go.mod composer.json Gemfile pom.xml build.gradle; do
  [ -f "$f" ] && echo "=== $f ===" && cat "$f"
done

# 4. Git log (last 20 commits)
git log --oneline -20 2>/dev/null || echo "Not a git repo"

# 5. GitHub stats (if remote exists)
REMOTE=$(git remote get-url origin 2>/dev/null)
if [ -n "$REMOTE" ]; then
  REPO=$(echo "$REMOTE" | sed 's/.*github.com[:/]\(.*\)\.git/\1/' | sed 's/.*github.com[:/]\(.*\)/\1/')
  gh api "repos/$REPO" --jq '{stars: .stargazers_count, forks: .forks_count, open_issues: .open_issues_count, language: .language, license: .license.spdx_id, created: .created_at, updated: .pushed_at}' 2>/dev/null
  gh api "repos/$REPO/pulls?state=open&per_page=1" --jq 'length' 2>/dev/null
fi

# 6. File type statistics
find . -type f -not -path '*/\.*' -not -path '*/node_modules/*' -not -path '*/vendor/*' | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -20

Write to .product-review/raw/snapshot.md:

# Project Snapshot: {project_name}

> Generated: {timestamp}

## README
{readme_content}

## Directory Structure
{tree_output}

## Config Files
{config_content}

## Git History (Last 20 Commits)
{git_log}

## GitHub Stats
{github_stats}

## File Type Statistics
{file_stats}

Log:

[HH:MM] phase-0    | ✓ snapshot collected | → raw/snapshot.md

Step 2: Agent 1 - Product Discovery

Run the pr-discovery agent.

Input: Read `.product-review/raw/snap

Полный SKILL.md на GitHub

Установить product-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/pr-competitive-analysis.mdagents/pr-discovery.mdagents/pr-goal-alignment.mdagents/pr-roadmap-planner.mdagents/pr-ux-dx-audit.md

FAQ

Что делает скилл product-review?

Product review from a PM perspective. Uses multi-agent pipeline to analyze any project/codebase for product discovery, goal alignment, UX/DX audit, competitive analysis, and roadmap planning.

Как установить скилл product-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл product-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить product-review с