Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Maps a confirmed Jackson concept model onto a modular monolith, with one module per concept and syncs as mediators or rules.
45% 73%+27 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
输入是已确认的概念模型(jackson-concept-design 的输出:concepts、syncs、依赖图)。本技能只做模型到代码结构的映射,不重开概念讨论;概念边界有疑问回上游技能,存量工程审计用 jackson-concept-audit。
| 模型元素 | 代码落点 |
|---|---|
| 一个 concept | 一个独立编译单元(模块/crate/包),对外只暴露 actions 与状态查询 |
类型参数 [U] | 泛型参数或不透明 ID(值对象),不引入对方类型 |
| state | 模块私有,经 port 抽象持久化;不是全局数据模型 |
| actions | 模块的公开方法/服务,含正常与错误两类结果 |
| OP | 该模块的集成测试场景 |
| sync | 组合层代码:唯一允许同时引用多个概念的地方 |
| extrinsic 依赖图 | 构建/交付顺序与产品裁剪(feature/构建开关),不产生代码依赖 |
铁律(intrinsic 禁令的代码化):概念模块之间零相互引用;数据与控制流全部经组合层流动。
概念模块内部按整洁架构分层(端口-适配器):domain 放不变量与纯逻辑(零外部依赖)、actions 即应用服务(依赖 port 抽象)、adapter 实现 port;组合根是唯一命名具体 adapter 的地方。
when / where / then 规则(when 匹配动作完成,where 查询概念状态并绑定变量,then 派发后续动作),由引擎执行并留下动作溯源。表达力强、行为增量可按条增删,但需引入引擎运行时。行为规则多、需要审计追踪或按规则粒度演进时才选 2。
syncs 层是应用级的用例层(整洁架构的 use-case 层),没有自己的 domain,不套完整分层。三原则:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.