easysdd
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseeasysdd
easysdd
AI 辅助开发里,有几类场景会反复出现——加新功能、修 bug、遇到值得沉淀的经验、做技术选型、摸新模块的代码、接入新仓库。每种场景如果每次从零处理,都会出各自的典型翻车:AI 给功能起的术语跟老代码冲突、bug 改完没人记得当时怎么诊断的、上周刚踩过的坑下周又踩一遍。
easysdd 把这几类场景各配一套子技能,产物放进统一的目录结构、带统一的 YAML frontmatter,互相之间可以检索引用。
In AI-aided development, several scenarios recur frequently — adding new features, fixing bugs, encountering experiences worth documenting, making technical selections, exploring code of new modules, and integrating new repositories. If each scenario is handled from scratch every time, typical issues will arise: the terminology AI uses for features conflicts with legacy code, no one remembers how a bug was diagnosed after it's fixed, and the pitfalls stepped on last week are repeated the next week.
easysdd assigns a set of sub-skills to each of these scenarios, with outputs stored in a unified directory structure with standardized YAML frontmatter, allowing cross-retrieval and reference between them.
技能分成三部分
Skill Components
做事——从一段模糊想法走到上线的功能、或者从一份错误报告走到修好的 bug:
- — 新功能,brainstorm → design → implement → acceptance
easysdd-feature - — 修 bug,report → analyze → fix
easysdd-issue
两类都不直接让 AI 写代码,而是先产出 spec(功能方案 / 问题分析),用户 review 后再动手,代码和 doc 一起交付。防的是术语冲突、范围失控、改完不留存档这三种 AI 默认会翻的车。
沉淀——把做事过程产生的知识存下来,下次遇到同类问题直接复用:
- — 回顾"做 X 时踩了 Y 这个坑"
easysdd-learning - — 处方"以后做 X 就这样做"
easysdd-tricks - — 规定"全项目今后都按 X 来"
easysdd-decisions - — 存档"调查了 X 问题,看到代码里是这样的"
easysdd-explore
辅助——围着前两类转的周边工具:
- — 把新仓库接入 easysdd 目录结构
easysdd-onboarding - — 起草或刷新
easysdd-architecture-gen下的架构文档easysdd/architecture/ - — 检查 design 自洽或 design 与代码一致
easysdd-architecture-check - — 写给外部读者的开发者指南 / 用户指南
easysdd-guidedoc - — 为库的公开 API 逐条目生成参考文档
easysdd-libdoc
Execution — Moving from a vague idea to a launched feature, or from an error report to a fixed bug:
- — New features, following brainstorm → design → implement → acceptance
easysdd-feature - — Bug fixing, following report → analyze → fix
easysdd-issue
Neither directly lets AI write code; instead, they first produce a spec (feature plan / problem analysis), which is reviewed by users before implementation, with code and docs delivered together. This prevents three common AI pitfalls: terminology conflicts, scope creep, and lack of documentation after fixes.
Knowledge Preservation — Saving knowledge generated during execution for reuse in similar future scenarios:
- — Recap "We encountered pitfall Y when doing X"
easysdd-learning - — Prescriptive guide "Do X this way in the future"
easysdd-tricks - — Official rule "All projects must follow X from now on"
easysdd-decisions - — Archive "Investigated issue X, here's what the code shows"
easysdd-explore
Auxiliary Tools — Peripheral tools supporting the above two categories:
- — Integrate new repositories into the easysdd directory structure
easysdd-onboarding - — Draft or update architecture documents under
easysdd-architecture-geneasysdd/architecture/ - — Verify design consistency or alignment between design and code
easysdd-architecture-check - — Developer guides / user guides for external readers
easysdd-guidedoc - — Generate reference documentation for each public API of a library
easysdd-libdoc
场景路由
Scenario Routing
仓库里还没有 目录,先用 搭骨架。
easysdd/easysdd-onboarding| 场景 | 子技能 |
|---|---|
| 新功能 / 新能力 | |
| BUG / 异常 / 文档错误 | |
| 摸代码、提问调研 | |
| 补 / 更新架构文档 | |
| 检查 design 一致性 | |
| 技术选型 / 约束 / 规约 | |
| 踩坑回顾、经验总结 | |
| 可复用的编程模式、库用法 | |
| 开发者指南 / 用户指南 | |
| 库 API 参考 | |
完整的操作手册、退出条件、和其他工作流的关系,各子技能里讲。
If there is no directory in the repository, use to set up the framework first.
easysdd/easysdd-onboarding| Scenario | Sub-skill |
|---|---|
| New feature / new capability | |
| BUG / exception / documentation error | |
| Code exploration, research & questions | |
| Supplement / update architecture documents | |
| Check design consistency | |
| Technical selection / constraints / specifications | |
| Pitfall recap, experience summary | |
| Reusable programming patterns, library usage | |
| Developer guide / user guide | |
| Library API reference | |
Complete operation manuals, exit conditions, and relationships with other workflows are covered in each sub-skill.
沉淀类四个子技能如何区分
Distinction Between Four Preservation Sub-skills
learning / trick / decision / explore 都是存档文档类型,区别在记录内容的性质:
- 回顾某次做 X 时发现了 Y —— (产出
easysdd-learning)doc_type: learning - 以后做 X 就这样做的处方 —— (产出
easysdd-tricks)doc_type: trick - 全项目今后都得遵守的规定 —— (产出
easysdd-decisions)doc_type: decision - 调查了一个问题,留份证据 —— (产出
easysdd-explore)doc_type: explore
四者共用 目录,靠 frontmatter 的 字段和文件名中间的类型段()区分。每个子技能只认自己的 ,不读写别家产物——"A 和 B 有什么不同"这种判断由本节负责,子技能里不再重复。
easysdd/compound/doc_typeYYYY-MM-DD-{doc_type}-{slug}.mddoc_typelearning / trick / decision / explore are all archive document types, differing in the nature of recorded content:
- Recap that Y was discovered when doing X — (produces
easysdd-learning)doc_type: learning - Prescriptive guide for doing X in the future — (produces
easysdd-tricks)doc_type: trick - Official rule that all projects must follow — (produces
easysdd-decisions)doc_type: decision - Archive of evidence from investigating a problem — (produces
easysdd-explore)doc_type: explore
All four share the directory, distinguished by the field in frontmatter and the type segment in filenames (). Each sub-skill only recognizes its own and does not read/write outputs of others — Judgments like "What's the difference between A and B" are handled in this section and not repeated in sub-skills.
easysdd/compound/doc_typeYYYY-MM-DD-{doc_type}-{slug}.mddoc_typefeature 和 issue 的阶段不可跳
Stages of feature and issue Cannot Be Skipped
feature 走 brainstorm(可选) → design → implement → acceptance,issue 走 report → analyze → fix。每个阶段有退出条件,上一个没满足,下一个不开始。
AI 最常见的翻车方式是一口气铺几百行代码才让人看——等发现问题已经很难截停。阶段间的人工 checkpoint 就是为了早一步截停。每个 checkpoint 具体检查什么,对应子技能里讲。
例外两种:issue 根因一眼确定时走快速通道,跳过 analyze 直接 fix;feature 范围小时走 ,写完 spec 直接进实现。
easysdd-feature-fastforwardfeature follows brainstorm (optional) → design → implement → acceptance, while issue follows report → analyze → fix. Each stage has exit conditions; the next stage cannot start until the previous one is satisfied.
The most common AI pitfall is generating hundreds of lines of code at once before review — making it hard to stop once problems are found. Manual checkpoints between stages are designed to catch issues earlier. Specific inspection items for each checkpoint are covered in the corresponding sub-skill.
Two exceptions: For issues where the root cause is obvious, use the fast track to skip analyze and go directly to fix; for small-scope features, use to enter implementation immediately after writing the spec.
easysdd-feature-fastforward进一步参考
Further References
共享参考文档由 从技能包 一次性复制到项目的 目录——各子技能在运行时用项目相对路径读取,这是 skill 独立安装前提下唯一可达的共享方式。
easysdd-onboardingeasysdd-onboarding/reference/easysdd/reference/- — 目录结构、YAML frontmatter 口径、
easysdd/reference/shared-conventions.md生命周期、收尾 commit 约定、归档类共享规则{slug}-checklist.yaml - —
easysdd/reference/tools.md/search-yaml.py用法validate-yaml.py - — 断点恢复、新增子工作流的登记
easysdd/reference/maintainer-notes.md
目录结构(features/、issues/、compound/、architecture/、tools/、reference/)的权威定义在 。要改目录先改那里——方法是改 这个模板,新项目 onboarding 时会带上新版本。
shared-conventions.mdeasysdd-onboarding/reference/shared-conventions.md四个沉淀子技能(learning / tricks / decisions / explore)共用一个 目录,靠 frontmatter 和文件名里的类型段区分来源,不再各自建目录。
compound/doc_typeShared reference documents are copied from the skill package's to the project's directory once via — each sub-skill reads them using project relative paths at runtime, which is the only accessible sharing method under the premise of independent skill installation.
easysdd-onboarding/reference/easysdd/reference/easysdd-onboarding- — Directory structure, YAML frontmatter specifications,
easysdd/reference/shared-conventions.mdlifecycle, final commit conventions, shared rules for archiving{slug}-checklist.yaml - — Usage of
easysdd/reference/tools.md/search-yaml.pyvalidate-yaml.py - — Breakpoint recovery, registration of new sub-workflows
easysdd/reference/maintainer-notes.md
The authoritative definition of the directory structure (features/, issues/, compound/, architecture/, tools/, reference/) is in . To modify the directory, first update the template in — new projects will include the updated version during onboarding.
shared-conventions.mdeasysdd-onboarding/reference/shared-conventions.mdThe four preservation sub-skills (learning / tricks / decisions / explore) share a single directory, distinguished by the frontmatter and type segment in filenames, instead of having separate directories.
compound/doc_type相关
Related
- — 全项目代码规范和已知坑
AGENTS.md - — 项目架构总入口
easysdd/architecture/DESIGN.md
- — Project-wide code specifications and known pitfalls
AGENTS.md - — Entry point for project architecture
easysdd/architecture/DESIGN.md