/orocommerce-skills:oro-integrationfrom orocommerce-skills
Use when building OroCommerce v6.1 integrations — creating import/export processors, setting up message queue consumers/producers, building integration channels and transports, configuring cron jobs, handling webhooks, or connecting Oro to external systems (ERP, PIM, payment, shipping). Relevant when the user mentions 'import', 'export', 'message queue', 'consumer', 'producer', 'integration channel', 'connector', 'cron job', 'webhook', 'async processing', or any OroCommerce integration task.
Ships in orocommerce-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
OroCommerce uses message queues to defer heavy work outside the HTTP request cycle. Producers send messages to topics, consumers process them asynchronously.
A processor implements MessageProcessorInterface and TopicSubscriberInterface. It must return self::ACK (success), self::REJECT (discard), or self::REQUEUE (retry). Never return void or null.
use Oro\Component\MessageQueue\Client\TopicSubscriberInterface;
use Oro\Component\MessageQueue\Consumption\MessageProcessorInterface;
class ProcessDocumentProcessor implements MessageProcessorInterface, TopicSubscriberInterface
{
#[\Override]
public function process(MessageInterface $message, SessionInterface $session): string
{
$data = json_decode($message->getBody(), true);
// Process data...
return self::ACK;
}
#[\Override]
public static function getSubscribedTopics(): array
{
return ['acme_demo.document.process'];
}
}
Register with the oro.message_queue.client.message_processor tag:
services:
acme_demo.async.process_document:
class: Acme\Bundle\DemoBundle\Async\Processor\ProcessDocumentProcessor
arguments: ['@logger']
tags:
- { name: 'oro.message_queue.client.message_processor' }
For the full processor example, producer pattern, and message sending, see integration-patterns.md.
Oro's import/export uses a pipeline: Reader -> Processor -> Writer. Each processor handles one item at a time.
Most custom import/export needs only a DataConverter and service config — no custom processor class. Use oro_importexport.processor.export_abstract / oro_importexport.processor.import_abstract as parent services.
Import processors need both import and import_validation tags. Tag attributes: type, entity (FQCN), alias (unique identifier).
For complete DataConverter example, service registration YAML, custom processor class, and import strategy setup, see integration-patterns.md.
Create a command implementing CronCommandInterface:
use Oro\Bundle\CronBundle\Command\CronCommandInterface;
use Symfony\Component\Console\Attribute\AsCommand;
#[AsCommand(name: 'acme:cron:sync-documents')]
class SyncDocumentsCronCommand extends Command implements CronCommandInterface
{
#[\Override]
public function getDefaultDefinition(): string { return '0 */4 * * *'; }
#[\Override]
public function isActive(): bool { return true; }
#[\Override]
protected function execute(InputInterface $input, OutputInterface $output): int
{
// Perform sync work
return Command::SUCCESS;
}
}
Schedule format is standard Linux cron: minute hour dayOfMonth month dayOfWeek.
Processor return values: Processors MUST return self::ACK, self::REJECT, or self::REQUEUE. Returning void or null causes messages to loop indefinitely.
DBAL polling: DBAL transport polls every second. Use AMQP (RabbitMQ) for production workloads.
Message serialization: Message bodies are JSON strings. Always json_decode() on receipt and json_encode() before sending.
For integration channels, transports, webhooks, common commands, and additional pitfalls, see integration-patterns.md.
For version-specific details, see v6.1 notes.
See also message-queue-config.md for MQ configuration options.
What SKILL.md sets; muted values are Claude Code's defaults
orocommerce@netresearch-claude-code-marketplace is listed by netresearch/claude-code-marketplace — review the source before installing
npx claudepluginhub netresearch/claude-code-marketplace --plugin orocommerce14 skills in this plugin
/oro-apiUse when exposing OroCommerce v6.1 entities via REST API, configuring api.yml or api_frontend.yml, creating custom API processors, setting up filters/sorters/subresources, or working with JSON:API endpoints. Relevant when the user mentions 'API endpoint', 'expose entity via API', 'api.yml', 'REST API', 'JSON:API', 'storefront API', or 'API processor'./oro-behat-ciUse when running Oro Commerce 6.1 Behat tests in CI/CD — Jenkins (Oro's canonical platform), GitLab CI (community territory per oroinc/platform#954), or any Docker pipeline. Covers compose fanout, headless Chrome, the formatter combo, consumer parallelisation maths, artifacts and init-image state transfer. Also on sight of .gitlab-ci.yml, Jenkinsfile, compose behat stages, compose-common.yaml. Triggers on 'behat ci', 'gitlab ci oro', 'jenkins oro', 'parallel behat', 'chrome headless', 'init-test image', 'behat hang'./oro-behat-debugging