From shopware-storefront
Cookies & Cookie-Consent im Shopware-6-Storefront: Cookie zur Cookie-Konfiguration hinzufügen via CookieProviderInterface (Decorator), auf Consent-Änderungen reagieren. Trigger: "Cookie Consent", "CookieProvider", "Cookie hinzufügen storefront", "cookie configuration", "cookie group", "consent changed storefront". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-storefront:sw-cookie-managerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Eigene Cookies in die Consent-Verwaltung aufnehmen, indem der `CookieProviderInterface` dekoriert wird (`sw-service-decoration`).
Eigene Cookies in die Consent-Verwaltung aufnehmen, indem der CookieProviderInterface dekoriert wird (sw-service-decoration).
class FfCookieProvider implements CookieProviderInterface
{
public function __construct(private readonly CookieProviderInterface $inner) {}
public function getCookieGroups(): array
{
$groups = $this->inner->getCookieGroups();
$groups[] = ['snippet_name' => 'ff.cookie.group', 'entries' => [
['snippet_name' => 'ff.cookie.tracking', 'cookie' => 'ff-tracking', 'value' => '1', 'expiration' => '30'],
]];
return $groups;
}
}
JS-seitig auf Consent reagieren: document.$emitter.subscribe('CookieConfiguration_Update', cb) bzw. Cookie erst
nach Zustimmung setzen. Nur funktionale Cookies ohne Consent.
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-storefrontCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.