intent-report
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIntent Report
Intent Report
将技术性的 Intent 文件转换成人类可读的报告文档。
Convert technical Intent files into human-readable report documents.
用途
Use Cases
- 给 Stakeholder:项目概览、进度、关键决策
- 给新成员:快速了解项目架构和设计理由
- 给文档:生成 README、设计文档、架构说明
- 给会议:项目汇报、技术评审
- For Stakeholders: Project overview, progress, key decisions
- For New Team Members: Quickly understand project architecture and design rationale
- For Documentation: Generate READMEs, design documents, architecture specifications
- For Meetings: Project presentations, technical reviews
工作流程
Workflow
/intent-report [options]
↓
┌───────────────────────────────────┐
│ 读取 Intent 文件 │
│ - 项目级 + 模块级 │
│ - 解析结构和元数据 │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ 确定报告类型 │
│ - overview / architecture / │
│ progress / full │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ 生成报告 │
│ - 重组内容结构 │
│ - 转换技术语言 │
│ - 添加可视化 │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ 输出 │
│ - Markdown / HTML / PDF │
│ - 写入文件 or 直接展示 │
└───────────────────────────────────┘/intent-report [options]
↓
┌───────────────────────────────────┐
│ Read Intent files │
│ - Project-level + Module-level │
│ - Parse structure and metadata │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Determine report type │
│ - overview / architecture / │
│ progress / full │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Generate report │
│ - Restructure content │
│ - Translate technical language │
│ - Add visualizations │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Output │
│ - Markdown / HTML / PDF │
│ - Write to file or display directly │
└───────────────────────────────────┘报告类型
Report Types
1. Overview (概览)
1. Overview
/intent-report --type overview一页纸项目概览,适合快速了解:
markdown
undefined/intent-report --type overviewOne-page project overview, ideal for quick understanding:
markdown
undefined[Project] Overview
[Project] Overview
What is this?
What is this?
[一句话说明]
[One-sentence description]
Problem
Problem
[要解决的问题]
[Problem to solve]
Solution
Solution
[解决方案概述]
[Solution overview]
Architecture
Architecture
[简化的架构图]
[Simplified architecture diagram]
Key Modules
Key Modules
| Module | Purpose |
|---|
| Module | Purpose |
|---|
Status
Status
[当前状态和下一步]
undefined[Current status and next steps]
undefined2. Architecture (架构)
2. Architecture
/intent-report --type architecture详细架构文档,适合技术评审:
markdown
undefined/intent-report --type architectureDetailed architecture document, ideal for technical reviews:
markdown
undefined[Project] Architecture
[Project] Architecture
System Overview
System Overview
[架构图]
[Architecture diagram]
Module Dependencies
Module Dependencies
[依赖关系图]
[Dependency diagram]
Data Flow
Data Flow
[数据流图]
[Data flow diagram]
Key Design Decisions
Key Design Decisions
| Decision | Choice | Rationale |
| Decision | Choice | Rationale |
Boundary Rules
Boundary Rules
[模块边界规则]
[Module boundary rules]
API Reference
API Reference
[核心 API 列表]
undefined[Core API list]
undefined3. Progress (进度)
3. Progress
/intent-report --type progress项目进度报告,适合汇报:
markdown
undefined/intent-report --type progressProject progress report, ideal for status updates:
markdown
undefined[Project] Progress Report
[Project] Progress Report
Generated: YYYY-MM-DD
Generated: YYYY-MM-DD
Intent Coverage
Intent Coverage
[覆盖率图表]
[Coverage chart]
Module Status
Module Status
| Module | Intent | Impl | Status |
|---|---|---|---|
| core | ✓ | 80% | 🟡 |
| Module | Intent | Impl | Status |
|---|---|---|---|
| core | ✓ | 80% | 🟡 |
Recent Updates
Recent Updates
[最近的 Intent 变更]
[Recent Intent changes]
Approval Status
Approval Status
- Locked: N sections
- Reviewed: M sections
- Draft: K sections
- Locked: N sections
- Reviewed: M sections
- Draft: K sections
Blockers & Risks
Blockers & Risks
[风险和阻塞项]
[Risks and blockers]
Next Steps
Next Steps
[下一步计划]
undefined[Next steps]
undefined4. Full (完整)
4. Full
/intent-report --type full完整技术文档,包含所有内容。
/intent-report --type fullComplete technical document containing all content.
输出格式
Output Formats
Markdown (默认)
Markdown (Default)
/intent-report -o report.md/intent-report -o report.mdHTML
HTML
/intent-report --format html -o report.html带样式的 HTML 文档,可直接在浏览器查看。
/intent-report --format html -o report.htmlStyled HTML document that can be viewed directly in a browser.
Console (直接显示)
Console (Direct Display)
/intent-report不指定输出文件时,直接在终端展示。
/intent-reportWhen no output file is specified, display directly in the terminal.
使用示例
Usage Examples
生成项目概览
Generate Project Overview
/intent-report --type overview/intent-report --type overview生成架构文档给新成员
Generate Architecture Document for New Members
/intent-report --type architecture -o docs/ARCHITECTURE.md/intent-report --type architecture -o docs/ARCHITECTURE.md生成进度报告给 stakeholder
Generate Progress Report for Stakeholders
/intent-report --type progress -o reports/progress-2026-01.md/intent-report --type progress -o reports/progress-2026-01.md生成单模块报告
Generate Single Module Report
/intent-report src/core/ --type full/intent-report src/core/ --type full内容转换规则
Content Conversion Rules
技术语言 → 人类语言
Technical Language → Human Language
| Intent 中 | 报告中 |
|---|---|
| "What this module does" |
| "Out of scope" |
| "Constraints & Rules" |
| "Core Architecture (frozen)" |
| "Approved Design" |
| "Work in Progress" |
| In Intent | In Report |
|---|---|
| "What this module does" |
| "Out of scope" |
| "Constraints & Rules" |
| "Core Architecture (frozen)" |
| "Approved Design" |
| "Work in Progress" |
ASCII 图 → 可视化
ASCII Diagrams → Visualizations
- 保留 ASCII 图(兼容性好)
- 可选:转换为 Mermaid 图(选项)
--mermaid
- Retain ASCII diagrams (good compatibility)
- Optional: Convert to Mermaid diagrams (use the flag)
--mermaid
与其他命令配合
Integration with Other Commands
/intent-init # 初始化
↓
/intent-interview # 创建 Intent
↓
/intent-review # 审批
↓
/intent-report # ← 生成报告(本命令)
↓
分享给 stakeholder / 团队/intent-init # Initialize
↓
/intent-interview # Create Intent
↓
/intent-review # Approve
↓
/intent-report # ← Generate report (this command)
↓
Share with stakeholders / team高级选项
Advanced Options
/intent-report
--type <type> # overview | architecture | progress | full
--format <format> # markdown | html
--output <path> # 输出文件路径
--module <path> # 指定模块
--include-draft # 包含 draft sections
--mermaid # 转换为 Mermaid 图
--lang <lang> # 输出语言 (en | zh)/intent-report
--type <type> # overview | architecture | progress | full
--format <format> # markdown | html
--output <path> # Output file path
--module <path> # Specify module
--include-draft # Include draft sections
--mermaid # Convert to Mermaid diagrams
--lang <lang> # Output language (en | zh)