You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,26 +131,26 @@ bunfig.toml
131
131
132
132
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.
133
133
134
-
Recommended project locations:
134
+
Project-owned style packs have one default discovery location:
135
135
136
136
```text
137
-
devflow-style-packs/
138
-
.devflow/style-packs/
139
-
.ai/style-packs/
140
-
docs/devflow/style-packs/
137
+
.devflow/style-pack/
141
138
```
142
139
143
140
Recommended shape:
144
141
145
142
```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
152
150
```
153
151
152
+
`.pack.toml` describes metadata such as scope, applicable task types, primary examples, verification commands, review checks, and known exclusions.
153
+
154
154
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.
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.
@@ -119,7 +119,7 @@ Keep this concise. Do not paste long source files into the response; cite file p
119
119
Before handoff or completion, ask whether the task revealed reusable material:
120
120
121
121
- 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/`
123
123
- a rule that belongs in `AGENTS.md` or project docs
124
124
- domain knowledge or a pitfall that belongs in local knowledge notes
125
125
- a persistent spec or decision that belongs in `.ai/tracks/`
Copy file name to clipboardExpand all lines: skills/df-glue-coding/references/style-packs.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,28 +21,25 @@ Search project-owned material in this order:
21
21
22
22
1. Explicit user-provided paths or names.
23
23
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/`
29
26
30
27
If a style pack conflicts with current production code, prefer current production code unless the task is explicitly to migrate toward the style pack.
31
28
32
29
## Recommended Shape
33
30
34
31
```text
35
-
devflow-style-packs/
32
+
.devflow/style-pack/
36
33
<style-pack-name>/
37
-
style-pack.yaml
34
+
.pack.toml
38
35
rules.md
39
36
examples/
40
37
<golden-example files>
41
38
anti-patterns.md
42
39
review-checklist.md
43
40
```
44
41
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.
46
43
47
44
`rules.md` should contain concise rules that affect implementation choices, naming, layering, error handling, transaction boundaries, tests, or projection behavior.
0 commit comments