wyx-zh-cn
SolidDeclares module boundaries as colocated CONCEPT/PIPELINE/SYNCS specs and detects spec-code drift. Use whenever the user asks for wyx, architecture guardrails, concept specs, coverage audits, drift detection, pipeline invariants, sync maps, or ARCHITECTURE.md(中文:架构护栏、概念规格、规格漂移、模块边界)。
AI & Automation 11 stars
4 forks Updated yesterday Apache-2.0
Install
Quality Score: 85/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# wyx 架构护栏(中文版)
把模块边��写成规格,放在实现代码旁边,让 agent 在动手写代码之前就看见「什么可以碰、什么不可以碰」,并能定期核对规格是否已经和代码脱节。
这套方法只有两个动作:**声明边界**(写规格)和**核对边界**(查漂移)。规格是加法——覆盖的模块越多,护栏越密;从一个模块开始就有价值。
## 五种模式
从用户的说法判断模式,然后读取对应的参考文件再动手。参考文件是完整的执��程序,不要凭记忆执行。
| 模式 | 用户会怎么说 | 产出 | 参考文件 |
| --- | --- | --- | --- |
| `wyx:audit` | 审计规格覆盖、有哪些模块还没规格、给我待办清单 | 行动计划(只读,不产出规格) | `references/audit.md` |
| `wyx:concept` | 给这个模块写概念规格、回填规格、设计新模块 | `CONCEPT.md` | `references/concept.md` |
| `wyx:concept drift` | 查漂移、规格和代码对不上、drift 检测 | 漂移报告 | `references/drift-detection.md` |
| `wyx:pipeline` | 记录数据流、描述转换阶段、写数据质量不变量 | `PIPELINE.md` | `references/pipeline.md` |
| `wyx:sync` | 梳理跨概念协调、映射 sync 处理器 | `SYNCS.md` | `references/sync.md` |
| `wyx:map` | 生成架构地图、可视化概念依赖 | `ARCHITECTURE.md` | `references/map.md` |
模式名沿用上游 wyx 的命令名,便于与上游文档、`ARCHITECTURE.md` 里的提示互相对照;本技能里它们是模式,不是必须带斜杠的命令。用户说「wyx 审计」和用上游那条带斜杠的 audit 命令是一回事。
**没有任何规格、也没指定模块时**:先走 `wyx:audit`,让用户看到从哪里开始收益最大,而不是直接挑一个模块写规格。
## 三类规格与它们的分工
- **`CONCEPT.md`** —— 一个模块「是什么」:单一目的、自己拥有的状态、对外的动作、以及 `## interactions` / `## dependencies` 两段边界声明。
- **`PIPELINE.md`** —— 数据「怎么流」:来源、阶段、输出、运行时可断言的质量不变量,以及 `## data boundary` 声明谁拥有输入输出数据。
- **`SYNCS.md`** —— 概念之间「怎么协同」:触发时机、数据流向、跳过条件、错误传播策略。`CONCEPT.md` 的 `## interactions` 声明关系,`SYNCS.md` 描述执行机制。
三者的关系是:概念定义边界,管道在边界内保证数据质量,sync 负责跨概念的编排;架构地图是它们的合成视图,不参与护栏,只给人看。
## 规格放在哪里
规格必须紧贴它描述的实现代码。边界注入 hook 从被编辑文件所在目录**向上**走,在**第一个含 `CONCEPT.md` 或 `PIPELINE.md` 的目录**停下;`SYNCS.md` 会被列出但不终止向上查找。
```text
src/lib/
├── orders/ # 一个概念 = 一个目...
Details
- Author
- ontology-of-everything
- Repository
- ontology-of-everything/SemanticSkills
- Created
- 4 months ago
- Last Updated
- yesterday
- Language
- Shell
- License
- Apache-2.0
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
concept-guardrails-cn
Run concept-spec guardrails (audit, concept, drift, pipeline, sync, map) only when the user explicitly invokes $concept-guardrails-cn. / 仅在用户显式调用 $concept-guardrails-cn 时运行概念规格护栏。
11 Updated yesterday
ontology-of-everything AI & Automation Listed
concept-implementation
Generates a modular-monolith mapping from a confirmed concept model only when the user explicitly invokes $concept-implementation. / 仅在用户显式调用 $concept-implementation 时做模块单体映射。
8 Updated 2 weeks ago
ontology-of-everything