@fluentcommerce/ai-skills 0.1.0
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/LICENSE +21 -0
- package/README.md +622 -0
- package/bin/cli.mjs +1973 -0
- package/content/cli/agents/fluent-cli/agent.json +149 -0
- package/content/cli/agents/fluent-cli.md +132 -0
- package/content/cli/skills/fluent-bootstrap/SKILL.md +181 -0
- package/content/cli/skills/fluent-cli-index/SKILL.md +63 -0
- package/content/cli/skills/fluent-cli-mcp-cicd/SKILL.md +77 -0
- package/content/cli/skills/fluent-cli-reference/SKILL.md +1031 -0
- package/content/cli/skills/fluent-cli-retailer/SKILL.md +85 -0
- package/content/cli/skills/fluent-cli-settings/SKILL.md +106 -0
- package/content/cli/skills/fluent-connect/SKILL.md +886 -0
- package/content/cli/skills/fluent-module-deploy/SKILL.md +349 -0
- package/content/cli/skills/fluent-profile/SKILL.md +180 -0
- package/content/cli/skills/fluent-workflow/SKILL.md +310 -0
- package/content/dev/agents/fluent-dev/agent.json +88 -0
- package/content/dev/agents/fluent-dev.md +525 -0
- package/content/dev/reference-modules/catalog.json +4754 -0
- package/content/dev/skills/fluent-build/SKILL.md +192 -0
- package/content/dev/skills/fluent-connection-analysis/SKILL.md +386 -0
- package/content/dev/skills/fluent-custom-code/SKILL.md +895 -0
- package/content/dev/skills/fluent-data-module-scaffold/SKILL.md +714 -0
- package/content/dev/skills/fluent-e2e-test/SKILL.md +394 -0
- package/content/dev/skills/fluent-event-api/SKILL.md +945 -0
- package/content/dev/skills/fluent-feature-explain/SKILL.md +603 -0
- package/content/dev/skills/fluent-feature-plan/PLAN_TEMPLATE.md +695 -0
- package/content/dev/skills/fluent-feature-plan/SKILL.md +227 -0
- package/content/dev/skills/fluent-job-batch/SKILL.md +138 -0
- package/content/dev/skills/fluent-mermaid-validate/SKILL.md +86 -0
- package/content/dev/skills/fluent-module-scaffold/SKILL.md +1928 -0
- package/content/dev/skills/fluent-module-validate/SKILL.md +775 -0
- package/content/dev/skills/fluent-pre-deploy-check/SKILL.md +1108 -0
- package/content/dev/skills/fluent-retailer-config/SKILL.md +1111 -0
- package/content/dev/skills/fluent-rule-scaffold/SKILL.md +385 -0
- package/content/dev/skills/fluent-scope-decompose/SKILL.md +1021 -0
- package/content/dev/skills/fluent-session-audit-export/SKILL.md +632 -0
- package/content/dev/skills/fluent-session-summary/SKILL.md +195 -0
- package/content/dev/skills/fluent-settings/SKILL.md +1058 -0
- package/content/dev/skills/fluent-source-onboard/SKILL.md +632 -0
- package/content/dev/skills/fluent-system-monitoring/SKILL.md +767 -0
- package/content/dev/skills/fluent-test-data/SKILL.md +513 -0
- package/content/dev/skills/fluent-trace/SKILL.md +1143 -0
- package/content/dev/skills/fluent-transition-api/SKILL.md +346 -0
- package/content/dev/skills/fluent-version-manage/SKILL.md +744 -0
- package/content/dev/skills/fluent-workflow-analyzer/SKILL.md +959 -0
- package/content/dev/skills/fluent-workflow-builder/SKILL.md +319 -0
- package/content/dev/skills/fluent-workflow-deploy/SKILL.md +267 -0
- package/content/mcp-extn/agents/fluent-mcp.md +69 -0
- package/content/mcp-extn/skills/fluent-mcp-tools/SKILL.md +461 -0
- package/content/mcp-official/agents/fluent-mcp-core.md +91 -0
- package/content/mcp-official/skills/fluent-mcp-core/SKILL.md +94 -0
- package/content/rfl/agents/fluent-rfl.md +56 -0
- package/content/rfl/skills/fluent-rfl-assess/SKILL.md +172 -0
- package/docs/CAPABILITY_MAP.md +77 -0
- package/docs/CLI_COVERAGE.md +47 -0
- package/docs/DEV_WORKFLOW.md +802 -0
- package/docs/FLOW_RUN.md +142 -0
- package/docs/USE_CASES.md +404 -0
- package/metadata.json +156 -0
- package/package.json +51 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fluent-workflow
|
|
3
|
+
description: Manage Fluent Commerce workflows - list, download, merge fragments, and track modifications. Use for workflow operations, exporting workflow JSON, merging customizations, or viewing workflow logs. Triggers on "list workflows", "download workflow", "merge workflow", "workflow fragment".
|
|
4
|
+
user-invocable: true
|
|
5
|
+
allowed-tools: Bash, Read, Write, Edit, Glob, Grep
|
|
6
|
+
argument-hint: <operation> [workflow-name]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Workflow Management
|
|
10
|
+
|
|
11
|
+
List, download, merge, and manage Fluent Commerce workflows.
|
|
12
|
+
|
|
13
|
+
## When to Use
|
|
14
|
+
|
|
15
|
+
- Listing deployed workflows
|
|
16
|
+
- Downloading/exporting workflow definitions
|
|
17
|
+
- Merging workflow fragments
|
|
18
|
+
- Tracking workflow modification history
|
|
19
|
+
- Debugging workflow issues
|
|
20
|
+
|
|
21
|
+
## Operations
|
|
22
|
+
|
|
23
|
+
### 1. List Workflows
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
fluent workflow list -p <profile-name> -r <retailer-ref>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Output:**
|
|
30
|
+
```
|
|
31
|
+
TYPE SUBTYPE NAME VERSION
|
|
32
|
+
ORDER HD ORDER::HD 1.0.0
|
|
33
|
+
ORDER CC ORDER::CC 1.0.0
|
|
34
|
+
INVENTORY_CATALOGUE DEFAULT INVENTORY_CATALOGUE::* 1.0.0
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 2. Download Workflows
|
|
38
|
+
|
|
39
|
+
**Recommended convention:** Store workflows under `accounts/<PROFILE>/workflows/<RETAILER_REF>/` to scope them by retailer. Workflows are retailer-specific in Fluent Commerce — a profile can serve multiple retailers, so scoping prevents mixing workflows from different retailers.
|
|
40
|
+
|
|
41
|
+
**Single workflow:**
|
|
42
|
+
```bash
|
|
43
|
+
mkdir -p accounts/<PROFILE>/workflows/<RETAILER_REF>
|
|
44
|
+
fluent workflow download \
|
|
45
|
+
-p <profile-name> \
|
|
46
|
+
-r <retailer-ref> \
|
|
47
|
+
-w <workflow-name> \
|
|
48
|
+
-o accounts/<PROFILE>/workflows/<RETAILER_REF>/
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
# PowerShell
|
|
53
|
+
New-Item -ItemType Directory -Force -Path "accounts\<PROFILE>\workflows\<RETAILER_REF>"
|
|
54
|
+
fluent workflow download -p <profile-name> -r <retailer-ref> -w <workflow-name> -o "accounts\<PROFILE>\workflows\<RETAILER_REF>\"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**All workflows (recommended for initial setup):**
|
|
58
|
+
```bash
|
|
59
|
+
mkdir -p accounts/<PROFILE>/workflows/<RETAILER_REF>
|
|
60
|
+
fluent workflow download \
|
|
61
|
+
-p <profile-name> \
|
|
62
|
+
-r <retailer-ref> \
|
|
63
|
+
-w all \
|
|
64
|
+
-o accounts/<PROFILE>/workflows/<RETAILER_REF>/
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Example:**
|
|
68
|
+
```bash
|
|
69
|
+
fluent workflow download -p YOUR_PROFILE -r YOUR_RETAILER_REF -w all -o accounts/YOUR_PROFILE/workflows/YOUR_RETAILER_REF/
|
|
70
|
+
fluent workflow download -p YOUR_PROFILE -r YOUR_RETAILER_REF -w ORDER::HD -o accounts/YOUR_PROFILE/workflows/YOUR_RETAILER_REF/
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Write/update workflow context in the same folder:
|
|
74
|
+
|
|
75
|
+
`accounts/<PROFILE>/workflows/<RETAILER_REF>/workflow-context.json`
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"profile": "<PROFILE>",
|
|
80
|
+
"retailerRef": "<RETAILER_REF>",
|
|
81
|
+
"downloadedAt": "<ISO-8601>"
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Before merge/upload, verify your CLI target (`-p`, `-r`) matches this context.
|
|
86
|
+
|
|
87
|
+
**Resolving workflow path:** When reading workflows, check in this order:
|
|
88
|
+
1. `accounts/<PROFILE>/workflows/<RETAILER_REF>/` — retailer-scoped (preferred)
|
|
89
|
+
2. `accounts/<PROFILE>/workflows/` — legacy flat layout (fallback if `*.json` files exist directly here)
|
|
90
|
+
|
|
91
|
+
### 3. Merge Workflow Fragment
|
|
92
|
+
|
|
93
|
+
Apply customizations to a base workflow:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
fluent workflow merge \
|
|
97
|
+
<fragment-file> \
|
|
98
|
+
<workflow-name> \
|
|
99
|
+
-p <profile-name> \
|
|
100
|
+
-r <retailer-ref>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Example:**
|
|
104
|
+
```bash
|
|
105
|
+
fluent workflow merge \
|
|
106
|
+
./fragments/order-hd-validation.json \
|
|
107
|
+
ORDER::HD \
|
|
108
|
+
-p cli-b2c \
|
|
109
|
+
-r b2c
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**Output:** `<workflow-name>.merged.json`
|
|
113
|
+
|
|
114
|
+
**Fragment structure:**
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"name": "my-fragment",
|
|
118
|
+
"description": "Add custom validation",
|
|
119
|
+
"rulesets": [...],
|
|
120
|
+
"states": [...]
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### 4. Workflow Log Management
|
|
125
|
+
|
|
126
|
+
Track workflow modification history:
|
|
127
|
+
|
|
128
|
+
**List workflow logs:**
|
|
129
|
+
```bash
|
|
130
|
+
fluent workflowlog list -p <profile-name> -r <retailer-ref>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Describe log (see applied fragments):**
|
|
134
|
+
```bash
|
|
135
|
+
fluent workflowlog describe <workflow-name> -p <profile-name> -r <retailer-ref>
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**Output:**
|
|
139
|
+
```
|
|
140
|
+
POSITION MODULE NAME ASSET NAME RULESET COUNT
|
|
141
|
+
0 fluent/order fc-workflow-order-hd.json 25
|
|
142
|
+
1 my-extensions order-hd-validation.json 3
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Insert fragment at position:**
|
|
146
|
+
```bash
|
|
147
|
+
fluent workflowlog insert <workflow-path> <module-name> <position> \
|
|
148
|
+
-p <profile-name> -r <retailer-ref>
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Delete fragment from log:**
|
|
152
|
+
```bash
|
|
153
|
+
fluent workflowlog delete <workflow-name> <position> \
|
|
154
|
+
-p <profile-name> -r <retailer-ref>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## Common Workflows
|
|
158
|
+
|
|
159
|
+
| Workflow | Purpose |
|
|
160
|
+
|----------|---------|
|
|
161
|
+
| `ORDER::HD` | Home delivery orders |
|
|
162
|
+
| `ORDER::CC` | Click & collect orders |
|
|
163
|
+
| `INVENTORY_CATALOGUE::*` | Inventory management |
|
|
164
|
+
| `PRODUCT_CATALOGUE::*` | Product management |
|
|
165
|
+
| `VIRTUAL_CATALOGUE::*` | Virtual catalogue |
|
|
166
|
+
| `FULFILMENT::*` | Fulfilment processing |
|
|
167
|
+
| `LOCATION::STORE` | Store locations |
|
|
168
|
+
| `LOCATION::DC` | Distribution centers |
|
|
169
|
+
|
|
170
|
+
### 5. Upload Workflow via REST API
|
|
171
|
+
|
|
172
|
+
When `fluent workflow merge` fails to upload (known bug), or when uploading a manually edited workflow:
|
|
173
|
+
|
|
174
|
+
> **Cross-platform note:** The curl examples below use bash syntax and require bash, Git Bash, or WSL on Windows. The Fluent CLI and MCP tools (e.g., `graphql.query`) are the recommended cross-platform approach.
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
# Authenticate (use retailer-scoped credentials, not account-level)
|
|
178
|
+
# IMPORTANT: Use $FLUENT_USERNAME, not $USER — $USER resolves to the OS login name on Unix/macOS.
|
|
179
|
+
TOKEN=$(curl -s -X POST "$BASE_URL/oauth/token" \
|
|
180
|
+
-H "Content-Type: application/x-www-form-urlencoded" \
|
|
181
|
+
-d "username=$FLUENT_USERNAME&password=$PASS&client_id=$ACCOUNT&client_secret=$SECRET&grant_type=password&scope=api" \
|
|
182
|
+
| python -c "import sys,json; print(json.load(sys.stdin)['access_token'])")
|
|
183
|
+
|
|
184
|
+
# Upload workflow
|
|
185
|
+
curl -s -X PUT "$BASE_URL/api/v4.1/workflow" \
|
|
186
|
+
-H "Content-Type: application/json" \
|
|
187
|
+
-H "Authorization: Bearer $TOKEN" \
|
|
188
|
+
-H "fluent.account: $ACCOUNT" \
|
|
189
|
+
-d @my-workflow.json
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
```powershell
|
|
193
|
+
# PowerShell — Authenticate
|
|
194
|
+
# Use $FLUENT_USERNAME, not $USER (which resolves to OS login name)
|
|
195
|
+
$body = @{
|
|
196
|
+
username = $FLUENT_USERNAME; password = $PASS; client_id = $ACCOUNT
|
|
197
|
+
client_secret = $SECRET; grant_type = "password"; scope = "api"
|
|
198
|
+
}
|
|
199
|
+
$response = Invoke-RestMethod -Uri "$BASE_URL/oauth/token" -Method Post -Body $body -ContentType "application/x-www-form-urlencoded"
|
|
200
|
+
$TOKEN = $response.access_token
|
|
201
|
+
|
|
202
|
+
# Upload workflow
|
|
203
|
+
$headers = @{ "Authorization" = "Bearer $TOKEN"; "fluent.account" = $ACCOUNT }
|
|
204
|
+
$workflow = Get-Content "my-workflow.json" -Raw
|
|
205
|
+
Invoke-RestMethod -Uri "$BASE_URL/api/v4.1/workflow" -Method Put -Headers $headers -Body $workflow -ContentType "application/json"
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
The REST workflow API requires a **retailer-scoped token** (not account-level).
|
|
209
|
+
|
|
210
|
+
### 6. End-to-End Behavior Analysis (Workflow + Rules)
|
|
211
|
+
|
|
212
|
+
When asked "what does this workflow do end-to-end?", do this in sequence:
|
|
213
|
+
|
|
214
|
+
1. Map triggers, statuses, and transitions from workflow JSON.
|
|
215
|
+
2. Map each ruleset rule to its implementing class (`<ACCOUNT>.<MODULE>.<RuleName>`).
|
|
216
|
+
3. Confirm runtime behavior against event history (`event.list` / `event.get`) and live entity state.
|
|
217
|
+
|
|
218
|
+
If ruleset descriptions or rule names are too vague to infer intent confidently:
|
|
219
|
+
|
|
220
|
+
1. Ask for `module.json` and Java source for the mapped rule classes.
|
|
221
|
+
2. If source is unavailable, ask for module ZIP/JAR and decompile candidate classes.
|
|
222
|
+
3. Reconcile decompiled behavior with workflow props and observed event outcomes.
|
|
223
|
+
4. Mark confirmed behavior vs inferred behavior explicitly in the final analysis.
|
|
224
|
+
|
|
225
|
+
Use `/fluent-trace` for the runtime correlation and root-cause decision tree.
|
|
226
|
+
|
|
227
|
+
## Workflow Entity Types
|
|
228
|
+
|
|
229
|
+
| Entity Type | Workflow Naming | Example |
|
|
230
|
+
|-------------|-----------------|---------|
|
|
231
|
+
| `ORDER` | `ORDER::<subtype>` | `ORDER::HD`, `ORDER::CC`, `ORDER::MULTI` |
|
|
232
|
+
| `FULFILMENT` | `FULFILMENT::<subtype>` | `FULFILMENT::HD_WH`, `FULFILMENT::CC_PFS` |
|
|
233
|
+
| `RETURN_ORDER` | `RETURN_ORDER::<subtype>` | `RETURN_ORDER::DEFAULT` |
|
|
234
|
+
| `LOCATION` | `LOCATION::<type>` | `LOCATION::STORE`, `LOCATION::DC` |
|
|
235
|
+
| `PRODUCT_CATALOGUE` | `PRODUCT_CATALOGUE::*` | `PRODUCT_CATALOGUE::DEFAULT` |
|
|
236
|
+
| `INVENTORY_CATALOGUE` | `INVENTORY_CATALOGUE::*` | `INVENTORY_CATALOGUE::DEFAULT` |
|
|
237
|
+
| `VIRTUAL_CATALOGUE` | `VIRTUAL_CATALOGUE::*` | `VIRTUAL_CATALOGUE::DEFAULT` |
|
|
238
|
+
|
|
239
|
+
Note: `RETURN_ORDER` uses an underscore in the workflow entity type (`RETURN_ORDER::<type>`), but the GraphQL type is `ReturnOrder` (no underscore, camelCase).
|
|
240
|
+
|
|
241
|
+
## Known Issues and Workarounds
|
|
242
|
+
|
|
243
|
+
### Windows `::` Filename Issue
|
|
244
|
+
|
|
245
|
+
Fluent workflow names contain `::` (e.g., `ORDER::MULTI`). Windows disallows `:` in filenames, so `fluent workflow download` with a specific workflow name target fails on Windows.
|
|
246
|
+
|
|
247
|
+
**Preferred: MCP-based download (cross-platform):**
|
|
248
|
+
|
|
249
|
+
Use MCP tools to download workflows without writing `::` filenames:
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
1. workflow.list(profile, retailer) → get all workflow names
|
|
253
|
+
2. For each name:
|
|
254
|
+
a. workflow.download(profile, retailer, workflow: "<NAME>") → JSON in response
|
|
255
|
+
b. Sanitize filename: replace :: with __ (ORDER::HD → ORDER__HD.json)
|
|
256
|
+
c. Save via Write tool to accounts/<PROFILE>/workflows/<RETAILER_REF>/<SAFE_NAME>.json
|
|
257
|
+
3. Write workflow-file-map.json: { "ORDER::HD": "ORDER__HD.json", ... }
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
This works identically on Windows, macOS, and Linux.
|
|
261
|
+
|
|
262
|
+
**CLI workaround (if MCP not available):**
|
|
263
|
+
|
|
264
|
+
On Windows, both `-w <name>` and `-w all` fail because the CLI writes `ORDER::HD.json` which contains the reserved `:` character. Use `--json` to pipe to stdout instead:
|
|
265
|
+
|
|
266
|
+
```bash
|
|
267
|
+
fluent workflow download -p YOUR_PROFILE -r YOUR_RETAILER_REF -w all --json > accounts/<PROFILE>/workflows/<RETAILER_REF>/workflows-raw.json
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
Then split the JSON array into one file per workflow with sanitized names (replace `::` with `__`) and persist `workflow-file-map.json` with original name to filename mapping.
|
|
271
|
+
|
|
272
|
+
On macOS/Linux, `-w all -o <dir>` works directly since `:` is allowed in filenames.
|
|
273
|
+
- When using `fluent workflow merge`, pass a **local file path** (not a workflow name) as the merge target:
|
|
274
|
+
|
|
275
|
+
```bash
|
|
276
|
+
# Works on Windows — local file path avoids :: in filename
|
|
277
|
+
fluent workflow merge fragment.json accounts/<PROFILE>/workflows/<RETAILER_REF>/ORDER__MULTI.json \
|
|
278
|
+
-p YOUR_PROFILE -r YOUR_RETAILER_REF
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### `workflow merge` Upload Auth Bug
|
|
282
|
+
|
|
283
|
+
`fluent workflow merge` merges locally but fails to upload with `token:undefined`. The CLI doesn't authenticate before the upload REST call.
|
|
284
|
+
|
|
285
|
+
**Workaround:** After merge completes locally, upload the merged file manually via REST API (see "Upload Workflow via REST API" above). The merged output file is named `<input-file>.merged.json`.
|
|
286
|
+
|
|
287
|
+
## Error Handling
|
|
288
|
+
|
|
289
|
+
| Error | Solution |
|
|
290
|
+
|-------|----------|
|
|
291
|
+
| No workflows found | Install modules containing workflows |
|
|
292
|
+
| Workflow not found | Check name spelling with `workflow list` |
|
|
293
|
+
| Merge conflict | Rename ruleset in fragment or use update mode |
|
|
294
|
+
| Invalid fragment JSON | Validate JSON syntax |
|
|
295
|
+
| `token:undefined` on merge upload | Use REST API upload workaround (see above) |
|
|
296
|
+
| `:` in filename (Windows) | Prefer MCP download (returns JSON, no file issue); or CLI `-w all`, or `--json` + filename normalization + `workflow-file-map.json`; use file paths for merge |
|
|
297
|
+
| Workflow upload rejected (403) | Use retailer-scoped token, not account-level |
|
|
298
|
+
|
|
299
|
+
## Best Practices
|
|
300
|
+
|
|
301
|
+
1. **Scope workflows by retailer** — Store in `accounts/<PROFILE>/workflows/<RETAILER_REF>/` to avoid mixing retailers
|
|
302
|
+
2. **Download workflows before merging** — Keep backups
|
|
303
|
+
3. **Test fragments in dev** — Before applying to production
|
|
304
|
+
4. **Use workflow logs** — Track modification history
|
|
305
|
+
5. **Document fragment purpose** — In fragment description field
|
|
306
|
+
6. **Validate merged workflows** — Review before deployment
|
|
307
|
+
7. **Keep fragments in version control** — For reusability
|
|
308
|
+
8. **Bump `version` and `versionComment`** — In workflow JSON on every edit
|
|
309
|
+
9. **Use REST API upload** — When CLI merge upload fails
|
|
310
|
+
10. **Use retailer-scoped tokens** — Account-level tokens lack workflow API access
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fluent-dev",
|
|
3
|
+
"displayName": "Fluent Development Lifecycle",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Fluent Commerce development lifecycle agent. Orchestrates workflow building, custom-code analysis, rule creation, module builds, event tracing, and end-to-end testing.",
|
|
6
|
+
"author": "Fluent Commerce",
|
|
7
|
+
"trigger": {
|
|
8
|
+
"keywords": [
|
|
9
|
+
"build workflow",
|
|
10
|
+
"create rule",
|
|
11
|
+
"build module",
|
|
12
|
+
"trace event",
|
|
13
|
+
"run e2e test",
|
|
14
|
+
"debug order",
|
|
15
|
+
"fix and deploy",
|
|
16
|
+
"system monitoring",
|
|
17
|
+
"event analytics",
|
|
18
|
+
"failure rate",
|
|
19
|
+
"top events",
|
|
20
|
+
"alert triage",
|
|
21
|
+
"prometheus",
|
|
22
|
+
"metrics",
|
|
23
|
+
"latency",
|
|
24
|
+
"throughput",
|
|
25
|
+
"job batch",
|
|
26
|
+
"batch management",
|
|
27
|
+
"job lifecycle",
|
|
28
|
+
"scaffold module",
|
|
29
|
+
"new module",
|
|
30
|
+
"create module",
|
|
31
|
+
"initialize module",
|
|
32
|
+
"decompose scope",
|
|
33
|
+
"plan from scope",
|
|
34
|
+
"scope to tasks",
|
|
35
|
+
"task breakdown",
|
|
36
|
+
"version status",
|
|
37
|
+
"bump version",
|
|
38
|
+
"tag release",
|
|
39
|
+
"version sync",
|
|
40
|
+
"prepare release",
|
|
41
|
+
"pre-deploy check",
|
|
42
|
+
"deployment checklist",
|
|
43
|
+
"ready to deploy",
|
|
44
|
+
"deploy gate",
|
|
45
|
+
"export audit",
|
|
46
|
+
"session audit",
|
|
47
|
+
"audit trail",
|
|
48
|
+
"compliance report",
|
|
49
|
+
"explain feature",
|
|
50
|
+
"how does this work",
|
|
51
|
+
"reverse engineer",
|
|
52
|
+
"feature architecture",
|
|
53
|
+
"document this flow",
|
|
54
|
+
"what does this workflow do",
|
|
55
|
+
"explain workflow",
|
|
56
|
+
"deploy workflow",
|
|
57
|
+
"upload workflow",
|
|
58
|
+
"push workflow",
|
|
59
|
+
"workflow deploy",
|
|
60
|
+
"data module",
|
|
61
|
+
"scaffold data module",
|
|
62
|
+
"create data module",
|
|
63
|
+
"new data module"
|
|
64
|
+
],
|
|
65
|
+
"patterns": [
|
|
66
|
+
"(build|create|edit|design) workflow",
|
|
67
|
+
"(scaffold|create|implement) rule",
|
|
68
|
+
"(scaffold|create|initialize|new) module",
|
|
69
|
+
"(build|compile|package) module",
|
|
70
|
+
"(trace|debug|diagnose) (event|order|fulfilment)",
|
|
71
|
+
"run (e2e|end.to.end) test",
|
|
72
|
+
"(monitor|check) (event|system) (health|status)",
|
|
73
|
+
"(failure|error) rate",
|
|
74
|
+
"(job|batch) (status|lifecycle|monitoring)",
|
|
75
|
+
"(decompose|parse|plan from) scope",
|
|
76
|
+
"(bump|check|sync|tag) version",
|
|
77
|
+
"(pre.deploy|deployment) (check|checklist|gate)",
|
|
78
|
+
"(export|session) audit",
|
|
79
|
+
"(explain|document|describe|reverse.engineer) (feature|workflow|flow|implementation)",
|
|
80
|
+
"(deploy|upload|push) workflow",
|
|
81
|
+
"(scaffold|create|new) data module"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"tools": {
|
|
85
|
+
"required": ["Bash", "Read", "Write", "Edit"],
|
|
86
|
+
"optional": ["Glob", "Grep"]
|
|
87
|
+
}
|
|
88
|
+
}
|