@fluentcommerce/ai-skills 0.1.0 → 0.2.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.
Potentially problematic release.
This version of @fluentcommerce/ai-skills might be problematic. Click here for more details.
- package/README.md +10 -16
- package/content/cli/skills/fluent-bootstrap/SKILL.md +9 -0
- package/content/cli/skills/fluent-cli-reference/SKILL.md +0 -408
- package/content/cli/skills/fluent-module-deploy/SKILL.md +21 -127
- package/content/dev/agents/fluent-dev/AGENT.md +76 -0
- package/content/dev/agents/fluent-dev/agent.json +2 -12
- package/content/dev/agents/fluent-dev.md +5 -6
- package/content/dev/skills/fluent-build/SKILL.md +16 -38
- package/content/dev/skills/fluent-feature-plan/PLAN_TEMPLATE.md +9 -13
- package/content/dev/skills/fluent-feature-plan/SKILL.md +8 -14
- package/content/dev/skills/fluent-module-scaffold/SKILL.md +9 -78
- package/content/dev/skills/fluent-pre-deploy-check/SKILL.md +5 -23
- package/content/dev/skills/fluent-retailer-config/SKILL.md +9 -0
- package/content/dev/skills/fluent-rule-scaffold/SKILL.md +9 -0
- package/content/dev/skills/fluent-scope-decompose/SKILL.md +1 -1
- package/content/dev/skills/fluent-settings/SKILL.md +10 -0
- package/content/dev/skills/fluent-source-onboard/SKILL.md +9 -0
- package/content/dev/skills/fluent-sourcing/SKILL.md +1171 -0
- package/content/dev/skills/fluent-use-case-discover/SKILL.md +471 -0
- package/content/dev/skills/fluent-use-case-discover/SPEC_TEMPLATE.md +260 -0
- package/content/dev/skills/fluent-version-manage/SKILL.md +10 -0
- package/content/dev/skills/fluent-workflow-builder/SKILL.md +10 -3
- package/content/mcp-extn/agents/fluent-mcp.md +65 -2
- package/content/mcp-extn/skills/fluent-mcp-tools/SKILL.md +343 -4
- package/docs/CAPABILITY_MAP.md +3 -7
- package/docs/USE_CASES.md +4 -3
- package/docs/USE_CASES.pdf +0 -0
- package/metadata.json +8 -9
- package/package.json +2 -6
- package/content/dev/skills/fluent-data-module-scaffold/SKILL.md +0 -714
- package/content/dev/skills/fluent-workflow-deploy/SKILL.md +0 -267
|
@@ -8,13 +8,13 @@ argument-hint: [--profile <profile>] [--retailer <ref>] [--module-path <path>] [
|
|
|
8
8
|
|
|
9
9
|
# Pre-Deployment Checklist
|
|
10
10
|
|
|
11
|
-
Structured deployment gate between "build passes" and "deploy to retailer." Runs 8 phases of validation with
|
|
11
|
+
Structured deployment gate between "build passes" and "deploy to retailer." Runs 8 phases of validation with 25 individual quality gates, producing a machine-readable pass/fail report that blocks deployment on critical failures.
|
|
12
12
|
|
|
13
13
|
This skill is the final checkpoint in the Agent-Driven Development (ADD) lifecycle, positioned at Phase 6 (Demo Deployment). It aggregates validation from multiple specialized skills and MCP tools into a single, traceable pre-flight report.
|
|
14
14
|
|
|
15
15
|
## Planning Gate
|
|
16
16
|
|
|
17
|
-
**This skill IS the planning gate for deployment.** Running a pre-deploy check is always safe (read-only analysis). No approval needed to run the check itself. However, if the check result includes a GO verdict and the user asks to proceed with deployment, the deployment skills (`/fluent-module-deploy`, `/fluent-workflow
|
|
17
|
+
**This skill IS the planning gate for deployment.** Running a pre-deploy check is always safe (read-only analysis). No approval needed to run the check itself. However, if the check result includes a GO verdict and the user asks to proceed with deployment, the deployment skills (`/fluent-module-deploy`, `/fluent-workflow`) have their own planning gates that apply.
|
|
18
18
|
|
|
19
19
|
## Ownership Boundary
|
|
20
20
|
|
|
@@ -91,23 +91,6 @@ Phases are auto-skipped when their inputs are unavailable. The `--skip` flag for
|
|
|
91
91
|
|
|
92
92
|
Verify the target environment is accessible, correctly configured, and capable of receiving a deployment.
|
|
93
93
|
|
|
94
|
-
#### Gate 1.0: CLI Available
|
|
95
|
-
|
|
96
|
-
**Severity:** HIGH
|
|
97
|
-
|
|
98
|
-
**Tool:** Bash (`fluent --version`)
|
|
99
|
-
|
|
100
|
-
**Invocation:**
|
|
101
|
-
```bash
|
|
102
|
-
fluent --version
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
**Pass criteria:** Command succeeds and returns a version string (e.g., `v2.0.0`).
|
|
106
|
-
|
|
107
|
-
**Fail criteria:** Command not found or returns an error. Many deployment operations (module install, workflow list/download, verification) require the Fluent CLI. HIGH rather than CRITICAL because MCP tools can handle some operations without CLI, but the standard deployment path requires it.
|
|
108
|
-
|
|
109
|
-
**Details captured:** CLI version string, CLI path (from `which fluent` or `where fluent`).
|
|
110
|
-
|
|
111
94
|
#### Gate 1.1: Authentication Valid
|
|
112
95
|
|
|
113
96
|
**Severity:** CRITICAL
|
|
@@ -854,7 +837,7 @@ The checklist report is written as a JSON file with the following structure:
|
|
|
854
837
|
}
|
|
855
838
|
],
|
|
856
839
|
"summary": {
|
|
857
|
-
"totalGates":
|
|
840
|
+
"totalGates": 25,
|
|
858
841
|
"pass": 22,
|
|
859
842
|
"fail": 2,
|
|
860
843
|
"skip": 1,
|
|
@@ -962,7 +945,6 @@ Threshold: CRITICAL
|
|
|
962
945
|
Timestamp: 2026-02-23T10:30:00Z
|
|
963
946
|
|
|
964
947
|
Phase 1: Environment Readiness ........................ PASS
|
|
965
|
-
[PASS] 1.0 CLI available (HIGH) -- fluent v2.0.0
|
|
966
948
|
[PASS] 1.1 Auth valid (CRITICAL) -- admin@hmdev, roles: ADMIN
|
|
967
949
|
[PASS] 1.2 Retailer exists (CRITICAL) -- HM_TEST, ACTIVE
|
|
968
950
|
[PASS] 1.3 Locations exist (HIGH) -- 3 locations (2 WH, 1 STORE)
|
|
@@ -1005,7 +987,7 @@ Phase 8: Completeness ................................. PASS
|
|
|
1005
987
|
|
|
1006
988
|
SUMMARY
|
|
1007
989
|
-------
|
|
1008
|
-
Total:
|
|
990
|
+
Total: 25 gates | PASS: 24 | FAIL: 1 | SKIP: 0
|
|
1009
991
|
|
|
1010
992
|
VERDICT: READY
|
|
1011
993
|
(Gate 2.4 failed at HIGH but threshold is CRITICAL -- does not block)
|
|
@@ -1048,7 +1030,7 @@ Resolve all CRITICAL failures before deployment.
|
|
|
1048
1030
|
| `/fluent-settings` | Phase 5 applies settings audit patterns | Input |
|
|
1049
1031
|
| `/fluent-scope-decompose` | Phase 8 gate 8.1 reads the task list artifact | Input |
|
|
1050
1032
|
| `/fluent-module-deploy` | Receives the READY verdict to proceed | Output |
|
|
1051
|
-
| `/fluent-workflow
|
|
1033
|
+
| `/fluent-workflow` | Receives the READY verdict for workflow-only deploys | Output |
|
|
1052
1034
|
| `/fluent-session-summary` | All gate executions are tracked for audit trail | Bidirectional |
|
|
1053
1035
|
| `/fluent-session-audit-export` | Checklist report path recorded in audit document | Output |
|
|
1054
1036
|
|
|
@@ -12,6 +12,15 @@ Configure Fluent Commerce retailer environments from empty to workflow-ready. Cr
|
|
|
12
12
|
|
|
13
13
|
## Planning Gate
|
|
14
14
|
|
|
15
|
+
### Pre-flight: Plan Verification
|
|
16
|
+
|
|
17
|
+
Before proceeding, check for an existing approved plan:
|
|
18
|
+
|
|
19
|
+
1. **Search** `accounts/<PROFILE>/plans/` for a file with `Status: APPROVED` that covers this retailer configuration
|
|
20
|
+
2. **If multi-artifact work** (retailer config + rules + workflows): STOP. Invoke `/fluent-feature-plan` first — this skill cannot be used for multi-artifact work without a feature plan
|
|
21
|
+
3. **If approved plan found:** Skip to implementation, referencing the plan's relevant sections
|
|
22
|
+
4. **If retailer-config-only work with no plan:** Continue to the Planning Gate below to write a plan for this skill
|
|
23
|
+
|
|
15
24
|
**Before creating any entities or modifying retailer configuration, write a plan using the template from `PLAN_TEMPLATE.md` in the `fluent-feature-plan` skill.**
|
|
16
25
|
|
|
17
26
|
**Retailer-config specific emphasis — ensure these are covered:**
|
|
@@ -12,6 +12,15 @@ Generate new Fluent Commerce Rubix rule classes with proper structure, annotatio
|
|
|
12
12
|
|
|
13
13
|
## Planning Gate
|
|
14
14
|
|
|
15
|
+
### Pre-flight: Plan Verification
|
|
16
|
+
|
|
17
|
+
Before proceeding, check for an existing approved plan:
|
|
18
|
+
|
|
19
|
+
1. **Search** `accounts/<PROFILE>/plans/` for a file with `Status: APPROVED` that covers this rule
|
|
20
|
+
2. **If multi-artifact work** (this rule + workflow changes + settings): STOP. Invoke `/fluent-feature-plan` first — this skill cannot be used for multi-artifact work without a feature plan
|
|
21
|
+
3. **If approved plan found:** Skip to implementation, referencing the plan's §7 (Rules) and §8 (Detailed Design) sections
|
|
22
|
+
4. **If single-rule-only work with no plan:** Continue to the Planning Gate below to write a plan for this skill
|
|
23
|
+
|
|
15
24
|
**Before scaffolding any rule, write a plan using the template from `PLAN_TEMPLATE.md` in the `fluent-feature-plan` skill.** Every table row must carry a Source column (NEW/EXISTING/MODIFIED/REUSED/OOTB). For NEW rules, provide full pseudo logic.
|
|
16
25
|
|
|
17
26
|
**If this rule is part of a larger feature** (multiple rules + workflow changes + settings), use `/fluent-feature-plan` first to produce the comprehensive plan. Then reference the approved plan during scaffolding.
|
|
@@ -20,7 +20,7 @@ Other skills own:
|
|
|
20
20
|
- Workflow editing --> `/fluent-workflow-builder`
|
|
21
21
|
- Build orchestration --> `/fluent-build`
|
|
22
22
|
- Deployment --> `/fluent-module-deploy`
|
|
23
|
-
- Session orchestration across tasks -->
|
|
23
|
+
- Session orchestration across tasks --> `fluent-dev` agent
|
|
24
24
|
|
|
25
25
|
This skill produces the plan; other skills execute it.
|
|
26
26
|
|
|
@@ -12,6 +12,16 @@ Manage Fluent Commerce settings that configure how workflow rules behave at runt
|
|
|
12
12
|
|
|
13
13
|
## Planning Gate
|
|
14
14
|
|
|
15
|
+
### Pre-flight: Plan Verification
|
|
16
|
+
|
|
17
|
+
Before proceeding, check for an existing approved plan:
|
|
18
|
+
|
|
19
|
+
1. **Search** `accounts/<PROFILE>/plans/` for a file with `Status: APPROVED` that covers these settings
|
|
20
|
+
2. **If multi-artifact work** (settings + rules + workflows): STOP. Invoke `/fluent-feature-plan` first — this skill cannot be used for multi-artifact work without a feature plan
|
|
21
|
+
3. **If approved plan found:** Skip to implementation, referencing the plan's §9 (Settings) section
|
|
22
|
+
4. **If settings-only work with no plan:** Continue to the Planning Gate below to write a plan for this skill
|
|
23
|
+
5. **Read-only operations** (audit, discover, list) are always exempt from planning
|
|
24
|
+
|
|
15
25
|
**Before creating or updating any settings, write a plan using the template from `PLAN_TEMPLATE.md` in the `fluent-feature-plan` skill.** Every setting row must carry a Source column (NEW/EXISTING/MODIFIED). Read-only operations (audit, discover, list) are exempt.
|
|
16
26
|
|
|
17
27
|
**Settings-specific emphasis — ensure these are covered:**
|
|
@@ -150,6 +150,15 @@ plugin.list (compact: true)
|
|
|
150
150
|
|
|
151
151
|
### Phase 2: Planning Gate
|
|
152
152
|
|
|
153
|
+
#### Pre-flight: Plan Verification
|
|
154
|
+
|
|
155
|
+
Before proceeding, check for an existing approved plan:
|
|
156
|
+
|
|
157
|
+
1. **Search** `accounts/<PROFILE>/plans/` for a file with `Status: APPROVED` that covers this onboarding
|
|
158
|
+
2. **If multi-artifact work** (onboarding as part of larger feature): STOP. Invoke `/fluent-feature-plan` first
|
|
159
|
+
3. **If approved plan found:** Skip to implementation, referencing the plan's relevant sections
|
|
160
|
+
4. **If source-onboard-only work with no plan:** Continue to the Planning Gate below
|
|
161
|
+
|
|
153
162
|
**MANDATORY: Present a restructuring plan before making ANY changes.** Use the template from `PLAN_TEMPLATE.md` in the `fluent-feature-plan` skill as the base structure. Every table row must carry a Source column (NEW/EXISTING/MODIFIED/REUSED/OOTB). Extend with the source-onboard-specific sections below.
|
|
154
163
|
|
|
155
164
|
Write the plan to: `accounts/<PROFILE>/plans/<YYYY-MM-DD>-source-onboard-<slug>.md`. Set `Status: PENDING`.
|