返回文章列表

AI-DLC 中文文档系列 07:愿景文档编写指南

lyj

说明愿景文档如何描述业务目标、完整愿景、MVP 范围、风险依赖和 AI-DLC 输入方式。

愿景文档指南

目的

愿景文档在进入 AI-DLC 工作流之前,为项目定义业务目标、目标结果和范围边界。它是 Inception Phase 的主要输入,让 AI 模型和团队对项目要实现什么以及为什么重要形成共同理解。

一份写得好的愿景文档可以减少 Requirements Analysis 期间的歧义,提高 User Story 质量,并防止 Construction 期间发生范围蔓延。

何时编写愿景文档

  • 启动任何新项目或重大计划之前
  • 提出新产品、功能集或平台时
  • 将现有产品转向新方向时
  • 多个利益相关方需要在开发开始前就目标达成一致时

文档结构

1. 执行摘要

用一个简短段落(3-5 句话)概括项目本质。任何只阅读这一节的人,都应理解项目是什么、服务谁、为什么存在。

模板:

## Executive Summary

[Project Name] is a [type of system/product] that enables [target users] to [core capability].
It addresses [business problem or opportunity] by [approach or differentiation].
The expected outcome is [measurable business result].

示例:

## Executive Summary

OrderFlow is a web-based order management platform that enables mid-size retailers to
track inventory, process customer orders, and manage supplier relationships in a single
interface. It addresses the fragmented tooling problem that causes fulfillment delays
and inventory mismatches. The expected outcome is a 30% reduction in order processing
time and elimination of manual inventory reconciliation.

2. 业务上下文

描述业务环境、要解决的问题,以及为什么现在解决它很重要。

要包含的部分:

## Business Context

### Problem Statement
[What specific business problem or pain point does this project address?
Be concrete. Avoid vague statements like "improve efficiency."]

### Business Drivers
[Why is this project being pursued now? What market conditions, competitive
pressures, regulatory changes, or internal needs make this timely?]

### Target Users and Stakeholders
[Who will use the system? Who has a stake in its success?
List user types with a brief description of each.]

| User Type | Description | Primary Need |
|-----------|-------------|--------------|
| [Role]    | [Who they are] | [What they need from this system] |

### Business Constraints
[Budget limits, regulatory requirements, organizational policies, timeline
pressures, or other non-negotiable boundaries.]

### Success Metrics
[How will the business measure whether this project succeeded?
Use specific, measurable criteria.]

| Metric | Current State | Target State | Measurement Method |
|--------|--------------|--------------|-------------------|
| [Metric name] | [Baseline] | [Goal] | [How measured] |

3. 完整范围愿景

这一节描述产品或系统的完整长期愿景。它有意保持理想化,覆盖项目可能发展成的全部形态,而不只限于最先构建的内容。

要包含的部分:

## Full Scope Vision

### Product Vision Statement
[A single sentence or short paragraph that captures the long-term aspirational
state of the product. What does the world look like when this product is fully
realized?]

### Feature Areas
[Organize the full feature set into logical groups. For each area, describe
what the system will do at full maturity.]

#### Feature Area 1: [Name]
- **Description**: [What this area covers]
- **Key Capabilities**:
  - [Capability 1]
  - [Capability 2]
  - [Capability 3]
- **User Value**: [Why this matters to users]

#### Feature Area 2: [Name]
[Same structure]

### Integration Points
[What external systems, APIs, or data sources will the full system integrate
with at maturity?]

- [System/Service] - [Purpose of integration]

### User Journeys (Full Vision)
[Describe 2-3 end-to-end user journeys that represent the complete product
experience. These should reflect the full scope, not the MVP.]

#### Journey 1: [Name]
1. [Step]
2. [Step]
3. [Step]
**Outcome**: [What the user achieves]

### Scalability and Growth
[How is the product expected to grow? New markets, user types, geographies,
data volumes, or feature categories?]

### Long-Term Roadmap (Optional)
[If known, outline the high-level phases or milestones beyond the MVP.
This is directional, not committal.]

| Phase | Focus | Timeframe (if known) |
|-------|-------|---------------------|
| MVP | [Core scope] | [Target] |
| Phase 2 | [Expansion area] | [Target] |
| Phase 3 | [Further expansion] | [Target] |

4. MVP 范围

这一节定义最小可行产品:能够交付可衡量价值并验证核心业务假设的最小功能集合。这里列出的所有内容,都必须在产品可以发布或评估之前完成。

要包含的部分:

## MVP Scope

### MVP Objective
[What is the single most important thing the MVP must prove or deliver?
Keep this to 1-2 sentences.]

### MVP Success Criteria
[How will you know the MVP succeeded? These should be testable and specific.]

- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] [Criterion 3]

### Features In Scope (MVP)
[List every feature that is included in the MVP. Be explicit. If it is not
listed here, it is not in the MVP.]

| Feature | Description | Priority | Rationale for Inclusion |
|---------|-------------|----------|------------------------|
| [Feature name] | [Brief description] | Must Have | [Why it cannot be deferred] |

### Features Explicitly Out of Scope (MVP)
[List features from the Full Scope Vision that are deliberately excluded
from the MVP. State why each is deferred. This prevents scope creep.]

| Feature | Reason for Deferral | Target Phase |
|---------|-------------------|--------------|
| [Feature name] | [Why it can wait] | [Phase 2/3/TBD] |

### MVP User Journeys
[Describe the user journeys that the MVP must support. These are subsets
or simplified versions of the Full Vision journeys.]

#### Journey 1: [Name]
1. [Step]
2. [Step]
3. [Step]
**Outcome**: [What the user achieves]
**Limitation vs Full Vision**: [What is simplified or missing compared to full scope]

### MVP Constraints and Assumptions
[What assumptions is the MVP built on? What known limitations are accepted?]

- **Assumption**: [Statement] - **Risk if wrong**: [Consequence]
- **Accepted Limitation**: [What is intentionally limited and why]

### MVP Definition of Done
[What must be true for the MVP to be considered complete and ready for
evaluation or launch?]

- [ ] All "Must Have" features implemented and tested
- [ ] [Additional criteria specific to this project]
- [ ] [Deployment or accessibility requirement]
- [ ] [Stakeholder sign-off requirement]

5. 风险和依赖

## Risks and Dependencies

### Key Risks
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|
| [Risk description] | High/Medium/Low | High/Medium/Low | [Mitigation strategy] |

### External Dependencies
[List anything outside the team's control that the project depends on.]

- [Dependency] - [Owner] - [Status]

### Open Questions
[List unresolved questions that need answers before or during development.
These feed directly into the Requirements Analysis clarifying questions.]

- [ ] [Question]
- [ ] [Question]

写作指南

要做

  • 具体且可衡量。“将订单处理时间减少 30%”比“让事情更快”更好。
  • 清晰区分完整愿景和 MVP。混在一起会导致范围蔓延。
  • 包含“范围外”列表。它们和“范围内”列表同样有价值。
  • 为团队写作,而不是为高管写作。避免营销语言。
  • 明确写出假设,便于质疑。
  • 包含真正可测试的成功标准。

不要做

  • 使用含糊语言:“world-class”、“seamless”、“intuitive”、“best-in-class”。
  • 列出技术或实现细节。这些属于技术环境文档。
  • 跳过 MVP 部分。每个项目都需要定义起始边界。
  • 混淆功能和用户旅程。功能描述系统做什么;旅程描述用户如何体验它。
  • 假设读者了解业务上下文。即便看起来显而易见,也要写 Problem Statement。

本文档如何输入 AI-DLC

愿景文档部分 AI-DLC 阶段 使用方式
Executive Summary Workspace Detection 为项目分类提供初始上下文
Business Context Requirements Analysis 驱动澄清问题和需求深度
Full Scope Vision User Stories, Application Design 为 persona 创建和组件识别提供依据
MVP Scope Workflow Planning 决定执行哪些阶段、范围边界
Features In/Out of Scope Code Generation 定义本次迭代要构建什么
Risks and Dependencies All stages 为风险评估和错误处理提供信息
Open Questions Requirements Analysis 成为问题文件中的澄清问题

参考链接