Skip to content

Commit 30a8e72

Browse files
committed
chore: 发布 devflow-skills 0.2.10
1 parent 0ca0725 commit 30a8e72

109 files changed

Lines changed: 344 additions & 332 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.codex-plugin/plugin.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devflow-skills",
3-
"version": "0.2.9",
3+
"version": "0.2.10",
44
"description": "DevFlow engineering workflow skills for Codex: routing, DDD, TDD, planning, execution, debugging, review, verification, and branch finishing.",
55
"composerIcon": "./assets/app-icon-small.svg",
66
"logo": "./assets/app-icon.png",
@@ -23,7 +23,8 @@
2323
"capabilities": ["Interactive", "Read", "Write"],
2424
"websiteURL": "https://github.com/LiTeXz/devflow-skills",
2525
"defaultPrompt": [
26-
"Use engineering-workflow-router to classify this task",
26+
"Use df-engineering-workflow-router to classify this task",
27+
"Use `df-publisher`subagent, management this git and github.",
2728
"Create a DDD to TDD implementation plan",
2829
"Verify this branch before completion"
2930
],

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DevFlow Skills 是一组面向 Codex 和 OpenCode 的工程工作流 skills。
1818
推荐使用方式:
1919

2020
1. 先开启 Plan 模式。
21-
2.`engineering-workflow-router` 判断任务类型和必需 skill。
21+
2.`df-engineering-workflow-router` 判断任务类型和必需 skill。
2222
3. 按 skill 要求完成确认、建模或计划。
2323
4. 用户确认后再进入实现、验证、提交或 PR。
2424

@@ -90,20 +90,20 @@ OpenCode 插件会复用同一套保护规则:主 Agent 禁写、subagent 可
9090

9191
```text
9292
用户提出需求
93-
-> engineering-workflow-router
94-
-> 长任务/续跑/易中断:resumable-workflow-guard
95-
-> 领域复杂:ddd-event-storming-design
96-
-> 领域已清楚且存在相似实现:glue-coding
97-
-> 设计已确认且要实现:ddd-to-tdd-handoff
98-
-> 多步骤实现:implementation-planning
99-
-> 开始编码:executing-implementation-plan
100-
-> 每个行为切片:tdd-skill
101-
-> Spring Web 变更:spring-web-boundaries
102-
-> 失败/异常:systematic-debugging
103-
-> 完成实现:requesting-code-review
104-
-> 修 review:receiving-code-review
105-
-> 最终声明完成:verification-before-completion
106-
-> 提交/PR:finishing-development-branch
93+
-> df-engineering-workflow-router
94+
-> 长任务/续跑/易中断:df-resumable-workflow-guard
95+
-> 领域复杂:df-ddd-event-storming-design
96+
-> 领域已清楚且存在相似实现:df-glue-coding
97+
-> 设计已确认且要实现:df-ddd-to-tdd-handoff
98+
-> 多步骤实现:df-implementation-planning
99+
-> 开始编码:df-executing-implementation-plan
100+
-> 每个行为切片:df-tdd-skill
101+
-> Spring Web 变更:df-spring-web-boundaries
102+
-> 失败/异常:df-systematic-debugging
103+
-> 完成实现:df-requesting-code-review
104+
-> 修 review:df-receiving-code-review
105+
-> 最终声明完成:df-verification-before-completion
106+
-> 提交/PR:df-finishing-development-branch
107107
```
108108

109109
## 仓库结构
@@ -152,13 +152,13 @@ pnpm typecheck
152152
TDD 协议回归:
153153

154154
```bash
155-
bun test skills/tdd-skill/scripts/
155+
bun test skills/df-tdd-skill/scripts/
156156
```
157157

158158
DDD 设计校验回归:
159159

160160
```bash
161-
bun test skills/ddd-event-storming-design/scripts/
161+
bun test skills/df-ddd-event-storming-design/scripts/
162162
```
163163

164164
Hook 回归:

agents/df-publisher.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# devflow-version = "0.2.9"
1+
# devflow-version = "0.2.10"
22
name = "df-publisher"
33
description = "唯一被授权执行 git 和 gh 命令的子代理。负责提交、推送、PR、合并、发布等全部 git/github 操作。遵守保护分支规则。"
44
nickname_candidates = ["df-publisher", "publisher"]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "devflow-skills",
3-
"version": "0.2.9",
3+
"version": "0.2.10",
44
"type": "module",
55
"private": true,
66
"scripts": {
77
"test": "bun test",
88
"test:hooks": "bun test scripts/",
9-
"test:validators": "bun test skills/tdd-skill/scripts/ skills/ddd-event-storming-design/scripts/",
9+
"test:validators": "bun test skills/df-tdd-skill/scripts/ skills/df-ddd-event-storming-design/scripts/",
1010
"typecheck": "bunx tsc --noEmit",
1111
"lint": "bunx biome check ."
1212
},

scripts/prevent-main-agent-write.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ describe("MainAgentWriteGuard", () => {
166166
expect(
167167
shouldBlockTool("Bash", {
168168
command:
169-
"python3 -X utf8 skills/tdd-skill/scripts/run_protocol_examples.py",
169+
"python3 -X utf8 skills/df-tdd-skill/scripts/run_protocol_examples.py",
170170
}),
171171
).toBeUndefined();
172172
expect(

skills/AGENTS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# skills/ 子树命名治理
2+
3+
本目录下新增或重命名的 skill 目录名必须以 `df-` 开头。
4+
5+
每个 skill 的 `SKILL.md` front matter 中的 `name` 字段也必须以 `df-` 开头。
6+
7+
原因:DevFlow skills 会作为插件或外部 skills 混入使用,统一 `df-` 前缀可以避免和其他来源的 skills 发生名称冲突。
8+
9+
迁移或新增 skill 时,目录名和 `name` 字段必须保持一致。同步更新所有引用、README、测试和脚本里的 skill 名称。
10+
11+
提交信息继续遵守根 `AGENTS.md` 中的中文 Conventional Commits 规范。

skills/ddd-event-storming-design/agents/openai.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

skills/ddd-to-tdd-handoff/agents/openai.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

skills/ddd-event-storming-design/SKILL.md renamed to skills/df-ddd-event-storming-design/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: ddd-event-storming-design
2+
name: df-ddd-event-storming-design
33
description: 使用事件风暴、CQRS 和需求追踪进行通用 DDD 领域建模。Use this skill when Codex needs to clarify raw business requirements, split stakeholder needs into requirement items, evolve a persistent domain model, identify actors and multi-role collaboration, domain events, commands, policies, aggregates, domain services, read models, produce structured Markdown or optional Mermaid/PlantUML diagrams, and review designs that may be CRUD, database, package-structure, or DDD-terminology driven instead of problem-domain driven. Especially use for CRUD-looking admin requirements such as company, department, position, employee, account, role, or permission management that need behavior-first modeling instead of flat noun aggregates.
44
---
55

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
interface:
2+
display_name: "DDD Event Storming"
3+
short_description: "Requirements intake and pure DDD modeling from actors and events"
4+
default_prompt: "Use $df-ddd-event-storming-design to clarify raw business requirements, split requirement items, analyze with event storming, identify actors, commands, events, policies, aggregates, and read models, and produce a traceable behavior-first DDD domain design specification."
5+
6+
policy:
7+
allow_implicit_invocation: true

0 commit comments

Comments
 (0)