Files
nexus/wiki/concepts/PreBuildValidation.md

2.0 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
PreBuild Validation concept
decision-gate
ai-agent
pre-build
competition-analysis
pre-build-idea-validator
2026-04-27

Definition

在 AI Agent 开始编写代码之前,自动进行市场竞争验证的流程机制。通过 idea-reality-mcp 扫描多个平台,评估赛道饱和度,以分数形式反馈给 Agent 作为决策依据。

How It Works

  1. 触发OpenClaw Agent 接收到任何新项目/功能/工具的构建指令
  2. 扫描idea_reality_check() 调用 MCP server 并行查询 GitHub + HN + npm + PyPI + Product Hunt
  3. 评估:返回 reality_signal 分数0-100
  4. 决策门控
    • 高分(>70→ Agent STOP → 向用户报告竞品 + 询问决策
    • 中分30-70→ 展示 pivot_hints → 建议差异化方向
    • 低分(<30→ Agent 直接开始构建
  5. 执行:始终在写任何代码之前先展示分数和竞品信息

Key Design Principle

  • Reality Signal 作为 Gate:分数决定是否可以继续,而非人工主动触发
  • 自动化嵌入 Agent InstructionsPre-Build Validation 通过 OpenClaw 的 agent instructions 实现,无需每次手动调用
  • Deep Mode:重要决策可使用 depth="deep" 扫描全部5个数据源适合黑客松批量验证10个想法

Value

  • 防止独立开发者犯最昂贵的错误:在一个已被解决的问题上花费大量时间
  • 避免 6+ 小时的编码后才发现 GitHub 上已有 143,000+ 同类仓库的尴尬
  • 将"直觉判断"升级为"数据驱动决策"

Aliases

  • Pre-Build Idea Validation
  • Idea Validation
  • Competition Analysis Gate