Skip to content

Commit 19d3701

Browse files
committed
chore: 发布 DevFlow 0.2.14
1 parent 278fd6f commit 19d3701

7 files changed

Lines changed: 22 additions & 25 deletions

File tree

.codex-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devflow-skills",
3-
"version": "0.2.13",
3+
"version": "0.2.14",
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",

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,26 +131,26 @@ bunfig.toml
131131

132132
DevFlow can use project-owned style packs after the business design is clear. A style pack is not a shared DevFlow template; it is repository-owned material that helps agents preserve local implementation style through rules, golden examples, anti-patterns, and review checklists.
133133

134-
Recommended project locations:
134+
Project-owned style packs have one default discovery location:
135135

136136
```text
137-
devflow-style-packs/
138-
.devflow/style-packs/
139-
.ai/style-packs/
140-
docs/devflow/style-packs/
137+
.devflow/style-pack/
141138
```
142139

143140
Recommended shape:
144141

145142
```text
146-
<style-pack-name>/
147-
style-pack.yaml
148-
rules.md
149-
examples/
150-
anti-patterns.md
151-
review-checklist.md
143+
.devflow/style-pack/
144+
<style-pack-name>/
145+
.pack.toml
146+
rules.md
147+
examples/
148+
anti-patterns.md
149+
review-checklist.md
152150
```
153151

152+
`.pack.toml` describes metadata such as scope, applicable task types, primary examples, verification commands, review checks, and known exclusions.
153+
154154
Use style packs with `df-glue-coding` after DDD, CQRS, API, security, validation, and persistence constraints are already respected. Keep project-specific examples in the project repository, not in this public DevFlow repository.
155155

156156
## 开发

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.13"
1+
# devflow-version = "0.2.14"
22
name = "df-publisher"
33
description = "唯一被授权执行 git 和 gh 命令的 Codex worker session。负责提交、推送、PR、合并、发布等全部 git/github 操作。遵守保护分支规则。"
44
nickname_candidates = ["df-publisher", "publisher"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devflow-skills",
3-
"version": "0.2.13",
3+
"version": "0.2.14",
44
"type": "module",
55
"private": true,
66
"scripts": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f96f43e7bffa428d6f2e87deaa18b43dd794764e9ee4f647b2e01cb79e7fea98
1+
58a5fee02adc8e8a28248c6103cd7698691f3ce4b68ed05aed669dba06cfb694

skills/df-glue-coding/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Use Glue Coding after:
2626
Look for project-owned material in this order:
2727

2828
1. Rules: `AGENTS.md`, `CLAUDE.md`, `.github/copilot-instructions.md`, local docs, package scripts, framework config.
29-
2. Style packs and reference patterns: explicit user-provided style pack paths, `devflow-style-packs/`, `.devflow/style-packs/`, `.ai/style-packs/`, `docs/devflow/style-packs/`, `reference/`, `references/`, `examples/`, `docs/patterns/`, `.ai/patterns/`, templates, scaffolds.
29+
2. Style packs and reference patterns: explicit user-provided style pack paths, `.devflow/style-pack/`, `reference/`, `references/`, `examples/`, `docs/patterns/`, `.ai/patterns/`, templates, scaffolds.
3030
3. Nearby production code: similar pages, endpoints, handlers, adapters, projections, tests, fixtures, migrations, exports, imports, jobs, or config. For refactors, classify whether each candidate is a target pattern, legacy pattern, anti-pattern, or behavior evidence.
3131
4. Historical context: `.ai/tracks/`, prior specs, plans, ADRs, issue notes, PR descriptions, or implementation notes.
3232

@@ -119,7 +119,7 @@ Keep this concise. Do not paste long source files into the response; cite file p
119119
Before handoff or completion, ask whether the task revealed reusable material:
120120

121121
- a new or improved code pattern worth adding to `reference/`, `examples/`, `docs/patterns/`, or `.ai/patterns/`
122-
- a style pack rule, golden example, anti-pattern, or review checklist entry worth adding to `devflow-style-packs/`, `.devflow/style-packs/`, `.ai/style-packs/`, or `docs/devflow/style-packs/`
122+
- a style pack rule, golden example, anti-pattern, or review checklist entry worth adding to `.devflow/style-pack/`
123123
- a rule that belongs in `AGENTS.md` or project docs
124124
- domain knowledge or a pitfall that belongs in local knowledge notes
125125
- a persistent spec or decision that belongs in `.ai/tracks/`

skills/df-glue-coding/references/style-packs.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,25 @@ Search project-owned material in this order:
2121

2222
1. Explicit user-provided paths or names.
2323
2. `AGENTS.md`, `CLAUDE.md`, `.github/copilot-instructions.md`, and local workflow docs that name style packs.
24-
3. `devflow-style-packs/`
25-
4. `.devflow/style-packs/`
26-
5. `.ai/style-packs/`
27-
6. `docs/devflow/style-packs/`
28-
7. `docs/patterns/`, `examples/`, `reference/`, and `references/`
24+
3. `.devflow/style-pack/`
25+
4. `docs/patterns/`, `examples/`, `reference/`, and `references/`
2926

3027
If a style pack conflicts with current production code, prefer current production code unless the task is explicitly to migrate toward the style pack.
3128

3229
## Recommended Shape
3330

3431
```text
35-
devflow-style-packs/
32+
.devflow/style-pack/
3633
<style-pack-name>/
37-
style-pack.yaml
34+
.pack.toml
3835
rules.md
3936
examples/
4037
<golden-example files>
4138
anti-patterns.md
4239
review-checklist.md
4340
```
4441

45-
`style-pack.yaml` should describe the scope, applicable task types, primary examples, verification commands, and known exclusions.
42+
`.pack.toml` should describe metadata such as scope, applicable task types, primary examples, verification commands, review checks, and known exclusions.
4643

4744
`rules.md` should contain concise rules that affect implementation choices, naming, layering, error handling, transaction boundaries, tests, or projection behavior.
4845

0 commit comments

Comments
 (0)