@mind-fold/open-flow 0.2.11 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/templates/commands/break-loop.txt +1 -1
- package/dist/templates/commands/check-cross-layer.txt +3 -3
- package/dist/templates/commands/create-command.txt +5 -5
- package/dist/templates/commands/extract-llm-docs.txt +18 -18
- package/dist/templates/commands/extract-to-rules.txt +38 -38
- package/dist/templates/commands/finish-work.txt +5 -5
- package/dist/templates/commands/generate-backend-structure.txt +27 -27
- package/dist/templates/commands/generate-frontend-structure.txt +15 -15
- package/dist/templates/commands/integrate-skill.txt +30 -30
- package/dist/templates/commands/onboard-developer.txt +257 -416
- package/dist/templates/commands/record-agent-flow.txt +4 -4
- package/dist/templates/commands/sync-from-runtime.txt +2 -2
- package/dist/templates/markdown/agent-progress-index.md.txt +9 -9
- package/dist/templates/markdown/backend-doc.md.txt +12 -12
- package/dist/templates/markdown/flow.md.txt +99 -99
- package/dist/templates/markdown/frontend-doc.md.txt +11 -11
- package/dist/templates/markdown/structure/backend/database-guidelines.md.txt +6 -6
- package/dist/templates/markdown/structure/backend/directory-structure.md.txt +28 -28
- package/dist/templates/markdown/structure/backend/index.md.txt +10 -10
- package/dist/templates/markdown/structure/backend/logging-guidelines.md.txt +4 -4
- package/dist/templates/markdown/structure/backend/quality-guidelines.md.txt +12 -12
- package/dist/templates/markdown/structure/backend/type-safety.md.txt +6 -6
- package/dist/templates/markdown/structure/flows/code-reuse-thinking-guide.md.txt +17 -17
- package/dist/templates/markdown/structure/flows/cross-layer-thinking-guide.md.txt +96 -96
- package/dist/templates/markdown/structure/flows/index.md.txt +31 -31
- package/dist/templates/markdown/structure/flows/pre-implementation-checklist.md.txt +19 -19
- package/dist/templates/markdown/structure/flows/spec-flow-template.md.txt +20 -20
- package/dist/templates/markdown/structure/frontend/component-guidelines.md.txt +12 -12
- package/dist/templates/markdown/structure/frontend/directory-structure.md.txt +61 -61
- package/dist/templates/markdown/structure/frontend/hook-guidelines.md.txt +5 -5
- package/dist/templates/markdown/structure/frontend/index.md.txt +13 -13
- package/dist/templates/markdown/structure/frontend/quality-guidelines.md.txt +21 -21
- package/dist/templates/markdown/structure/frontend/state-management.md.txt +12 -12
- package/dist/templates/markdown/structure/frontend/type-safety.md.txt +11 -11
- package/dist/templates/scripts/add-session.sh.txt +5 -5
- package/dist/templates/scripts/extract-md-headings.sh.txt +3 -3
- package/dist/templates/scripts/get-context.sh.txt +1 -1
- package/dist/templates/scripts/init-developer.sh.txt +1 -1
- package/dist/templates/scripts/update-index.sh.txt +2 -2
- package/package.json +1 -1
|
@@ -16,11 +16,11 @@ Adapt and integrate a Claude global skill into your project's development guidel
|
|
|
16
16
|
|
|
17
17
|
## Core Principle
|
|
18
18
|
|
|
19
|
-
>
|
|
19
|
+
> [!] **Important**: The goal of skill integration is to update **development guidelines**, not to generate project code directly.
|
|
20
20
|
>
|
|
21
|
-
> - Guidelines content
|
|
22
|
-
> - Code examples
|
|
23
|
-
> - Example files
|
|
21
|
+
> - Guidelines content -> Write to `workflow/structure/{target}/doc.md`
|
|
22
|
+
> - Code examples -> Place in `workflow/structure/{target}/examples/skills/<skill-name>/`
|
|
23
|
+
> - Example files -> Use `.template` suffix (e.g., `component.tsx.template`) to avoid IDE errors
|
|
24
24
|
>
|
|
25
25
|
> Where `{target}` is `frontend` or `backend`, determined by skill type.
|
|
26
26
|
|
|
@@ -64,7 +64,7 @@ Add a new section to the corresponding `doc.md`:
|
|
|
64
64
|
|
|
65
65
|
```markdown
|
|
66
66
|
@@@section:skill-<skill-name>
|
|
67
|
-
##
|
|
67
|
+
## # <Skill Name> Integration Guide
|
|
68
68
|
|
|
69
69
|
### Overview
|
|
70
70
|
[Core functionality and use cases of the skill]
|
|
@@ -91,14 +91,14 @@ See `examples/skills/<skill-name>/`
|
|
|
91
91
|
```bash
|
|
92
92
|
# Directory structure ({target} = frontend or backend)
|
|
93
93
|
workflow/structure/{target}/
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
94
|
+
|-- doc.md # Add skill-related section
|
|
95
|
+
|-- index.md # Update index
|
|
96
|
+
\-- examples/
|
|
97
|
+
\-- skills/
|
|
98
|
+
\-- <skill-name>/
|
|
99
|
+
|-- README.md # Example documentation
|
|
100
|
+
|-- example-1.ts.template # Code example (use .template suffix)
|
|
101
|
+
\-- example-2.tsx.template
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
**File naming conventions**:
|
|
@@ -120,17 +120,17 @@ Add to the Quick Navigation table in `index.md`:
|
|
|
120
120
|
|
|
121
121
|
## Skill Integration Report: `<skill-name>`
|
|
122
122
|
|
|
123
|
-
###
|
|
123
|
+
### # Overview
|
|
124
124
|
- **Skill description**: [Functionality description]
|
|
125
125
|
- **Integration target**: `workflow/structure/{target}/`
|
|
126
126
|
|
|
127
|
-
###
|
|
127
|
+
### # Tech Stack Compatibility
|
|
128
128
|
|
|
129
129
|
| Skill Requirement | Project Status | Compatibility |
|
|
130
130
|
|-------------------|----------------|---------------|
|
|
131
|
-
| [Tech 1] | [Project tech] |
|
|
131
|
+
| [Tech 1] | [Project tech] | [OK]/[!]/[X] |
|
|
132
132
|
|
|
133
|
-
###
|
|
133
|
+
### # Integration Locations
|
|
134
134
|
|
|
135
135
|
| Type | Path |
|
|
136
136
|
|------|------|
|
|
@@ -140,7 +140,7 @@ Add to the Quick Navigation table in `index.md`:
|
|
|
140
140
|
|
|
141
141
|
> `{target}` = `frontend` or `backend`
|
|
142
142
|
|
|
143
|
-
###
|
|
143
|
+
### # Dependencies (if needed)
|
|
144
144
|
|
|
145
145
|
```bash
|
|
146
146
|
# Install required dependencies (adjust for your package manager)
|
|
@@ -151,14 +151,14 @@ pnpm add <package>
|
|
|
151
151
|
yarn add <package>
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
###
|
|
154
|
+
### [OK] Completed Changes
|
|
155
155
|
|
|
156
156
|
- [ ] Added `@@@section:skill-<name>` section to `doc.md`
|
|
157
157
|
- [ ] Added index entry to `index.md`
|
|
158
158
|
- [ ] Created example files in `examples/skills/<name>/`
|
|
159
159
|
- [ ] Example files use `.template` suffix
|
|
160
160
|
|
|
161
|
-
###
|
|
161
|
+
### # Related Guidelines
|
|
162
162
|
|
|
163
163
|
- [Existing related section IDs]
|
|
164
164
|
|
|
@@ -187,22 +187,22 @@ If this skill is frequently used, create a shortcut command:
|
|
|
187
187
|
|
|
188
188
|
```
|
|
189
189
|
workflow/structure/backend/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
190
|
+
|-- doc.md # Add MCP section
|
|
191
|
+
|-- index.md # Add index entry
|
|
192
|
+
\-- examples/
|
|
193
|
+
\-- skills/
|
|
194
|
+
\-- mcp-builder/
|
|
195
|
+
|-- README.md
|
|
196
|
+
|-- server.ts.template
|
|
197
|
+
|-- tools.ts.template
|
|
198
|
+
\-- types.ts.template
|
|
199
199
|
```
|
|
200
200
|
|
|
201
201
|
### New Section in doc.md
|
|
202
202
|
|
|
203
203
|
```markdown
|
|
204
204
|
@@@section:skill-mcp-builder
|
|
205
|
-
##
|
|
205
|
+
## # MCP Server Development Guide
|
|
206
206
|
|
|
207
207
|
### Overview
|
|
208
208
|
Create LLM-callable tool services using MCP (Model Context Protocol).
|