
Saleor Configurator
- 29 repo stars
- Updated June 15, 2026
- saleor/configurator
Configure a Saleor e-commerce backend through natural language, treating commerce setup as code via YAML and GraphQL.
About
saleor-configurator configures a Saleor e-commerce platform through natural language, applying a commerce-as-code approach with YAML and GraphQL. Developers use it to define and manage their store's configuration declaratively instead of clicking through the dashboard. It centers on backend e-commerce setup.
- Saleor configuration
- Commerce-as-code
- YAML and GraphQL
- Natural-language driven
Saleor Configurator by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add saleor/configurator/plugin install saleor-configurator@saleor-configuratorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 29 |
|---|---|
| Last updated | June 15, 2026 |
| Repository | saleor/configurator ↗ |
What it does
Configure a Saleor e-commerce backend through natural language, treating commerce setup as code via YAML and GraphQL.
README.md
Saleor Configurator Claude Plugin
AI-powered Saleor e-commerce configuration through natural language conversations.
Overview
This Claude Code plugin enables developers to configure Saleor e-commerce stores using natural language instead of manually editing YAML files. It provides:
- Guided setup wizards for creating store configurations from scratch
- Interactive editing for modifying existing configurations
- Validation and best practices checking before deployment
- Deployment safety with deletion warnings and error diagnosis
- Pre-built recipes for common store types (fashion, electronics, subscriptions)
Installation
From Marketplace (Recommended)
# In Claude Code, add the marketplace first
/plugin marketplace add saleor/configurator
# Then install the plugin
/plugin install saleor-configurator@saleor-configurator
From Official Directory
# Once approved in the official directory
/plugin install saleor-configurator@claude-plugin-directory
Manual Installation
# Clone or download the plugin
git clone https://github.com/saleor/configurator-claude-plugin.git
# Run Claude Code with the plugin directory
claude --plugin-dir ./configurator-claude-plugin/plugin
Prerequisites
- Claude Code installed (
npm install -g @anthropic-ai/claude-code) - Node.js 20+ (for MCP servers)
- Saleor instance with API token (for deployment operations)
Configuration
Credentials
The CLI auto-loads .env.local from the working directory. Create one from the template:
cp .env.example .env.local
# .env.local
SALEOR_URL="https://your-store.saleor.cloud/graphql/"
SALEOR_TOKEN="your-api-token"
Alternatively, set environment variables directly:
export SALEOR_URL="https://your-store.saleor.cloud/graphql/"
export SALEOR_TOKEN="your-api-token"
Note: The Saleor MCP server uses
SALEOR_API_URL; the CLI usesSALEOR_URL.
Non-Interactive Mode
In non-TTY environments (pipes, CI, subprocesses), the CLI automatically:
- Skips all confirmation prompts
- Outputs JSON envelope format (parseable with
jq) - Auto-saves deployment reports
Force JSON output in a terminal with --json. Force human-readable output in non-TTY with --text.
MCP Servers
The plugin bundles two MCP servers:
| Server | Purpose | Required |
|---|---|---|
| Context7 | Fetches up-to-date Saleor documentation | No (graceful fallback) |
| Saleor MCP | Queries live store data | No (optional) |
Both servers are optional - the plugin works fully without them using embedded knowledge.
CLI Invocation
Both npx configurator and pnpm dlx @saleor/configurator work interchangeably. Customer-facing examples use the shorter npx configurator form.
Commands
| Command | Description |
|---|---|
/configurator |
Core operations - init, validate, edit, review your config.yml |
/configurator-fix |
Debug & auto-fix - find and fix common config issues with plain language explanations |
/recipe |
Quick start - apply pre-built store recipes (fashion, electronics, food, etc.) |
/discover |
Website → config - explore existing website with chrome-devtools to generate config |
/configurator-model |
Product modeling wizard - design ProductTypes and attributes interactively |
/configurator-import |
Data import - import products from CSV, Excel, or Shopify exports |
Getting Started Workflows
Starting from scratch?
/recipe fashion # Apply pre-built fashion store recipe
/recipe electronics # Or electronics, food, subscription, etc.
Have an existing website?
/discover # Explore website with chrome-devtools → generate config
Need to configure from Saleor instance?
/discover --introspect --url=$SALEOR_URL --token=$SALEOR_TOKEN
Working with existing config.yml?
/configurator-fix # Debug & auto-fix issues
/configurator validate # Check for issues
/configurator edit # Make changes
/configurator review # Comprehensive review
Domain Modeling
New to Saleor domain modeling? Use /configurator-model or ask questions like:
- "How do I model my products?"
- "What should be a product vs variant attribute?"
- "When to use DROPDOWN vs MULTISELECT?"
The product-modeling skill provides comprehensive guidance for:
- Product vs variant attribute classification
- Attribute type selection (12 types)
- Variant matrix calculations (SKU explosion prevention)
- Categories vs Collections decision tree
- 10+ industry-specific patterns
Skills
Skills provide embedded knowledge that Claude uses automatically:
| Skill | Triggers On |
|---|---|
| configurator-cli | CLI commands, deploy, introspect, diff |
| configurator-schema | config.yml structure, entity schemas |
| saleor-domain | Saleor entities, relationships, GraphQL |
| configurator-recipes | Store templates, pre-built configs |
| data-importer | Import workflows, field mapping, CSV/Excel handling |
| product-modeling | "how do I model?", product vs variant attributes, attribute types |
Agents
| Agent | Purpose | Color |
|---|---|---|
| config-review | Analyzes config.yml for issues with confidence scoring | Blue |
| troubleshoot | Diagnoses deployment failures and suggests fixes | Red |
| store-analyzer | Analyzes existing stores to suggest configurations | Yellow |
| csv-importer | Imports generic tabular data with interactive mapping | Cyan |
| shopify-importer | Specialized Shopify export import with variant grouping | Green |
| configurator-expert | Autonomous deploy/sync/debug workflow (validate → diff → plan → deploy) | Blue |
Agent model selection: All agents use
model: sonnetfor cost-effective focused task execution. For complex multi-step workflows, the orchestrating Claude instance provides the reasoning while agents handle specific subtasks.
When to Use Each Agent
| Scenario | Primary Agent | Also Consider |
|---|---|---|
| Before first deployment | config-review | store-analyzer (if has existing store) |
| Deployment failed | troubleshoot | - |
| Import from CSV/Excel | csv-importer | - |
| Import from Shopify | shopify-importer | - |
| Analyze existing Saleor store | store-analyzer | - |
| After /recipe | config-review | (proactive) |
| After /configurator-import | config-review | (proactive) |
Proactive Agent Invocation
Some agents are designed to be invoked automatically:
- config-review: Automatically runs after
/configurator edit,/recipe, or/configurator-importcomplete - troubleshoot: Automatically runs when any CLI command fails
- store-analyzer: Suggested before setup when user mentions existing store data
Schema Validation
The plugin includes a JSON Schema for config.yml validation:
- Location:
schemas/config.schema.json - Usage: IDE autocomplete, pre-commit validation, error messages
- Coverage: All entity types (channels, products, categories, etc.)
Validate from CLI
# Validate config.yml against the schema (from plugin directory)
./scripts/validate-config.sh
# Validate a specific file
./scripts/validate-config.sh myconfig.yml --verbose
Requires Python with pyyaml and jsonschema:
pip install pyyaml jsonschema
Quick Start
1. Choose Your Workflow
Option A: Quick Start with Recipe
/recipe fashion # Apply pre-built recipe and customize
Option B: Generate from Website
/discover https://yoursite.com # Explore and generate config
Option C: Start from Scratch
/configurator init # Create empty config.yml
2. Customize Your Configuration
/configurator edit # Interactive menu for changes
# Or use natural language:
"Add a new product type for gift cards"
3. Validate & Review
/configurator validate # Check for issues
/configurator review # Comprehensive review with agent
4. Deploy to Saleor
# Preview changes first
npx configurator diff --url=$SALEOR_URL --token=$SALEOR_TOKEN
# Deploy
npx configurator deploy --url=$SALEOR_URL --token=$SALEOR_TOKEN
Best Practices
The plugin provides intelligent guidance throughout your workflow:
Automatic Validation:
- YAML syntax checking
- Schema compliance validation
- Reference integrity checks
- Best practice suggestions
Agent Assistance:
- Proactive review after config generation
- Automatic troubleshooting on deployment failures
- Smart attribute classification during discovery
- Dependency warnings during edits
Safety Features:
- Plan preview before deployment
- Deletion warnings
- Backup suggestions for destructive operations
- Configuration validation gates
Documentation
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Saleor Community: Discord
User Settings
For project-specific configuration, copy the settings template:
cp plugin/.claude/saleor-configurator.local.md.template .claude/saleor-configurator.local.md
This file supports:
- Saleor credentials (kept local, gitignored)
- Default behavior settings
- Preferred channels and warehouses
- Project notes
Plugin Validation
Validate the plugin structure:
./plugin/scripts/validate-plugin.sh
Portable Skills
The domain knowledge from this plugin's skills is also available as portable skills usable by any AI coding tool (Codex, Cursor, Copilot, Gemini CLI, etc.):
npx skills add saleor/configurator
Portable skills live in the top-level skills/ directory. They contain the same technical content without Claude Code-specific frontmatter (allowed-tools, compatibility). The plugin adds agents, commands, hooks, and MCP integrations on top.
License
MIT License - see LICENSE for details.