Co-Pilot / 辅助式
更新于 a month ago

idd

AArcBlock
0.0k
arcblock/idd
84
Agent 评分

💡 摘要

IDD是一个意图驱动开发的工具包,强调意图作为真相的主要来源。

🎯 适合人群

寻求高效项目管理工具的软件开发人员。旨在提供更清晰规范的产品经理。专注于测试方法的质量保证团队。希望简化开发流程的敏捷团队。对将AI集成到开发工作流程中感兴趣的AI爱好者。

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。

IDD - Intent Driven Development

Complete toolkit for Intent-driven development

中文文档

Philosophy

Traditional:  Code → Test → Documentation
SDD:          Spec → Code → Test              (Spec as reference)
TDD:          Test → Code → Documentation     (Test as contract)
IDD:          Intent → Test → Code → Sync     (Intent as source of truth)

Intent is the new source code. Code review is done by AI, Intent review is done by Humans.

Why not SDD?

| Aspect | SDD | IDD | |--------|-----|-----| | Organization | By requirement type (functional, UX, technical) | By module/layer | | Core artifact | Text descriptions | Structure diagrams | | Granularity | Split into user stories | Keep complete patterns | | Task management | Separate task files | None - AI decomposes autonomously | | LLM friendliness | Needs context assembly | Understands complete pattern at once |

See docs/methodology.md for detailed comparison.

Toolkit Overview

┌─────────────────────────────────────────────────────────────┐
│                      IDD Lifecycle                           │
│                                                              │
│  Setup                                                       │
│  ┌───────────────────┐  ┌───────────────────┐               │
│  │ /intent-assess    │  │ /intent-init      │               │
│  │   Evaluate fit    │  │   Initialize IDD  │               │
│  └───────────────────┘  └───────────────────┘               │
│                                                              │
│  Creation                                                    │
│  ┌───────────────────┐  ┌───────────────────┐               │
│  │ /intent-interview │  │ /intent-critique  │               │
│  │   Create Intent   │  │   Review quality  │               │
│  └───────────────────┘  └───────────────────┘               │
│                                                              │
│  Review                                                      │
│  ┌───────────────────┐  ┌───────────────────┐               │
│  │ /intent-review    │  │ /intent-changes   │               │
│  │   Approve sections│  │   Propose changes │               │
│  └───────────────────┘  └───────────────────┘               │
│                                                              │
│  Execution                                                   │
│  ┌───────────────────┐  ┌───────────────────┐               │
│  │ /intent-build-now │  │ /intent-plan      │               │
│  │   Validate & build│  │   TDD plan        │               │
│  └───────────────────┘  └───────────────────┘               │
│           │                                                  │
│           ▼                                                  │
│  ┌─────────────────────────────────────────────────────┐    │
│  │  TDD Agent Team (Autonomous Execution)              │    │
│  │                                                     │    │
│  │  idd-task-execution-master ──→ Phase planning       │    │
│  │           │                                         │    │
│  │           ▼                                         │    │
│  │  idd-test-master ──→ Test-first design              │    │
│  │           │                                         │    │
│  │           ▼                                         │    │
│  │  idd-code-guru ──→ Elegant implementation           │    │
│  │           │                                         │    │
│  │           ▼                                         │    │
│  │  idd-e2e-test-queen ──→ E2E verification            │    │
│  └─────────────────────────────────────────────────────┘    │
│                                                              │
│  Sync & Validate                                             │
│  ┌───────────────────┐  ┌───────────────────┐               │
│  │ /intent-sync      │  │ /intent-check     │               │
│  │   Sync back       │  │   Run checks      │               │
│  └───────────────────┘  └───────────────────┘               │
│                                                              │
│  Report & Share                                              │
│  ┌───────────────────┐  ┌───────────────────┐               │
│  │ /intent-report    │  │ /intent-story     │               │
│  │   Generate docs   │  │   Share experience│               │
│  └───────────────────┘  └───────────────────┘               │
└─────────────────────────────────────────────────────────────┘

Installation

# Quick install npx add-skill arcblock/idd # Or manual install git clone https://github.com/ArcBlock/idd ~/path/to/idd claude mcp add-plugin ~/path/to/idd

Commands

Skills (Interactive)

| Command | Description | |---------|-------------| | /intent-assess | Evaluate if IDD fits your project, learn IDD methodology | | /intent-init | Initialize IDD structure in project (check existing, create templates) | | /intent-interview | Create complete INTENT.md through structured interviewing | | /intent-critique | Critical review for over-engineering, YAGNI violations, simplification | | /intent-changes | Structured change proposals with PR-like review experience | | /intent-review | Review and approve Intent sections (locked/reviewed/draft) | | /intent-build-now | Validate Intent completeness, then launch TDD execution | | /intent-plan | Generate phased execution plan with strict TDD | | /intent-sync | After implementation, sync finalized details back to Intent | | /intent-check | Run validation and sync checks (triggers agents) | | /intent-report | Generate human-readable reports from Intent files | | /intent-story | Share your IDD experience, create blog posts (multi-language) |

Agents (Autonomous)

Validation Agents

| Agent | Trigger | Output | |-------|---------|--------| | intent-validate | After Intent modification | Format compliance report | | intent-sync | After implementation | Implementation consistency check | | intent-audit | Periodic check | Project health report |

TDD Execution Agents

| Agent | Role | Description | |-------|------|-------------| | idd-task-execution-master | Phase Planning | Transform Intent into phased TDD execution plan | | idd-test-master | Test Design | Define comprehensive test specs before implementation | | idd-code-guru | Implementation | Write elegant code that passes all tests | | idd-e2e-test-queen | E2E Verification | Design and validate end-to-end tests |

Workflow

/intent-assess            # 1. Evaluate project fit
    ↓
/intent-init              # 2. Initialize IDD structure
    ↓
/intent-interview         # 3. Create Intent from ideas
    ↓
/intent-critique          # 4. Review for over-engineering (optional)
    ↓
/intent-review            # 5. Approve critical sections
    ↓
/intent-build-now         # 6. Validate & start building
    │
    ├──→ idd-task-execution-master (phase planning)
    │         ↓
    ├──→ idd-test-master (test-first design)
    │         ↓
    ├──→ idd-code-guru (implementation)
    │         ↓
    └──→ idd-e2e-test-queen (E2E verification)
    ↓
/intent-sync              # 7. Sync finalized details back to Intent
    ↓
/intent-check             # 8. Validate consistency
    ↓
/intent-report            # 9. Generate documentation
    ↓
/intent-story             # 10. Share your experience (optional)

Quick Start: From Intent to Code

# Have an Intent ready? Start building immediately: /intent-build-now # This will: # 1. Validate your Intent completeness # 2. Report any gaps that need fixing # 3. If ready, launch the TDD agent team

Documentation

| Document | Description | |----------|-------------| | docs/methodology.md | IDD vs SDD detailed comparison | | docs/intent-standard.md | Intent file format specification | | docs/intent-approval.md | Section approval mechanism |

Blog

| Article | Language | |---------|----------| | Intent Is the New Source Code | English | | AI 时代别再写需求文档了,写 Intent | 中文 |

License

MIT

五维分析
清晰度8/10
创新性8/10
实用性9/10
完整性9/10
可维护性8/10
优缺点分析

优点

  • 通过明确的意图简化开发流程。
  • 集成AI进行代码审查和测试。
  • 鼓励协作和反馈。
  • 支持多语言文档。

缺点

  • 新用户可能需要学习曲线。
  • 对AI的依赖可能导致过度依赖。
  • 复杂性可能会让小团队感到不知所措。
  • 初始设置可能耗时。

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 ArcBlock.