Skip to content
Back to skills

Commerce Engine Setup

ASecurity

Set up and run the StateSet iCommerce engine locally (CLI install, DB init, demo data, sync). Use when bootstrapping an environment, running `stateset-doctor`, or starting `stateset-autonomous`.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsbashsqldockerdatabase

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill commerce-engine-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commerce Engine Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commerce Engine Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-commerce-engine-setup/badge)](https://www.skillsdirectory.com/skills/majiayu000-commerce-engine-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commerce-engine-setup
description: Set up and run the StateSet iCommerce engine locally (CLI install, DB init, demo data, sync). Use when bootstrapping an environment, running `stateset-doctor`, or starting `stateset-autonomous`.
---

# Commerce Engine Setup

Set up local iCommerce runtime, CLI tooling, and optional sync.

## How It Works

1. Install or link the CLI and choose a SQLite database path.
2. Initialize sync and keys if you need sequencer replication.
3. Seed demo data and verify the environment.
4. Start CLI commands or the autonomous engine.

## Usage

- Install CLI locally: `cd /home/dom/stateset-icommerce/cli && npm install && npm link`
- Use `stateset --db ./store.db "list customers"` for read-only actions.
- Add `--apply` for writes and `stateset-doctor` for checks.
- Seed demo data: `bash /mnt/skills/user/commerce-engine-setup/scripts/seed-demo.sh`
- Verify setup: `bash /mnt/skills/user/commerce-engine-setup/scripts/verify-setup.sh`
- Start autonomous mode: `stateset-autonomous start --db ./.stateset/commerce.db`

## Output

```json
{"status":"ok","db":"./store.db","sync":"disabled","autonomous":"stopped"}
```

## Present Results to User

- Steps completed and any scripts run.
- Database path and whether sync is initialized.
- Autonomous engine status if started.

## Troubleshooting

- CLI not found: re-run `npm link` or install `@stateset/cli` globally.
- Database locked: close other processes using the DB file.
- Sequencer unreachable: verify Docker services and URLs.

## References
- references/setup-runbook.md
- /home/dom/stateset-icommerce/examples/README.md
- /home/dom/stateset-icommerce/examples/getting-started-sync.md
- /home/dom/stateset-icommerce/cli/README.md
- /home/dom/stateset-icommerce/cli/bin/stateset-autonomous.js

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.