---
id: daily-product-lens
name: "product-lens"
url: https://skills.yangsir.net/skill/daily-product-lens
author: affaan-m
domain: testing
tags: ["laravel", "code-review", "test-automation", "security", "quality-assurance"]
install_count: 4600
rating: 4.40 (20 reviews)
github: https://github.com/affaan-m/everything-claude-code
---

# product-lens

> Laravel 项目验证流程，在 PR 前和部署前运行完整的代码检查、测试和安全扫描，确保代码质量

**Stats**: 4,600 installs · 4.4/5 (20 reviews)

## Before / After 对比

### Laravel 代码验证

**Before**:

开发者手动运行 Pint 代码格式化、PHPStan 静态分析、Pest 单元测试，遗漏步骤导致低质量代码合并，部署后发现兼容性问题需要紧急回滚，整个验证流程耗时且容易出错

**After**:

一键执行完整的 lint → test → security → dependency 检查链，自动生成详细报告并阻止不通过代码，5 分钟完成全量验证，代码质量提升 40%，部署后的紧急回滚减少 85%

| Metric | Before | After | Change |
|---|---|---|---|
| 验证时间 | 20分钟 | 5分钟 | -75% |

## Readme

# product-lens

# Product Lens — Think Before You Build

This lane owns product diagnosis, not implementation-ready specification writing.

If the user needs a durable PRD-to-SRS or capability-contract artifact, hand off to `product-capability`.

## When to Use

- Before starting any feature — validate the "why"

- Weekly product review — are we building the right thing?

- When stuck choosing between features

- Before a launch — sanity check the user journey

- When converting a vague idea into a product brief before engineering planning starts

## How It Works

### Mode 1: Product Diagnostic

Like YC office hours but automated. Asks the hard questions:

```
1. Who is this for? (specific person, not "developers")
2. What's the pain? (quantify: how often, how bad, what do they do today?)
3. Why now? (what changed that makes this possible/necessary?)
4. What's the 10-star version? (if money/time were unlimited)
5. What's the MVP? (smallest thing that proves the thesis)
6. What's the anti-goal? (what are you explicitly NOT building?)
7. How do you know it's working? (metric, not vibes)

```

Output: a `PRODUCT-BRIEF.md` with answers, risks, and a go/no-go recommendation.

If the result is "yes, build this," the next lane is `product-capability`, not more founder-theater.

### Mode 2: Founder Review

Reviews your current project through a founder lens:

```
1. Read README, CLAUDE.md, package.json, recent commits
2. Infer: what is this trying to be?
3. Score: product-market fit signals (0-10)
   - Usage growth trajectory
   - Retention indicators (repeat contributors, return users)
   - Revenue signals (pricing page, billing code, Stripe integration)
   - Competitive moat (what's hard to copy?)
4. Identify: the one thing that would 10x this
5. Flag: things you're building that don't matter

```

### Mode 3: User Journey Audit

Maps the actual user experience:

```
1. Clone/install the product as a new user
2. Document every friction point (confusing steps, errors, missing docs)
3. Time each step
4. Compare to competitor onboarding
5. Score: time-to-value (how long until the user gets their first win?)
6. Recommend: top 3 fixes for onboarding

```

### Mode 4: Feature Prioritization

When you have 10 ideas and need to pick 2:

```
1. List all candidate features
2. Score each on: impact (1-5) × confidence (1-5) ÷ effort (1-5)
3. Rank by ICE score
4. Apply constraints: runway, team size, dependencies
5. Output: prioritized roadmap with rationale

```

## Output

All modes output actionable docs, not essays. Every recommendation has a specific next step.

## Integration

Pair with:

- `/browser-qa` to verify the user journey audit findings

- `/design-system audit` for visual polish assessment

- `/canary-watch` for post-launch monitoring

- `product-capability` when the product brief needs to become an implementation-ready capability plan

Weekly Installs500Repository[affaan-m/everyt…ude-code](https://github.com/affaan-m/everything-claude-code)GitHub Stars144.9KFirst Seen10 days agoSecurity Audits[Gen Agent Trust HubPass](/affaan-m/everything-claude-code/product-lens/security/agent-trust-hub)[SocketPass](/affaan-m/everything-claude-code/product-lens/security/socket)[SnykPass](/affaan-m/everything-claude-code/product-lens/security/snyk)Installed oncodex465opencode443cursor438github-copilot437antigravity437gemini-cli436

---
*Source: https://skills.yangsir.net/skill/daily-product-lens*
*Markdown mirror: https://skills.yangsir.net/api/skill/daily-product-lens/markdown*