一键导入
biz-scan
Scans codebase for revenue opportunities, KPIs, monetization gaps. Triggers: business metrics, KPI, analytics gaps, monetization, revenue.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scans codebase for revenue opportunities, KPIs, monetization gaps. Triggers: business metrics, KPI, analytics gaps, monetization, revenue.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
REST/GraphQL API design: naming, versioning, pagination, idempotency, OpenAPI. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, idempotency, rate limit.
Direct technical voice for docs, README, user-facing text. Concise/strict modes. Triggers: documentation, README, content, output-mode, voice, prose style.
Multi-source web research methodology: retrieve-vs-answer gate, complexity-scaled search budget, query craft, primary-source preference, source-conflict skepticism, adversarial verification, attribution-without-reproduction. Triggers: deep research, multi-source, web research, synthesize sources, cross-reference, fact synthesis, source verification.
UI craftsmanship: animation rules, easing, micro-interactions, state polish. Triggers: animation, transition, ease-out, motion, micro-interaction, hover, loading state, UI polish.
Builds production MCP servers via 4-phase methodology: research, implement, test, evaluate. Triggers: build MCP, new MCP, MCP integration, MCP server scaffold.
MCP server design: tool schemas, resources, stdio/SSE, capability negotiation. Triggers: MCP, Model Context Protocol, JSON-RPC, stdio, SSE, Claude Desktop.
| name | biz-scan |
| description | Scans codebase for revenue opportunities, KPIs, monetization gaps. Triggers: business metrics, KPI, analytics gaps, monetization, revenue. |
| effort | medium |
| disable-model-invocation | true |
| argument-hint | [area] |
| agent | business-intelligence |
| context | fork |
| allowed-tools | Read, Grep, Glob |
$ARGUMENTS
Triggers the Business Intelligence agent to analyze the codebase for business opportunities and KPI gaps.
/biz-scan [scope]
# /biz-scan schema : focus on database models and entity relationships
# /biz-scan api : focus on API endpoints and data exposure
# /biz-scan all : full codebase scan
Scan for business-relevant data structures:
# Find database models, schemas, entities
grep -rl "model\|schema\|entity\|migration" --include="*.py" --include="*.ts" --include="*.rb" .
# Find ORM definitions
grep -rl "prisma\|sequelize\|typeorm\|sqlalchemy\|activerecord" .
Catalog: entity names, relationships, fields that map to business concepts (revenue, subscription, usage, billing).
Scan controllers, services, and use cases:
# Find API endpoints and handlers
grep -rn "router\.\|app\.\(get\|post\|put\|delete\)\|@Controller\|@app\.route" --include="*.ts" --include="*.py" --include="*.js" .
# Find tracking/analytics events
grep -rn "track\|analytics\|event\|metric\|log_event" --include="*.ts" --include="*.py" --include="*.js" .
Catalog: exposed endpoints, tracked events, feature flags, A/B tests.
Cross-reference findings to identify:
| Category | What to Look For |
|---|---|
| Missing KPIs | Entities with no associated tracking events |
| Underutilized features | Endpoints with no analytics or feature-flag coverage |
| Monetization gaps | Subscription/billing entities without conversion tracking |
| Data exposure | Rich internal data not surfaced via API |
Output a structured markdown report:
## Business Opportunity Report: [scope]
### KPI Coverage
| Entity/Feature | Tracked Events | Gap |
|---------------|---------------|-----|
| [name] | [events or "none"] | [what's missing] |
### Opportunities (ranked by estimated impact)
1. **[Opportunity]**: [description, affected entities, suggested action]
### Quick Wins
- [ ] Add tracking to [feature], estimated lift: [low/med/high]
### Data Exposure Gaps
- [Entity] has [N fields] not exposed via any API endpoint
order_items piggybacking on order_completed). Walk the event taxonomy one level up before calling a gap.alembic current, prisma migrate status) before treating a migration-declared field as live./fix or the relevant language skilldata-analyst agent/analyze/cve-scan or /security-patterns