/orocommerce-skills:oro-bundlefrom orocommerce-skills
Use when creating a new OroCommerce v6.1 bundle, registering bundles, setting up DependencyInjection extensions, configuring services.yml, adding translations, navigation menus, or system configuration. Also relevant for bundle-level boilerplate like compiler passes, event subscriber registration, and console commands. Also applies to 'create a bundle', 'scaffold', or 'new Oro module'.
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.
src/Acme/Bundle/DemoBundle/
├── AcmeDemoBundle.php
├── DependencyInjection/
│ └── AcmeDemoExtension.php
├── Resources/
│ ├── config/
│ │ ├── oro/
│ │ │ ├── bundles.yml
│ │ │ ├── navigation.yml
│ │ │ └── system_configuration.yml
│ │ └── services.yml
│ ├── translations/
│ │ └── messages.en.yml
│ └── views/
├── Entity/
├── EventListener/
├── Command/
└── Migrations/
└── Data/
└── ORM/
<?php
namespace Acme\Bundle\DemoBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AcmeDemoBundle extends Bundle
{
public function getPath(): string
{
return __DIR__;
}
}
The getPath() method in v6.1 replaces legacy container-relative path logic, enabling the kernel to locate bundle resources automatically.
<?php
namespace Acme\Bundle\DemoBundle\DependencyInjection;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader;
class AcmeDemoExtension extends Extension
{
#[\Override]
public function load(array $configs, ContainerBuilder $container): void
{
$loader = new Loader\YamlFileLoader(
$container,
new FileLocator(__DIR__ . '/../Resources/config')
);
$loader->load('services.yml');
}
#[\Override]
public function getAlias(): string
{
return 'acme_demo';
}
}
Use #[\Override] attributes (standard in v6.1) — they catch method signature mismatches at compile time.
Register in Resources/config/oro/bundles.yml:
bundles:
- { name: Acme\Bundle\DemoBundle\AcmeDemoBundle }
Priority: Lower loads first. Omit priority (defaults to 0) for custom bundles unless you need to override config from a specific Oro bundle.
services:
acme_demo.my_service:
class: Acme\Bundle\DemoBundle\Service\MyService
public: false
acme_demo.event_listener.my_listener:
class: Acme\Bundle\DemoBundle\EventListener\MyListener
tags:
- { name: kernel.event_listener, event: kernel.request, method: onRequest }
arguments:
- '@logger'
Tags trigger compiler passes that register listeners, commands, and API endpoints. Verify with debug:container acme_demo.
See bundle-patterns.md for service decoration, compiler passes, event listeners, navigation menus, system configuration, and translations.
php bin/console cache:clear
php bin/console debug:container acme_demo # Verify services registered
Cache clear is critical — changes to bundles.yml, services.yml, or navigation.yml take effect only after clearing.
cache:clear runs. This is the most common "it doesn't work" cause.acme_demo for AcmeDemoBundle). A mismatch silently skips your services.yml loading.bundles.yml, lower priority loads first (opposite of processor priority). Most custom bundles should omit priority entirely.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