基于规格的 DDD 框架用于 AI 编码助手
概览
基于规格的 DDD 框架用于 AI 编码助手。npm 包发布为 。 Sparrow 通过结构化的 DDD 流程将原始业务需求转换为生产准备代码。Sparrow 的技能(模式中定义并由 sparrow init 安装的每个工作流技能)包括顺序的八步流水线,以及辅助命令如 harness 和 reconcile,随时协助流水线。它引入了一流架构概念——一种与有界上下文并行的顶级架构概念,处理所有前端 UI 和 BFF 聚合。后端有界上下文和交互上下文共享相同的标准化设计→模型→规划→应用工作流,但保持完全正交——无相互依赖,能够并行执行。 📜 版本历史和亮点:请参见 CHANGELOG 和 GitHub Releases。 - :开箱即用 Claude Code、OpenCode、Cursor 和 Pi。使用每个工具的原生 AI——不使用 CrewAI、LangChain 或其他代理框架。
概述(AI 翻译)
英文 |简体中文
基于规格的 DDD 框架,用于 AI 编码助手。
npm 包发布为
sparrow-ddd。
Sparrow 通过结构化的 DDD 过程将原始业务需求转换为生产准备代码。Sparrow 的核心工作流(所有在模式中定义并由 sparrow init 安装的工作流程技能)包括进程工作流——顺序的八步流水线——以及支持工作流**——辅助命令如 harness 和 reconcile,随时协助流水线。它引入了 交互上下文的概念——一种一流的架构概念,与有界上下文并行,负责所有前端界面和 BFF 聚合。后端有界上下文和交互上下文共享相同的标准化 design → model → plan → apply 工作流,但保持完全正交——无相互依赖,能够并行执行。
📜版本历史和亮点:请参见CHANGELOG和GitHub发布。
为什么是麻雀?
- 无锁定:开箱即用 Claude Code、OpenCode、Cursor 和 Pi。使用每个工具的原生 AI——不使用 CrewAI、LangChain 或其他代理框架。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
🪶 Sparrow
English | 简体中文
Spec-driven DDD framework for AI coding assistants.
The npm package is published as
sparrow-ddd.
Sparrow transforms raw business requirements into production-ready code through a structured DDD process. Sparrow’s core workflows (every workflow skill defined in the schema and installed by sparrow init) comprise process workflows — the sequential eight-step pipeline — and supporting workflows — auxiliary commands like harness and reconcile that assist the pipeline at any time. It introduces the concept of Interaction Context — a first-class architecture concept parallel to Bounded Contexts that handles all frontend UI and BFF aggregation. Both backend bounded contexts and the Interaction Context share the same standardized design → model → plan → apply workflow, yet remain completely orthogonal — no mutual dependencies, capable of parallel execution.
📜 Version history and highlights: see the CHANGELOG and GitHub Releases.
Why Sparrow?
- No lock-in: Works with Claude Code, OpenCode, Cursor, and Pi out of the box. Uses each tool’s native AI — no CrewAI, LangChain, or other agent frameworks.
- Spec-driven: Every step produces concrete, version-controlled Markdown artifacts. You always know what was decided and why.
- DDD-native: Follows Domain-Driven Design principles end-to-end: business services → subdomains → bounded contexts → domain models → code.
- Multi-language: Supports Java, Python, Node.js/TypeScript, Go, Rust, and C++. Each bounded context can use a different tech stack.
- Incremental & conversational: Pause at any step, refine artifacts through dialog, then continue. Each skill reads the latest output from the previous step.
Development Workflows
Sparrow’s core workflows are all bundled workflow skills (see schema workflows). Each skill has a kind field — process or supporting — that tells you how it fits into the overall DDD process:
| Category | kind |
Role | When to run |
|---|---|---|---|
| Process workflows | process |
The sequential DDD pipeline — from requirements to verified, archivable code | In order; product-level requirement/architecture once per change, team-level per context, product-level archive once to close |
| Supporting workflows | supporting |
Auxiliary capabilities that assist the DDD process without replacing the pipeline | Anytime, independent of pipeline position |
flowchart LR
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add agiledon/sparrow