@fluentcommerce/ai-skills 0.13.0 → 0.15.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.
Files changed (97) hide show
  1. package/README.md +17 -12
  2. package/bin/cli.mjs +219 -43
  3. package/content/cli/skills/fluent-bootstrap/SKILL.md +1 -1
  4. package/content/cli/skills/fluent-cli-mcp-cicd/SKILL.md +1 -1
  5. package/content/cli/skills/fluent-cli-reference/SKILL.md +1 -1
  6. package/content/cli/skills/fluent-cli-retailer/SKILL.md +1 -1
  7. package/content/cli/skills/fluent-connect/SKILL.md +58 -3
  8. package/content/cli/skills/fluent-profile/SKILL.md +35 -5
  9. package/content/cli/skills/fluent-workflow/SKILL.md +2 -1
  10. package/content/dev/agents/fluent-backend-dev.md +2 -2
  11. package/content/dev/agents/fluent-dev.md +1 -1
  12. package/content/dev/agents/fluent-frontend-dev.md +1 -1
  13. package/content/dev/skills/fluent-account-snapshot/SKILL.md +1 -1
  14. package/content/dev/skills/fluent-archive/SKILL.md +2 -1
  15. package/content/dev/skills/fluent-build/SKILL.md +2 -2
  16. package/content/dev/skills/fluent-connection-analysis/SKILL.md +2 -1
  17. package/content/dev/skills/fluent-custom-code/SKILL.md +3 -2
  18. package/content/dev/skills/fluent-data-module-scaffold/SKILL.md +7 -6
  19. package/content/dev/skills/fluent-e2e-test/SKILL.md +1 -1
  20. package/content/dev/skills/fluent-entity-flow-diagnose/SKILL.md +2 -1
  21. package/content/dev/skills/fluent-event-api/SKILL.md +3 -2
  22. package/content/dev/skills/fluent-feature-explain/SKILL.md +2 -1
  23. package/content/dev/skills/fluent-feature-plan/SKILL.md +2 -1
  24. package/content/dev/skills/fluent-feature-status/SKILL.md +1 -1
  25. package/content/dev/skills/fluent-frontend-build/SKILL.md +1 -1
  26. package/content/dev/skills/fluent-frontend-readme/SKILL.md +2 -1
  27. package/content/dev/skills/fluent-frontend-review/SKILL.md +2 -1
  28. package/content/dev/skills/fluent-goal/SKILL.md +1 -1
  29. package/content/dev/skills/fluent-implementation-map/SKILL.md +1 -1
  30. package/content/dev/skills/fluent-inventory-catalog/SKILL.md +2 -2
  31. package/content/dev/skills/fluent-job-batch/SKILL.md +6 -3
  32. package/content/dev/skills/fluent-knowledge-init/SKILL.md +1 -1
  33. package/content/dev/skills/{fluent-source-onboard → fluent-module-convert}/SKILL.md +223 -24
  34. package/content/dev/skills/fluent-module-scaffold/SKILL.md +2 -1
  35. package/content/dev/skills/fluent-module-validate/SKILL.md +8 -7
  36. package/content/dev/skills/fluent-mystique-assess/SKILL.md +22 -6
  37. package/content/dev/skills/fluent-mystique-builder/SKILL.md +33 -2
  38. package/content/dev/skills/fluent-mystique-component/SKILL.md +1 -1
  39. package/content/dev/skills/fluent-mystique-diff/SKILL.md +1 -1
  40. package/content/dev/skills/fluent-mystique-preview/SKILL.md +19 -2
  41. package/content/dev/skills/fluent-mystique-scaffold/SDK_REFERENCE.md +2 -2
  42. package/content/dev/skills/fluent-mystique-scaffold/SKILL.md +13 -2
  43. package/content/dev/skills/fluent-mystique-scaffold/TEMPLATES.md +1 -1
  44. package/content/dev/skills/fluent-mystique-sdk-reference/SKILL.md +2 -1
  45. package/content/dev/skills/fluent-pre-deploy-check/SKILL.md +3 -3
  46. package/content/dev/skills/fluent-retailer-config/SKILL.md +3 -3
  47. package/content/dev/skills/fluent-rollback/SKILL.md +1 -1
  48. package/content/dev/skills/fluent-rule-lookup/SKILL.md +2 -1
  49. package/content/dev/skills/fluent-rule-scaffold/SKILL.md +7 -6
  50. package/content/dev/skills/fluent-rule-test/SKILL.md +2 -1
  51. package/content/dev/skills/fluent-scope-plan/SKILL.md +2 -2
  52. package/content/dev/skills/fluent-session/SKILL.md +1 -1
  53. package/content/dev/skills/fluent-settings/SKILL.md +2 -2
  54. package/content/dev/skills/fluent-skill-observability/SKILL.md +1 -1
  55. package/content/dev/skills/fluent-sourcing/SKILL.md +38 -13
  56. package/content/dev/skills/fluent-system-monitoring/SKILL.md +1 -1
  57. package/content/dev/skills/fluent-test-data/SKILL.md +1 -1
  58. package/content/dev/skills/fluent-trace/SKILL.md +3 -2
  59. package/content/dev/skills/fluent-transition-api/SKILL.md +3 -2
  60. package/content/dev/skills/fluent-ui-record/SKILL.md +1 -1
  61. package/content/dev/skills/fluent-ui-test/SKILL.md +9 -8
  62. package/content/dev/skills/fluent-use-case-discover/SKILL.md +2 -2
  63. package/content/dev/skills/fluent-workflow-analyzer/SKILL.md +3 -2
  64. package/content/dev/skills/fluent-workspace-tree/SKILL.md +4 -3
  65. package/content/knowledge/index.md +3 -3
  66. package/content/knowledge/platform/domain-model.md +1 -0
  67. package/content/knowledge/platform/module-structure.md +5 -5
  68. package/content/knowledge/platform/mystique-routing.md +6 -3
  69. package/content/knowledge/platform/permissions-and-contexts.md +2 -2
  70. package/content/knowledge/platform/rule-test-patterns.md +1 -1
  71. package/content/knowledge/platform/workflow-json-structure.md +1 -1
  72. package/content/mcp-extn/skills/fluent-mcp-core/SKILL.md +2 -1
  73. package/content/mcp-extn/skills/fluent-mcp-tools/SKILL.md +3 -2
  74. package/content/rfl/skills/fluent-rfl-assess/SKILL.md +1 -1
  75. package/docs/01-first-session.md +175 -0
  76. package/docs/02-prompt-guide.md +246 -0
  77. package/docs/03-use-cases.md +1181 -0
  78. package/docs/04-onboarding-plan.md +355 -0
  79. package/docs/05-getting-started.md +262 -0
  80. package/docs/06-dev-workflow.md +1040 -0
  81. package/docs/INDEX.md +40 -0
  82. package/docs/agents-and-skills-guide.md +199 -0
  83. package/docs/capability-map.md +165 -0
  84. package/docs/chrome-devtools-mcp-reference.md +401 -0
  85. package/docs/fluent-ai-skills-reference.md +1351 -0
  86. package/docs/manifest-safety.md +79 -0
  87. package/docs/mcp-servers.md +209 -0
  88. package/docs/workflow-reference.md +167 -0
  89. package/lib/fluent-brand.css +55 -0
  90. package/metadata.json +7 -6
  91. package/package.json +17 -3
  92. package/scripts/postinstall.mjs +38 -0
  93. package/{content/dev/skills/fluent-trace/scripts/analyze-event-capture.mjs → tools/event-capture-analyzer.mjs} +3 -3
  94. package/tools/{generate-feature-dashboard.mjs → feature-dashboard.mjs} +2 -2
  95. package/tools/manifest-diff.mjs +1 -1
  96. package/{content/dev/skills/fluent-mystique-assess/validator.mjs → tools/manifest-validator.mjs} +2 -2
  97. package/tools/workflow-explainer.mjs +1021 -0
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: fluent-workspace-tree
3
- description: Read-only directory tree visualization of the workspace file system renders an annotated tree showing folders, files, artifact counts per directory, and optional status overlays. This is a filesystem structure view (like the Unix `tree` command), not a live account inventory. ROUTING PRIORITY — if the prompt says "directory tree", "workspace tree", "folder layout", "artifact counts per folder", "show directory structure", "show me the tree", or "workspace layout", route HERE — do NOT route to fluent-feature-status. fluent-feature-status scans status.json files and produces a feature lifecycle table; this skill renders the filesystem tree like Unix `tree`. It does NOT handle feature lifecycle status tables (use fluent-feature-status), HTML dashboards (use fluent-feature-status), or account environment snapshots (use fluent-account-snapshot).
3
+ description: Read-only directory tree visualization of the workspace file system with annotated folders, artifact counts, and optional status overlays. Renders a filesystem structure view like the Unix tree command.
4
4
  user-invocable: true
5
5
  allowed-tools: Bash, Read, Glob, Grep
6
6
  argument-hint: [--profile PROFILE] [--section source|workflows|features|reports|analysis|tasks|sessions] [--depth N]
7
7
  cursor-tier: auto
8
8
  ---
9
+ <!-- routing-notes: ROUTING PRIORITY — if the prompt says "directory tree", "workspace tree", "folder layout", or "workspace layout", route HERE — do NOT route to fluent-feature-status. fluent-feature-status scans status.json files; this skill renders the filesystem tree. Does NOT handle feature lifecycle tables (→ fluent-feature-status) or account snapshots (→ fluent-account-snapshot). -->
9
10
 
10
11
  # Workspace Tree Visualization
11
12
 
@@ -146,7 +147,7 @@ accounts/<PROFILE>/
146
147
  | |-- topology/ (N files) [connection topology maps]
147
148
  | +-- settings/ (N files) [settings audit]
148
149
  |-- tasks/ (N operational plans)
149
- | +-- 2026-02-23-module-scaffold-hm-curbside.md
150
+ | +-- 2026-02-23-module-scaffold-acme-curbside.md
150
151
  +-- sessions/ (N audit exports)
151
152
  +-- session-abc123.json
152
153
  ```
@@ -261,7 +262,7 @@ After rendering the tree, suggest next actions based on what's present:
261
262
 
262
263
  - **No features exist:** "Run /fluent-use-case-discover to create your first feature"
263
264
  - **No workflows downloaded:** "Run workflow download to get workflows from the live environment"
264
- - **No source repos:** "Clone plugin repos into SOURCE/backend/ (or SDK projects into SOURCE/frontend/) or run /fluent-source-onboard"
265
+ - **No source repos:** "Clone plugin repos into SOURCE/backend/ (or SDK projects into SOURCE/frontend/) or run /fluent-module-convert"
265
266
  - **Features ready to build:** "Feature <name> is APPROVED -- start with /fluent-rule-scaffold"
266
267
  - **Reports exist:** "Recent build report found -- check /fluent-pre-deploy-check status"
267
268
 
@@ -46,16 +46,16 @@ These files are copied into the workspace `knowledge/` directory and are safe fo
46
46
  | [platform/interaction-design-patterns.md](platform/interaction-design-patterns.md) | **Decision guide:** given a requirement, asks guided questions → recommends the right Fluent interaction pattern (7 patterns, quick-reference table, guided questions checklist) | `feature-plan`, `use-case-discover`, `workflow-builder`, `mystique-builder`, `custom-code`, `rule-scaffold` |
47
47
  | [platform/graphql-in-rules.md](platform/graphql-in-rules.md) | Decision framework and gotchas for GraphQL inside rules | `rule-scaffold`, `custom-code`, `feature-plan`, `feature-explain`, `build`, `module-scaffold` |
48
48
  | [platform/graphql-in-rules-reference.md](platform/graphql-in-rules-reference.md) | Detailed DynamicUtils and Apollo usage patterns | `rule-scaffold`, `custom-code`, `feature-plan`, `feature-explain`, `build`, `module-scaffold` |
49
- | [platform/module-structure.md](platform/module-structure.md) | Module anatomy — types (extension, data, workflow, reference), directory layout, module.json, Maven POM hierarchy, config variables, build, deploy, selective install | `module-scaffold`, `data-module-scaffold`, `module-validate`, `build`, `module-deploy`, `source-onboard`, `custom-code`, `rule-scaffold` |
49
+ | [platform/module-structure.md](platform/module-structure.md) | Module anatomy — types (extension, data, workflow, reference), directory layout, module.json, Maven POM hierarchy, config variables, build, deploy, selective install | `module-scaffold`, `data-module-scaffold`, `module-validate`, `build`, `module-deploy`, `module-convert`, `custom-code`, `rule-scaffold` |
50
50
  | [platform/reference-modules.md](platform/reference-modules.md) | OOTB rule catalog by module, rule categories, context mappings, OOTB vs custom decision guide, offline catalog | `rule-scaffold`, `workflow-builder`, `feature-plan`, `module-validate`, `custom-code`, `rule-lookup`, `implementation-map`, `feature-explain`, `rfl-assess`, `trace`, `pre-deploy-check` |
51
51
  | [platform/graphql-preflight.md](platform/graphql-preflight.md) | GraphQL validation lifecycle, Relay connection pattern, `first` vs `last` disambiguation, cursor pagination (`after`/`before`), DynamicUtils field-path validation | `mcp-tools`, `mcp-core`, `trace`, `rule-scaffold`, `custom-code`, `e2e-test`, `mystique-builder`, `mystique-assess`, `feature-plan`, `workflow-builder` |
52
52
  | [platform/graphql-query-complexity.md](platform/graphql-query-complexity.md) | Query complexity calculator algorithm, 11,111 max limit, optimization strategies | `trace`, `test-data`, `mcp-tools`, `mcp-core`, `e2e-test`, `workflow-builder`, `rule-scaffold`, `custom-code`, `rfl-assess` |
53
53
  | [platform/financial-fields.md](platform/financial-fields.md) | Financial field schema — legacy Float vs precise BigDecimal, per-entity field map, mutation input shapes, currency patterns | `rule-scaffold`, `custom-code`, `test-data`, `mystique-builder`, `mystique-component`, `mystique-scaffold`, `feature-plan`, `implementation-map`, `entity-flow-diagnose`, `e2e-test`, `trace` |
54
54
  | [platform/reusability-patterns.md](platform/reusability-patterns.md) | Rule/component reuse, naming, parameterization patterns | `rule-scaffold`, `mystique-component`, `feature-plan`, `use-case-discover`, `mystique-scaffold`, `custom-code`, `feature-explain` |
55
- | [platform/rule-test-patterns.md](platform/rule-test-patterns.md) | RuleExecutor, TestExecutor, WorkflowExecutor, Mockito patterns, ApolloUtils/TestUtils API, query mocks, mutation assertions, fixtures, coverage checklist | `rule-test`, `rule-scaffold`, `custom-code`, `build`, `module-scaffold`, `source-onboard`, `e2e-test`, `pre-deploy-check` |
55
+ | [platform/rule-test-patterns.md](platform/rule-test-patterns.md) | RuleExecutor, TestExecutor, WorkflowExecutor, Mockito patterns, ApolloUtils/TestUtils API, query mocks, mutation assertions, fixtures, coverage checklist | `rule-test`, `rule-scaffold`, `custom-code`, `build`, `module-scaffold`, `module-convert`, `e2e-test`, `pre-deploy-check` |
56
56
  | [platform/roles-and-permissions.md](platform/roles-and-permissions.md) | RBAC design questions and runtime permission model | `use-case-discover`, `feature-plan`, `rule-scaffold`, `workflow-builder`, `mystique-builder` |
57
57
  | [platform/mystique-manifest-components.md](platform/mystique-manifest-components.md) | Core manifest components and props | `mystique-builder`, `mystique-validate`, `mystique-analyze`, `mystique-diff`, `ui-test`, `feature-plan`, `implementation-map` |
58
- | [platform/mystique-routing.md](platform/mystique-routing.md) | HashRouter routing, params, link patterns, back buttons | `mystique-builder`, `mystique-validate`, `mystique-preview`, `mystique-analyze`, `mystique-diff`, `ui-test`, `ui-record`, `feature-plan`, `implementation-map` |
58
+ | [platform/mystique-routing.md](platform/mystique-routing.md) | HashRouter routing, params, link patterns, back buttons, context switching (location/retailer URL params, localStorage persistence) | `mystique-builder`, `mystique-assess`, `mystique-preview`, `mystique-diff`, `ui-test`, `ui-record`, `feature-plan`, `implementation-map`, `retailer-config`, `connect`, `e2e-test`, `account-snapshot` |
59
59
  | [mermaid-syntax-rules.md](mermaid-syntax-rules.md) | Diagram syntax rules and guardrails | `workflow-analyzer`, `feature-explain`, `implementation-map`, `connection-analysis`, `entity-flow-diagnose`, `feature-plan` |
60
60
 
61
61
  ### Frontend / SDK docs
@@ -555,6 +555,7 @@ event into the workflow engine — enabling automatic rule execution on entity c
555
555
  | **Virtual Catalogue** | Virtual Position | `VIRTUAL_CATALOGUE`, `VIRTUAL_POSITION` | Both: No |
556
556
  | **Control Group** | Control | `CONTROL_GROUP`, `CONTROL` | Both: No |
557
557
  | **Return Order** | Return Fulfilment | `RETURN_ORDER`, `RETURN_FULFILMENT` | Both: Yes |
558
+ | **Job** `[SCHEMA]` | Batch | `JOB`, `BATCH` | JOB: Yes, BATCH: Yes `[SCHEMA: observed in API, not in official docs]` |
558
559
  | **Billing Account** | Credit Memo, Invoice, Payment, Payment Transaction | `BILLING_ACCOUNT`, `CREDIT_MEMO`, `INVOICE`, `PAYMENT`, `PAYMENT_TRANSACTION` | All: Yes |
559
560
 
560
561
  **Key implications:**
@@ -4,11 +4,11 @@ scope: platform
4
4
  description: "Fluent Commerce module anatomy — types (extension, data, workflow, reference), directory structures, module.json format, Maven POM hierarchy, assets, config variables, build process, deployment, and selective install"
5
5
  load: on-demand
6
6
  priority: high
7
- relevant-skills: [fluent-module-scaffold, fluent-module-validate, fluent-build, fluent-module-deploy, fluent-source-onboard, fluent-custom-code]
7
+ relevant-skills: [fluent-module-scaffold, fluent-module-validate, fluent-build, fluent-module-deploy, fluent-module-convert, fluent-custom-code]
8
8
  version: 1.0
9
9
  last-updated: 2026-03-27
10
10
  author: user
11
- evidence: extracted from fluent-module-scaffold, fluent-data-module-scaffold, fluent-module-validate, fluent-build, fluent-module-deploy, fluent-source-onboard SKILL.md files
11
+ evidence: extracted from fluent-module-scaffold, fluent-data-module-scaffold, fluent-module-validate, fluent-build, fluent-module-deploy, fluent-module-convert SKILL.md files
12
12
  ---
13
13
 
14
14
  # Module Structure
@@ -22,8 +22,8 @@ A **module** is the unit of deployment in Fluent Commerce. Everything shipped to
22
22
  | Type | Has Java? | Has Assets? | Built with Maven? | Example |
23
23
  |------|-----------|-------------|-------------------|---------|
24
24
  | **Extension** | Yes (custom Rubix rules) | Optional (workflows, settings) | Yes | `fc-module-my-extensions` |
25
- | **Data** | No | Yes (locations, networks, carriers, settings, workflows, catalogues) | No | `hm-infra-data` |
26
- | **Workflow** | No | Workflow JSON only | No | `fc-workflow-order-hm-updated` |
25
+ | **Data** | No | Yes (locations, networks, carriers, settings, workflows, catalogues) | No | `acme-infra-data` |
26
+ | **Workflow** | No | Workflow JSON only | No | `fc-workflow-order-acme-updated` |
27
27
  | **Reference** | Yes (OOTB rules, closed-source) | Yes | No (pre-built by Fluent) | `core`, `order`, `fulfilment`, `inventory` |
28
28
 
29
29
  ### Known Reference Module Names
@@ -802,6 +802,6 @@ public class MyRule implements Rule {
802
802
  | Validate module structure | `/fluent-module-validate` |
803
803
  | Build and package | `/fluent-build` |
804
804
  | Deploy to environment | `/fluent-module-deploy` |
805
- | Onboard existing source code | `/fluent-source-onboard` |
805
+ | Convert source/plugin to module | `/fluent-module-convert` |
806
806
  | Analyze existing custom code | `/fluent-custom-code` |
807
807
  | Add a rule to an existing module | `/fluent-rule-scaffold` |
@@ -1,17 +1,20 @@
1
1
  ---
2
2
  name: mystique-routing
3
- description: "Mystique routing architecture: HashRouter URL mapping, manifest structure, page params, link patterns, backButtons, homePath. Derived from repo and manifest evidence."
3
+ description: "Mystique routing architecture: HashRouter URL mapping, manifest structure, page params, link patterns, backButtons, homePath, context switching (location/retailer URL params and localStorage persistence). Derived from repo and manifest evidence."
4
4
  load: on-demand
5
5
  relevant-skills:
6
6
  - mystique-builder
7
- - mystique-validate
7
+ - mystique-assess
8
8
  - mystique-preview
9
- - mystique-analyze
10
9
  - mystique-diff
11
10
  - ui-test
12
11
  - ui-record
13
12
  - feature-plan
14
13
  - implementation-map
14
+ - retailer-config
15
+ - connect
16
+ - e2e-test
17
+ - account-snapshot
15
18
  ---
16
19
 
17
20
  # Mystique Routing Architecture
@@ -234,10 +234,10 @@ A single role assignment can carry **multiple contexts** — e.g., one FINANCE_U
234
234
  User A1 has ADMIN role at RETAILER context for Retailer 1 → can access Retailer 1 data only.
235
235
 
236
236
  **Example 2 — Admin access to multiple retailers:**
237
- User A2 has ADMIN role at RETAILER context for Retailer 1 AND Retailer 2 → can access both. The context switcher in the UI allows filtering by retailer.
237
+ User A2 has ADMIN role at RETAILER context for Retailer 1 AND Retailer 2 → can access both. The context switcher in the UI allows filtering by retailer. See [mystique-routing.md § Context Switching](mystique-routing.md#context-switching--default-location--retailer-via-url-parameter) for URL parameter deep-linking (`user.retailer.ref`) and localStorage persistence.
238
238
 
239
239
  **Example 3 — Store access to specific locations:**
240
- User S1 has STORE_ASSISTANT role at AGENT context for Location 1 AND Location 2 under Retailer 1 → can access Retailer 1 data filtered to those two locations. The context switcher filters by retailer-specific data (fulfilments only).
240
+ User S1 has STORE_ASSISTANT role at AGENT context for Location 1 AND Location 2 under Retailer 1 → can access Retailer 1 data filtered to those two locations. The context switcher filters by retailer-specific data (fulfilments only). See [mystique-routing.md § Context Switching](mystique-routing.md#context-switching--default-location--retailer-via-url-parameter) for URL parameter deep-linking (`user.location.ref`) and localStorage persistence.
241
241
 
242
242
  ### Decision guide: Setting up a new user
243
243
 
@@ -2,7 +2,7 @@
2
2
  name: rule-test-patterns
3
3
  description: "Reusable test patterns for Fluent Commerce Rubix backend rules: RuleExecutor, TestExecutor, WorkflowExecutor, Mockito, query mocks, mutation assertions, ApolloUtils, TestUtils API, fixtures, coverage checklist, and POM dependency guidance. Derived from module-core 2.2.1, module-order 2.1.0, and official util-test documentation."
4
4
  version: 2.0
5
- relevant-skills: [fluent-rule-test, fluent-rule-scaffold, fluent-custom-code, fluent-build, fluent-module-scaffold, fluent-source-onboard]
5
+ relevant-skills: [fluent-rule-test, fluent-rule-scaffold, fluent-custom-code, fluent-build, fluent-module-scaffold, fluent-module-convert]
6
6
  load: on-demand
7
7
  ---
8
8
 
@@ -107,7 +107,7 @@ Field order inside each ruleset:
107
107
  **Key rules:**
108
108
  - `rules[]` comes BEFORE `triggers[]`
109
109
  - `userActions: []` ALWAYS present (even if empty)
110
- - NO `subtype` field on rulesets — entity-level `entitySubtype` handles routing
110
+ - NO `subtype` field on event-triggered rulesets — entity-level `entitySubtype` handles routing. Exception: rulesets with `userActions[]` MUST have `subtype` matching `entitySubtype` for UI button visibility (see `user-action-contract.md`).
111
111
  - `eventType` is typically `"NORMAL"`
112
112
 
113
113
  ## Ruleset Matching (4 criteria)
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: fluent-mcp-core
3
- description: Official Fluent Commerce CLI MCP server setup and operations. Configure the built-in MCP server, run health checks, validate GraphQL connectivity, build/validate queries, and manage workflow list/download operations. ROUTING PRIORITY over fluent-bootstrap and fluent-connect when the prompt explicitly mentions "built-in MCP server", "official MCP server", "GraphQL connectivity", "set up the built-in MCP", or "set up the MCP server and test". If the user says "set up" combined with "MCP server" or "GraphQL connectivity", route HERE only when official-server setup/testing is the primary task, not when MCP wiring is just one step inside existing-account onboarding. Do not route send-event, verify-it-landed, Transition API discovery, extension-only GraphQL (`graphql_planOperation`, `graphql_query`, `graphql_queryAll`), runtime connection switching, or extension workflow-get prompts here — those belong to fluent-mcp-tools. Do not prefer this skill when the prompt is about CI/CD, automation pipelines, or non-interactive `fluent mcp server --stdio` rollout patterns — route those to fluent-cli-mcp-cicd instead. HARD NEGATIVE — Do NOT route here for: existing-account connection/onboarding prompts that also ask to discover CLI profiles, choose retailer context, or get the workspace ready to work (→ fluent-connect), 'connection_list' / 'connection_switch' / 'connection management' / 'workflow_get' / 'workflow_transitions' / 'event_send' / 'graphql_query' (→ fluent-mcp-tools for MCP extension server tools). Triggers on "mcp core setup", "built-in mcp server", "official mcp server", "graphql connectivity", "graphql validate", "workflow download", "set up the built-in MCP", "set up mcp server", "test graphql connectivity".
3
+ description: Official Fluent Commerce CLI MCP server setup and operations. Configure the built-in MCP server, run health checks, validate GraphQL connectivity, and manage workflow downloads. Use for built-in MCP server setup or GraphQL connectivity testing.
4
4
  user-invocable: true
5
5
  allowed-tools: Bash, Read, Write, Edit, Glob, Grep
6
6
  argument-hint: <operation> [--profile name] [--retailer ref]
7
7
  cursor-tier: auto
8
8
  ---
9
+ <!-- routing-notes: ROUTING PRIORITY over fluent-bootstrap and fluent-connect when prompt explicitly mentions "built-in MCP server", "official MCP server", "GraphQL connectivity". Route HERE only when official-server setup/testing is the primary task. Do not route send-event, Transition API, extension-only GraphQL, runtime connection switching, or extension workflow-get here (→ fluent-mcp-tools). Do not route CI/CD pipelines or non-interactive stdio setup here (→ fluent-cli-mcp-cicd). HARD NEGATIVE — Do NOT route for existing-account onboarding (→ fluent-connect) or MCP extension tools like connection_list, event_send, graphql_query (→ fluent-mcp-tools). -->
9
10
 
10
11
  # Fluent MCP Core
11
12
 
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: fluent-mcp-tools
3
- description: Fluent Commerce MCP extension server tools reference. Canonical owner of event sending (event_build + event_send), event verification, extension-first GraphQL execution, runtime connection management, extension workflow operations, and all 59 MCP extension tools. Use for "send event", "dispatch event", "verify it landed", event flow forensics, GraphQL operations, batch ingestion, connection switching, or webhook validation. ROUTING PRIORITY over fluent-transition-api for ANY prompt that says "send" + event name (e.g., "send a ConfirmShipment event"), "dispatch event", "verify it landed", or "send and verify". Transition API is read-only action discovery — if the user wants the event SENT or VERIFIED, route HERE. ROUTING PRIORITY over fluent-bootstrap for event/MCP operations. ROUTING PRIORITY for MCP extension server tools — route here instead of fluent-mcp-core or fluent-workflow when prompt mentions MCP extension tools like workflow_get, workflow_transitions, connection_list, event_send, graphql_query, batch_send. HARD NEGATIVE — Do NOT route here for: "which CLI command family" / "mixed CLI question" / "CLI overview" / "work across profiles, retailers, workflows, settings" (→ fluent-cli-reference handles broad CLI triage questions). HARD NEGATIVE — do NOT route conceptual Event API questions here: if the user is asking what event statuses, categories, `sourceEvents`, orchestration routing, run-once semantics, or audit-vs-log actions mean, route to fluent-event-api even if the prompt mentions `event_list` or other MCP tool names. Do not route Prometheus monitoring (use fluent-system-monitoring), pure built-in server setup, official GraphQL connectivity-only, or `workflow_download` prompts (those belong to fluent-mcp-core). Key knowledge — graphql-preflight.md, graphql-query-complexity.md, sync-vs-async-patterns.md. Triggers on "mcp tools", "send fluent event", "send event", "send a ConfirmShipment", "send a", "dispatch event", "verify it landed", "send and verify", "event flow inspect", "trace event payloads", "fluent graphql", "graphql query", "batch ingestion".
3
+ description: Fluent Commerce MCP extension server tools reference covering all 59 tools including event sending, GraphQL execution, batch ingestion, and connection management. Use for sending events, dispatching, or verifying MCP operations.
4
4
  user-invocable: true
5
5
  allowed-tools: Bash, Read, Write, Edit, Glob, Grep
6
6
  argument-hint: <operation> [entity-type] [entity-ref]
7
7
  cursor-tier: manual
8
8
  ---
9
+ <!-- routing-notes: ROUTING PRIORITY over fluent-transition-api for ANY prompt that says "send" + event name, "dispatch event", "verify it landed", or "send and verify". ROUTING PRIORITY over fluent-bootstrap for event/MCP operations. ROUTING PRIORITY for MCP extension server tools — route here instead of fluent-mcp-core or fluent-workflow when prompt mentions extension tools like workflow_get, connection_list, event_send, graphql_query, batch_send. HARD NEGATIVE — Do NOT route here for broad CLI triage questions (→ fluent-cli-reference) or conceptual Event API questions about event statuses, categories, sourceEvents, orchestration routing, run-once semantics (→ fluent-event-api). Do not route Prometheus monitoring (→ fluent-system-monitoring), built-in server setup, or workflow_download (→ fluent-mcp-core). -->
9
10
 
10
11
  # Fluent MCP Tools
11
12
 
@@ -579,7 +580,7 @@ To discover which attributes an entity supports and how they appear in mutations
579
580
 
580
581
  ### Schema Tool Annotations
581
582
 
582
- All 57 MCP extension tools now advertise MCP `ToolAnnotations` (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`). MCP clients that respect annotations can automatically distinguish read-only operations (queries, introspection, cache status) from write operations (event_send, entity_create, workflow_upload).
583
+ All 59 MCP extension tools now advertise MCP `ToolAnnotations` (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`). MCP clients that respect annotations can automatically distinguish read-only operations (queries, introspection, cache status) from write operations (event_send, entity_create, workflow_upload).
583
584
 
584
585
  ## Batch Ingestion
585
586
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: fluent-rfl-assess
3
- description: Run a Ready For Launch (RFL) assessment on a Fluent Commerce implementation. Analyzes workflows, rules, settings, and integrations for production readiness. Triggers on "rfl assessment", "ready for launch check", "go-live readiness", "production audit".
3
+ description: Run a Ready For Launch (RFL) assessment on a Fluent Commerce implementation analyzing workflows, rules, settings, and integrations. Trigger on go-live readiness or production audit needs.
4
4
  user-invocable: true
5
5
  allowed-tools: Bash, Read, Write, Edit, Glob, Grep
6
6
  argument-hint: [--profile name] [--retailer ref]
@@ -0,0 +1,175 @@
1
+ # Your First Session
2
+
3
+ > 20 minutes to a productive session, with just enough prompts to get confidence.
4
+ > Works with Claude Code, Codex, and Gemini CLI.
5
+
6
+ Use this in order, exactly. Ask the next prompt only after the previous one is done.
7
+
8
+ ## 1) First 20 minutes (minimum viable setup)
9
+
10
+ > **`npm` vs `npx`:** `npm install -g` permanently installs a tool. `npx` runs a package without installing. All `@fluentcommerce/ai-skills` commands use `npx`.
11
+
12
+ 1. Install and connect your workspace (replace placeholders):
13
+
14
+ ```bash
15
+ # Pick your target:
16
+ npx @fluentcommerce/ai-skills install --profile MY_PROFILE # Claude Code (default)
17
+ npx @fluentcommerce/ai-skills install --target codex --profile MY_PROFILE # Codex
18
+ npx @fluentcommerce/ai-skills install --target gemini --profile MY_PROFILE # Gemini CLI
19
+
20
+ # Verify everything is working:
21
+ npx @fluentcommerce/ai-skills doctor
22
+ ```
23
+
24
+ 2. Connect the workspace to your Fluent account:
25
+
26
+ | In Claude Code | In Codex or Gemini CLI |
27
+ |---|---|
28
+ | `/fluent-connect --profile MY_PROFILE` | `Use the fluent-connect skill to connect this workspace with profile MY_PROFILE.` |
29
+
30
+ 3. Confirm what was created:
31
+
32
+ `Show me the workspace tree`
33
+
34
+ If your output is confusing, try:
35
+
36
+ `What folders were created for this account?` and share the reply with your teammate.
37
+
38
+ ## 2) Three things newcomers usually ask first
39
+
40
+ ### A. “What can I do with this?”
41
+
42
+ Use these read-only prompts first:
43
+
44
+ `What's deployed on this account?`
45
+ - **Triggers:** `fluent-account-snapshot` (read-only, safe)
46
+ - **You get:** workflows, modules, settings, retailers — a full implementation inventory
47
+ - **Artifact:** summary in `accounts/<PROFILE>/analysis/`
48
+
49
+ `How does Home Delivery work end-to-end?`
50
+ - **Triggers:** `fluent-feature-explain` (read-only, safe)
51
+ - **You get:** state machine diagrams, cross-entity sequence diagrams, rules table, settings dependencies
52
+ - **Artifact:** `accounts/<PROFILE>/features/home-delivery/architecture.md`
53
+
54
+ ### B. “How do I debug?”
55
+
56
+ `Why is order HD-001 stuck in BOOKED?`
57
+ - **Triggers:** `fluent-trace` (read-only, safe)
58
+ - **You get:** event timeline, which rules fired or failed, root cause, and suggested fix
59
+ - **No artifacts** — output is inline in the conversation
60
+
61
+ ### C. “How do I start building?”
62
+
63
+ `Help me define use cases for return orders`
64
+ - **Triggers:** `fluent-use-case-discover` (interactive wizard)
65
+ - **You get:** structured business spec with completeness score
66
+ - **Artifact:** `accounts/<PROFILE>/features/return-order/spec.md`
67
+
68
+ Then, after review:
69
+
70
+ `Plan the return order feature`
71
+ - **Triggers:** `fluent-feature-plan` (presents plan, waits for approval)
72
+ - **You get:** 18-section implementation plan with diagrams, rules inventory, risk assessment
73
+ - **Artifact:** `accounts/<PROFILE>/features/return-order/plan.md`
74
+
75
+ **Wait for approval** after plan review before any change. Say `”approved”` to proceed.
76
+
77
+ ## 3) Prompt ladder (don’t memorize anything)
78
+
79
+ Pick one path and follow it:
80
+
81
+ **Path 1: Explore only** (all read-only, safe)
82
+
83
+ | Prompt | Skill triggered |
84
+ |--------|----------------|
85
+ | `Show me what's deployed on this account` | `fluent-account-snapshot` |
86
+ | `Show me the workspace tree` | `fluent-workspace-tree` |
87
+ | `Explain how Home Delivery works end-to-end` | `fluent-feature-explain` |
88
+ | `List all in-progress features` | `fluent-feature-status` |
89
+
90
+ **Path 2: Investigate one issue** (all read-only, safe)
91
+
92
+ | Prompt | Skill triggered |
93
+ |--------|----------------|
94
+ | `Why is order HD-001 stuck in BOOKED?` | `fluent-trace` |
95
+ | `Show me the event timeline for that order` | `fluent-trace` (continued) |
96
+ | `What settings does this flow use?` | `fluent-settings` |
97
+ | `What transitions are allowed for ORDER?` | `fluent-transition-api` |
98
+
99
+ **Path 3: Build one small feature** (creates artifacts, approval required)
100
+
101
+ | Prompt | Skill triggered |
102
+ |--------|----------------|
103
+ | `Help me define use cases for <feature>` | `fluent-use-case-discover` |
104
+ | `Plan the <feature> feature` | `fluent-feature-plan` |
105
+ | `Approved` | Plan gate clears, implementation begins |
106
+ | `Scaffold the module` | `fluent-module-scaffold` |
107
+ | `Build the workflow from the plan` | `fluent-workflow-builder` |
108
+
109
+ Pause after each step to check output before continuing.
110
+
111
+ ## 4) Where artifacts land (so you can find them quickly)
112
+
113
+ - `accounts/<PROFILE>/workflows/<RETAILER>/`
114
+ - Downloaded workflow JSONs
115
+ - `workflow-context.json`
116
+ - `accounts/<PROFILE>/features/<slug>/`
117
+ - `spec.md` (requirements)
118
+ - `plan.md` (approved implementation plan)
119
+ - `architecture.md` (feature explain output)
120
+ - `status.json` (current lifecycle state)
121
+ - `accounts/<PROFILE>/SOURCE/backend/`
122
+ - Java/Maven sources the skill reads and writes
123
+ - `accounts/<PROFILE>/analysis/`
124
+ - Persisted reverse-engineering outputs
125
+ - `accounts/<PROFILE>/reports/`
126
+ - Quality gates, pre-deploy checks, and validation outputs
127
+ - `accounts/<PROFILE>/sessions/`
128
+ - Audit trail exports from sessions
129
+
130
+ Use this command-style prompt when you lose track:
131
+
132
+ `What artifacts were created in the last two hours and where?`
133
+
134
+ This avoids rebuilding context from scratch.
135
+
136
+ ## 5) What to do when nothing responds
137
+
138
+ 1. `npx @fluentcommerce/ai-skills doctor` in the workspace folder
139
+ 2. `Show me the installed skill list`
140
+ 3. Ask the specific issue: `What failed when I tried to run ...?`
141
+ 4. Retry the same first prompt for the task.
142
+
143
+ ## 6) Keep it beginner-safe
144
+
145
+ - Start with read-only prompts. No code changes in first 20 minutes.
146
+ - Approve only after the plan is clear.
147
+ - Use explicit nouns in prompts: order ref, workflow name, module name.
148
+ - If a prompt fails, simplify it and retry rather than changing everything.
149
+
150
+ At the end of the day, copy this into team docs:
151
+
152
+ - one example of a successful debug (`why is this order stuck`)
153
+ - one example of a successful feature plan approval
154
+ - one artifact map screenshot from `Show me the workspace tree`
155
+
156
+ That becomes your team memory baseline.
157
+
158
+ ## 7) Setting up a second workspace
159
+
160
+ Skills, agents, and platform knowledge install **globally** to `~/.claude/` — once installed, they're available in every workspace. A second workspace only needs MCP config (credentials are per-workspace):
161
+
162
+ ```bash
163
+ mkdir client-b && cd client-b
164
+ git init
165
+ npx @fluentcommerce/ai-skills mcp-setup --profile CLIENT_B_PROFILE
166
+ npx @fluentcommerce/ai-skills doctor # verify everything
167
+ ```
168
+
169
+ That's it — `mcp-setup` wires MCP, generates a starter `CLAUDE.md`, and knowledge falls back to the global copy. If you want a full local copy of knowledge and docs too, run `install` instead of `mcp-setup`.
170
+
171
+ ## 8) Next reading (after this)
172
+
173
+ - [prompt-guide.md](02-prompt-guide.md) — progressive skill navigator (which of the 60+ skills matter, and when)
174
+ - [Setup Reference & Troubleshooting](05-getting-started.md) — prerequisites, workspace layout, and troubleshooting
175
+ - [onboarding-plan.md](04-onboarding-plan.md) — structured two-week team ramp