@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.
- package/README.md +17 -12
- package/bin/cli.mjs +219 -43
- package/content/cli/skills/fluent-bootstrap/SKILL.md +1 -1
- package/content/cli/skills/fluent-cli-mcp-cicd/SKILL.md +1 -1
- package/content/cli/skills/fluent-cli-reference/SKILL.md +1 -1
- package/content/cli/skills/fluent-cli-retailer/SKILL.md +1 -1
- package/content/cli/skills/fluent-connect/SKILL.md +58 -3
- package/content/cli/skills/fluent-profile/SKILL.md +35 -5
- package/content/cli/skills/fluent-workflow/SKILL.md +2 -1
- package/content/dev/agents/fluent-backend-dev.md +2 -2
- package/content/dev/agents/fluent-dev.md +1 -1
- package/content/dev/agents/fluent-frontend-dev.md +1 -1
- package/content/dev/skills/fluent-account-snapshot/SKILL.md +1 -1
- package/content/dev/skills/fluent-archive/SKILL.md +2 -1
- package/content/dev/skills/fluent-build/SKILL.md +2 -2
- package/content/dev/skills/fluent-connection-analysis/SKILL.md +2 -1
- package/content/dev/skills/fluent-custom-code/SKILL.md +3 -2
- package/content/dev/skills/fluent-data-module-scaffold/SKILL.md +7 -6
- package/content/dev/skills/fluent-e2e-test/SKILL.md +1 -1
- package/content/dev/skills/fluent-entity-flow-diagnose/SKILL.md +2 -1
- package/content/dev/skills/fluent-event-api/SKILL.md +3 -2
- package/content/dev/skills/fluent-feature-explain/SKILL.md +2 -1
- package/content/dev/skills/fluent-feature-plan/SKILL.md +2 -1
- package/content/dev/skills/fluent-feature-status/SKILL.md +1 -1
- package/content/dev/skills/fluent-frontend-build/SKILL.md +1 -1
- package/content/dev/skills/fluent-frontend-readme/SKILL.md +2 -1
- package/content/dev/skills/fluent-frontend-review/SKILL.md +2 -1
- package/content/dev/skills/fluent-goal/SKILL.md +1 -1
- package/content/dev/skills/fluent-implementation-map/SKILL.md +1 -1
- package/content/dev/skills/fluent-inventory-catalog/SKILL.md +2 -2
- package/content/dev/skills/fluent-job-batch/SKILL.md +6 -3
- package/content/dev/skills/fluent-knowledge-init/SKILL.md +1 -1
- package/content/dev/skills/{fluent-source-onboard → fluent-module-convert}/SKILL.md +223 -24
- package/content/dev/skills/fluent-module-scaffold/SKILL.md +2 -1
- package/content/dev/skills/fluent-module-validate/SKILL.md +8 -7
- package/content/dev/skills/fluent-mystique-assess/SKILL.md +22 -6
- package/content/dev/skills/fluent-mystique-builder/SKILL.md +33 -2
- package/content/dev/skills/fluent-mystique-component/SKILL.md +1 -1
- package/content/dev/skills/fluent-mystique-diff/SKILL.md +1 -1
- package/content/dev/skills/fluent-mystique-preview/SKILL.md +19 -2
- package/content/dev/skills/fluent-mystique-scaffold/SDK_REFERENCE.md +2 -2
- package/content/dev/skills/fluent-mystique-scaffold/SKILL.md +13 -2
- package/content/dev/skills/fluent-mystique-scaffold/TEMPLATES.md +1 -1
- package/content/dev/skills/fluent-mystique-sdk-reference/SKILL.md +2 -1
- package/content/dev/skills/fluent-pre-deploy-check/SKILL.md +3 -3
- package/content/dev/skills/fluent-retailer-config/SKILL.md +3 -3
- package/content/dev/skills/fluent-rollback/SKILL.md +1 -1
- package/content/dev/skills/fluent-rule-lookup/SKILL.md +2 -1
- package/content/dev/skills/fluent-rule-scaffold/SKILL.md +7 -6
- package/content/dev/skills/fluent-rule-test/SKILL.md +2 -1
- package/content/dev/skills/fluent-scope-plan/SKILL.md +2 -2
- package/content/dev/skills/fluent-session/SKILL.md +1 -1
- package/content/dev/skills/fluent-settings/SKILL.md +2 -2
- package/content/dev/skills/fluent-skill-observability/SKILL.md +1 -1
- package/content/dev/skills/fluent-sourcing/SKILL.md +38 -13
- package/content/dev/skills/fluent-system-monitoring/SKILL.md +1 -1
- package/content/dev/skills/fluent-test-data/SKILL.md +1 -1
- package/content/dev/skills/fluent-trace/SKILL.md +3 -2
- package/content/dev/skills/fluent-transition-api/SKILL.md +3 -2
- package/content/dev/skills/fluent-ui-record/SKILL.md +1 -1
- package/content/dev/skills/fluent-ui-test/SKILL.md +9 -8
- package/content/dev/skills/fluent-use-case-discover/SKILL.md +2 -2
- package/content/dev/skills/fluent-workflow-analyzer/SKILL.md +3 -2
- package/content/dev/skills/fluent-workspace-tree/SKILL.md +4 -3
- package/content/knowledge/index.md +3 -3
- package/content/knowledge/platform/domain-model.md +1 -0
- package/content/knowledge/platform/module-structure.md +5 -5
- package/content/knowledge/platform/mystique-routing.md +6 -3
- package/content/knowledge/platform/permissions-and-contexts.md +2 -2
- package/content/knowledge/platform/rule-test-patterns.md +1 -1
- package/content/knowledge/platform/workflow-json-structure.md +1 -1
- package/content/mcp-extn/skills/fluent-mcp-core/SKILL.md +2 -1
- package/content/mcp-extn/skills/fluent-mcp-tools/SKILL.md +3 -2
- package/content/rfl/skills/fluent-rfl-assess/SKILL.md +1 -1
- package/docs/01-first-session.md +175 -0
- package/docs/02-prompt-guide.md +246 -0
- package/docs/03-use-cases.md +1181 -0
- package/docs/04-onboarding-plan.md +355 -0
- package/docs/05-getting-started.md +262 -0
- package/docs/06-dev-workflow.md +1040 -0
- package/docs/INDEX.md +40 -0
- package/docs/agents-and-skills-guide.md +199 -0
- package/docs/capability-map.md +165 -0
- package/docs/chrome-devtools-mcp-reference.md +401 -0
- package/docs/fluent-ai-skills-reference.md +1351 -0
- package/docs/manifest-safety.md +79 -0
- package/docs/mcp-servers.md +209 -0
- package/docs/workflow-reference.md +167 -0
- package/lib/fluent-brand.css +55 -0
- package/metadata.json +7 -6
- package/package.json +17 -3
- package/scripts/postinstall.mjs +38 -0
- package/{content/dev/skills/fluent-trace/scripts/analyze-event-capture.mjs → tools/event-capture-analyzer.mjs} +3 -3
- package/tools/{generate-feature-dashboard.mjs → feature-dashboard.mjs} +2 -2
- package/tools/manifest-diff.mjs +1 -1
- package/{content/dev/skills/fluent-mystique-assess/validator.mjs → tools/manifest-validator.mjs} +2 -2
- package/tools/workflow-explainer.mjs +1021 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Post-install nudge — prints a one-time message after `npm install`.
|
|
5
|
+
* Does NOT auto-execute the install command (that writes to ~/.claude/ and
|
|
6
|
+
* should always be an explicit user action).
|
|
7
|
+
*
|
|
8
|
+
* Safe for CI: exits 0 unconditionally, prints to stderr so it doesn't
|
|
9
|
+
* pollute piped stdout, and skips entirely when CI env vars are set.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// Skip in CI — no human to read it
|
|
13
|
+
if (process.env.CI || process.env.CONTINUOUS_INTEGRATION || process.env.BUILD_NUMBER) {
|
|
14
|
+
process.exit(0);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const YELLOW = "\x1b[33m";
|
|
18
|
+
const CYAN = "\x1b[36m";
|
|
19
|
+
const BOLD = "\x1b[1m";
|
|
20
|
+
const RESET = "\x1b[0m";
|
|
21
|
+
|
|
22
|
+
console.error(`
|
|
23
|
+
${YELLOW}┌──────────────────────────────────────────────────────────────┐
|
|
24
|
+
│ │
|
|
25
|
+
│ ${BOLD}@fluentcommerce/ai-skills${RESET}${YELLOW} installed. │
|
|
26
|
+
│ │
|
|
27
|
+
│ To activate skills in your coding assistant, run: │
|
|
28
|
+
│ │
|
|
29
|
+
│ ${CYAN}npx @fluentcommerce/ai-skills install${YELLOW} │
|
|
30
|
+
│ │
|
|
31
|
+
│ First time? Add a Fluent profile for full API access: │
|
|
32
|
+
│ │
|
|
33
|
+
│ ${CYAN}npx @fluentcommerce/ai-skills install --profile MYPROFILE${YELLOW} │
|
|
34
|
+
│ │
|
|
35
|
+
│ See all options: ${CYAN}npx @fluentcommerce/ai-skills --help${YELLOW} │
|
|
36
|
+
│ │
|
|
37
|
+
└──────────────────────────────────────────────────────────────┘${RESET}
|
|
38
|
+
`);
|
|
@@ -5,7 +5,7 @@ import path from "node:path";
|
|
|
5
5
|
|
|
6
6
|
const USAGE = `
|
|
7
7
|
Usage:
|
|
8
|
-
node
|
|
8
|
+
node fluent-ai-skills/tools/event-capture-analyzer.mjs <capture.json> [more.json ...] [options]
|
|
9
9
|
|
|
10
10
|
Options:
|
|
11
11
|
--root-ref <ref> Filter to events in this root entity lineage
|
|
@@ -17,8 +17,8 @@ Options:
|
|
|
17
17
|
--help Show this help
|
|
18
18
|
|
|
19
19
|
Examples:
|
|
20
|
-
node
|
|
21
|
-
node
|
|
20
|
+
node fluent-ai-skills/tools/event-capture-analyzer.mjs ORD-1.window.json --root-ref ORD-1
|
|
21
|
+
node fluent-ai-skills/tools/event-capture-analyzer.mjs evt-123.event.json evt-123.window.json --root-ref ORD-1 --from 2026-03-25T10:00:00Z --to 2026-03-25T10:05:00Z --output ORD-1.metrics.json
|
|
22
22
|
`.trim();
|
|
23
23
|
|
|
24
24
|
function fail(message) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// fluent-ai-skills/tools/
|
|
2
|
+
// fluent-ai-skills/tools/feature-dashboard.mjs
|
|
3
3
|
// Feature Lifecycle HTML Dashboard Generator
|
|
4
4
|
// Zero npm dependencies — uses only Node.js built-ins
|
|
5
5
|
// Reads feature data from accounts/<PROFILE>/features/ and produces a self-contained HTML dashboard
|
|
@@ -116,7 +116,7 @@ function checkVendor() {
|
|
|
116
116
|
const marked = join(VENDOR_DIR, 'marked.min.js');
|
|
117
117
|
const mermaid = join(VENDOR_DIR, 'mermaid.min.js');
|
|
118
118
|
if (!existsSync(marked) || !existsSync(mermaid)) {
|
|
119
|
-
console.error('Error: Vendor libs missing. Run: node fluent-ai-skills/tools/
|
|
119
|
+
console.error('Error: Vendor libs missing. Run: node fluent-ai-skills/tools/feature-dashboard.mjs --setup');
|
|
120
120
|
process.exit(1);
|
|
121
121
|
}
|
|
122
122
|
return {
|
package/tools/manifest-diff.mjs
CHANGED
|
@@ -33,7 +33,7 @@ const ACCOUNTS_DIR = join(WORKSPACE_ROOT, 'accounts');
|
|
|
33
33
|
|
|
34
34
|
const CDN_BASE = 'https://fluent.apps.fluentcommerce.com/_plugins';
|
|
35
35
|
|
|
36
|
-
// ─── OOTB Component Registry (from
|
|
36
|
+
// ─── OOTB Component Registry (from tools/manifest-validator.mjs) ──
|
|
37
37
|
const OOTB_COMPONENTS = new Set([
|
|
38
38
|
// Layout & Container
|
|
39
39
|
'fc.page','fc.page.wizard','fc.page.wizard.summary','fc.page.section',
|
package/{content/dev/skills/fluent-mystique-assess/validator.mjs → tools/manifest-validator.mjs}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Implements all 66 validation rules from SKILL.md across 6 phases.
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
|
-
* node validator.mjs <manifest.json> [--strict] [--fix-suggestions] [--component <alias>] [--json]
|
|
8
|
+
* node fluent-ai-skills/tools/manifest-validator.mjs <manifest.json> [--strict] [--fix-suggestions] [--component <alias>] [--json]
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { readFileSync, readdirSync, statSync, writeFileSync } from 'fs';
|
|
@@ -1113,7 +1113,7 @@ const args = process.argv.slice(2);
|
|
|
1113
1113
|
if (args.length === 0 || args.includes('--help')) {
|
|
1114
1114
|
console.log(`Mystique Manifest Validator v1.0
|
|
1115
1115
|
|
|
1116
|
-
Usage: node validator.mjs <manifest.json|directory> [options]
|
|
1116
|
+
Usage: node fluent-ai-skills/tools/manifest-validator.mjs <manifest.json|directory> [options]
|
|
1117
1117
|
|
|
1118
1118
|
Options:
|
|
1119
1119
|
--strict Treat MEDIUM/LOW as errors
|