GO

gszhangwei/open-spdd

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

821 stars 质量 63 趋势 58MIT

SPDD AI 编码助理命令模板管理器

概览

——将AI编码提示转换为可执行设计合同. OpenSPDD是AI编码时代的一种方法和跨平台CLI工具. 它将AI编码提示从"可处理输入"升级为"可执行设计合同",在设计与执行之间实现双向同步. 现有的AI编码工具生成计划文件,但这些文件有根本的局限性: :计划是"建议","原因"Canvas是"合同". 原因 Canvas是一个七维结构设计框架: -=============================================================================================================================================================================================================================================================== 三者都至关重要:没有N+S,AI即兴;没有S+O,AI任意重组;没有R+E+A,AI缺乏上下文. :"当现实存在分歧时,先固定快件——再更新代码"

概述(AI 翻译)

** 快速驱动开发** — 将 AI 编码提示转换为可执行的设计合同

中国QQ设计哲学

□ 星际历史

OpenSPDD是AI编码时代的一种方法和跨平台CLI工具. 它将AI编码提示从"可处理输入"升级为"可执行设计合同",在设计与执行之间实现双向同步.

□为什么是开放SPDD?

现有的AI编码工具生成计划文件,但这些文件有根本的局限性:

问题 典型计划文件 原因 坎瓦斯 |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------- - -------- – — – - - - - - - - - - - - - - - - - - – - - - - - - - – - - - - – - - - ################################################################################################################################################################################################################################################################

  • ** 约束** 无 – AI即兴自由 – 明确 – 规范定义"如何",保障定义"不做" – * ** 详细级别 ** 高级级别: “创建计费服务” 精确级别: 方法签名,参数,错误处理,DI模式
    ** ** 可追踪性
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ********

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

OpenSPDD

Structured Prompt-Driven Development — Transform AI coding prompts into executable design contracts

Chinese | Design Philosophy

Star History

OpenSPDD is a methodology and cross-platform CLI tool for the AI coding era. It upgrades AI coding prompts from “disposable inputs” to “executable design contracts” with bidirectional synchronization between design and implementation.

Why OpenSPDD?

Existing AI coding tools generate plan documents, but these documents have fundamental limitations:

Problem Typical Plan Documents REASONS Canvas
Nature Task list Design contract
Constraints None — AI improvises freely Explicit — Norms define “how”, Safeguards define “what not to do”
Detail Level High-level: “Create BillingService” Precise: method signatures, parameters, error handling, DI patterns
Traceability None — docs don’t update with code Yes — /spdd-sync enables reverse sync
Validation Vague — “done when complete” Explicit — exact error messages, HTTP status codes in Safeguards
Dependencies Implicit — AI infers Explicit — Operations define strict execution order

The core insight: Plans are “suggestions”, REASONS Canvas is a “contract”.

The REASONS Canvas Framework

REASONS Canvas is a 7-dimensional structured design framework:

┌─────────────────────────────────────────────────────────────────────┐
│                        REASONS Canvas                                │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│  R - Requirements    The "why" — business goals and scope            │
│  E - Entities        Domain model (Mermaid class diagrams)           │
│  A - Approach        Solution strategy and trade-offs                │
│  S - Structure       Architecture, inheritance, dependencies         │
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add gszhangwei/open-spdd
新手?先看 mcpskill.org 教程 →