From shopware-testing
Admin-API-Tests in Shopware 6: AdminApiTestBehaviour, getBrowser (authentifizierter Admin-Client), Requests gegen /api, ACL-Fälle. Trigger: "Admin API Test", "AdminApiTestBehaviour", "getBrowser admin test", "api/_action test", "authenticated api test shopware". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-testing:sw-admin-api-testThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Testet Admin-API-Endpunkte mit authentifiziertem Client (`AdminApiTestBehaviour`/`getBrowser`).
Testet Admin-API-Endpunkte mit authentifiziertem Client (AdminApiTestBehaviour/getBrowser).
use IntegrationTestBehaviour, AdminApiTestBehaviour;
public function testAction(): void
{
$this->getBrowser()->request('POST', '/api/_action/ff/import/' . $id);
static::assertSame(200, $this->getBrowser()->getResponse()->getStatusCode());
}
Der Browser hält ein gültiges Bearer-Token. ACL-/Berechtigungsfälle gezielt testen (eigener Integration-User mit
eingeschränkten Rechten). Eigene Endpunkte/ACL: shopware-framework (sw-admin-api-controller/sw-api-acl).
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-testingProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.