intent-assess
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIntent Assess
Intent Assess
评估项目是否适合 IDD,并教育 IDD 方法论。
Assess if your project is suitable for IDD and educate on the IDD methodology.
两个模式
Two Modes
1. 评估模式 (Assessment)
1. Assessment Mode
/intent-assess分析当前项目,评估是否适合采用 IDD。
/intent-assessAnalyze the current project and assess its suitability for adopting IDD.
2. 学习模式 (Learning)
2. Learning Mode
/intent-assess --learn教育 IDD 方法论,解释核心概念。
/intent-assess --learnEducate on the IDD methodology and explain core concepts.
评估模式
Assessment Mode
工作流程
Workflow
/intent-assess
↓
┌───────────────────────────────────┐
│ Phase 1: 项目分析 │
│ - 项目类型识别 │
│ - 代码库规模 │
│ - 现有文档情况 │
│ - 团队协作模式 │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Phase 2: 适配度评估 │
│ - 计算匹配分数 │
│ - 识别优势和挑战 │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Phase 3: 建议 │
│ - 是否推荐 IDD │
│ - 如何开始 │
│ - 替代方案(如不适合) │
└───────────────────────────────────┘/intent-assess
↓
┌───────────────────────────────────┐
│ Phase 1: Project Analysis │
│ - Project Type Identification │
│ - Codebase Scale │
│ - Existing Documentation Status │
│ - Team Collaboration Model │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Phase 2: Suitability Assessment │
│ - Calculate Matching Score │
│ - Identify Strengths and Challenges │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Phase 3: Recommendations │
│ - Recommend IDD or Not │
│ - How to Get Started │
│ - Alternatives (if Not Suitable) │
└───────────────────────────────────┘评估维度
Assessment Dimensions
| 维度 | 有利于 IDD | 不利于 IDD |
|---|---|---|
| 项目类型 | 系统软件、框架、库 | 简单脚本、一次性项目 |
| 代码规模 | 中大型 (>5k LOC) | 小型 (<1k LOC) |
| 团队协作 | 多人协作、AI 辅助 | 单人独立开发 |
| 架构复杂度 | 多模块、需要边界 | 单模块、简单结构 |
| 迭代方式 | 持续迭代、长期维护 | 一次性交付 |
| AI 工具使用 | 使用 Claude/Copilot | 纯人工开发 |
| Dimension | Favorable for IDD | Unfavorable for IDD |
|---|---|---|
| Project Type | System software, frameworks, libraries | Simple scripts, one-off projects |
| Code Scale | Medium to large (>5k LOC) | Small (<1k LOC) |
| Team Collaboration | Multi-person collaboration, AI-assisted | Individual independent development |
| Architecture Complexity | Multi-module, requires boundaries | Single-module, simple structure |
| Iteration Approach | Continuous iteration, long-term maintenance | One-time delivery |
| AI Tool Usage | Using Claude/Copilot | Manual-only development |
评估报告示例
Assessment Report Example
markdown
undefinedmarkdown
undefinedIDD Assessment Report
IDD Assessment Report
Project: ainecore Date: 2026-01-19
Project: ainecore Date: 2026-01-19
适配度评分: 85/100 ⭐⭐⭐⭐
Suitability Score: 85/100 ⭐⭐⭐⭐
项目特征
Project Characteristics
| 特征 | 当前状态 | IDD 契合度 |
|---|---|---|
| 项目类型 | 框架/平台 | ✅ 高 |
| 代码规模 | ~15k LOC | ✅ 高 |
| 模块数量 | 12 个 | ✅ 高 |
| 团队规模 | 3 人 + AI | ✅ 高 |
| 现有文档 | 部分 | 🟡 中 |
| Characteristic | Current Status | IDD Alignment |
|---|---|---|
| Project Type | Framework/Platform | ✅ High |
| Code Scale | ~15k LOC | ✅ High |
| Number of Modules | 12 | ✅ High |
| Team Size | 3 people + AI | ✅ High |
| Existing Documentation | Partial | 🟡 Medium |
优势
Strengths
- ✅ 多模块架构,需要清晰边界定义
- ✅ 使用 AI 辅助开发,Intent 可指导 AI
- ✅ 长期维护项目,文档价值高
- ✅ 已有部分设计文档,可迁移
- ✅ Multi-module architecture requires clear boundaries and contracts
- ✅ AI-assisted development can directly use Intent as context
- ✅ Long-term maintenance project, high documentation value
- ✅ Partial design documentation exists, which can be migrated
挑战
Challenges
- ⚠️ 需要建立 Intent 编写习惯
- ⚠️ 现有代码需要补充 Intent
- ⚠️ 团队需要学习 IDD 方法
- ⚠️ Need to establish Intent writing habits
- ⚠️ Existing code needs Intent supplementation
- ⚠️ Team needs to learn IDD methods
建议
Recommendations
推荐: 采用 IDD ✅
Recommendation: Adopt IDD ✅
该项目非常适合 IDD:
- 多模块架构需要清晰的边界和契约
- AI 辅助开发可以直接使用 Intent 作为上下文
- 长期维护价值高
This project is highly suitable for IDD:
- Multi-module architecture requires clear boundaries and contracts
- AI-assisted development can directly use Intent as context
- High long-term maintenance value
启动建议
Onboarding Recommendations
-
从核心模块开始
- 先为 编写 Intent
src/core/ - 建立 Intent 模板和规范
- 先为
-
渐进式推广
- 新功能必须先写 Intent
- 老代码逐步补充
-
工具配套
- 安装 IDD plugin
- 配置 CI/CD 集成
-
Start with core modules
- Write Intent for first
src/core/ - Establish Intent templates and specifications
- Write Intent for
-
Gradual promotion
- New features must have Intent written first
- Gradually supplement Intent for old code
-
Tool support
- Install IDD plugin
- Configure CI/CD integration
预期收益
Expected Benefits
- 🎯 AI 编码效率提升 ~30%
- 🎯 架构边界更清晰
- 🎯 新成员 onboard 更快
- 🎯 减少 "文档过时" 问题
---- 🎯 ~30% improvement in AI coding efficiency
- 🎯 Clearer architecture boundaries
- 🎯 Faster onboarding for new members
- 🎯 Reduced "outdated documentation" issues
---学习模式
Learning Mode
交互式教学
Interactive Teaching
/intent-assess --learn通过问答方式教授 IDD:
┌───────────────────────────────────┐
│ 欢迎学习 IDD! │
│ │
│ 我将介绍: │
│ 1. 什么是 IDD │
│ 2. IDD vs TDD vs SDD │
│ 3. Intent 文件结构 │
│ 4. 实际案例 │
│ │
│ 你想从哪个话题开始? │
└───────────────────────────────────┘/intent-assess --learnTeach IDD through Q&A:
┌───────────────────────────────────┐
│ Welcome to learning IDD! │
│ │
│ I will cover: │
│ 1. What is IDD │
│ 2. IDD vs TDD vs SDD │
│ 3. Intent File Structure │
│ 4. Practical Examples │
│ │
│ Which topic would you like to start with? │
└───────────────────────────────────┘核心概念讲解
Core Concept Explanation
1. 什么是 IDD
1. What is IDD
开发方法论演进:
Traditional: Code → Test → Docs
(文档经常过时)
SDD: Spec → Code → Test
(Spec 分散,难以维护)
TDD: Test → Code → Docs
(测试不能捕捉设计理由)
IDD: Intent → Test → Code → Sync
(Intent 作为唯一真相来源)Evolution of Development Methodologies:
Traditional: Code → Test → Docs
(Documentation often becomes outdated)
SDD: Spec → Code → Test
(Specs are scattered and hard to maintain)
TDD: Test → Code → Docs
(Tests cannot capture design rationale)
IDD: Intent → Test → Code → Sync
(Intent serves as the single source of truth)2. Intent 三层结构
2. Three-Layer Structure of Intent
┌─────────────────────────────────────┐
│ Layer 1: 结构图 (Structure) │
│ - 目录结构、数据结构、模块关系 │
│ - ASCII 图优先 │
├─────────────────────────────────────┤
│ Layer 2: 约束规则 (Constraints) │
│ - 依赖方向、边界规则、不变式 │
│ - 可转化为测试断言 │
├─────────────────────────────────────┤
│ Layer 3: 行为示例 (Examples) │
│ - 输入 → 输出 示例 │
│ - 边界情况 │
└─────────────────────────────────────┘┌─────────────────────────────────────┐
│ Layer 1: Structure Diagram │
│ - Directory structure, data structure, module relationships │
│ - ASCII diagrams preferred │
├─────────────────────────────────────┤
│ Layer 2: Constraint Rules │
│ - Dependency direction, boundary rules, invariants │
│ - Convertible to test assertions │
├─────────────────────────────────────┤
│ Layer 3: Behavior Examples │
│ - Input → Output examples │
│ - Boundary cases │
└─────────────────────────────────────┘3. IDD vs SDD 对比
3. IDD vs SDD Comparison
markdown
| 维度 | SDD | IDD |
|------|-----|-----|
| 组织方式 | 按类型 (功能/UX/技术) | 按模块 |
| 核心载体 | 文字描述 | 结构图 |
| 粒度 | 细分 User Story | 完整 Pattern |
| Task 管理 | 独立 Task 文件 | AI 自主分解 |
| LLM 友好度 | 需要拼装上下文 | 一次理解完整 |markdown
| Dimension | SDD | IDD |
|-----------|-----|-----|
| Organization | By type (function/UX/technology) | By module |
| Core Carrier | Text description | Structure diagram |
| Granularity | Granular User Stories | Complete Patterns |
| Task Management | Independent Task files | AI autonomous decomposition |
| LLM Friendliness | Context assembly required | Complete understanding in one go |4. 实际案例
4. Practical Examples
展示一个真实的 Intent 文件,解释各部分作用。
Show a real Intent file and explain the role of each part.
快速参考
Quick Reference
/intent-assess --learn --topic <topic>可选 topic:
- - 什么是 IDD
what - - IDD vs SDD 对比
vs-sdd - - IDD vs TDD 对比
vs-tdd - - Intent 文件结构
structure - - IDD 工作流程
workflow - - Section 审批机制
approval - - 最佳实践
best-practices
/intent-assess --learn --topic <topic>Optional topics:
- - What is IDD
what - - IDD vs SDD Comparison
vs-sdd - - IDD vs TDD Comparison
vs-tdd - - Intent File Structure
structure - - IDD Workflow
workflow - - Section Approval Mechanism
approval - - Best Practices
best-practices
与其他命令配合
Integration with Other Commands
/intent-assess # 评估项目
↓ (如果适合)
/intent-assess --learn # 学习 IDD
↓
/intent-init # 初始化 IDD
↓
/intent-interview # 创建 Intent/intent-assess # Assess project
↓ (if suitable)
/intent-assess --learn # Learn IDD
↓
/intent-init # Initialize IDD
↓
/intent-interview # Create Intent