From shopware-admin
Eigene API-Requests im Shopware-6-Admin: httpClient/ApiService, eigenen ApiService registrieren, gegen eigene Admin-API-Route (api/_action) sprechen, Auth-Header. Trigger: "Admin API request", "httpClient admin", "ApiService", "api/_action admin", "eigener ApiService", "custom endpoint admin call". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-admin:sw-admin-api-requestsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Für Nicht-CRUD-Aufrufe (eigene Aktionen) einen `ApiService` registrieren bzw. den `httpClient` nutzen.
Für Nicht-CRUD-Aufrufe (eigene Aktionen) einen ApiService registrieren bzw. den httpClient nutzen.
const { Application } = Shopware;
class FfExampleApiService extends Shopware.Classes.ApiService {
constructor(httpClient, loginService, apiEndpoint = 'ff-example') { super(httpClient, loginService, apiEndpoint); }
triggerImport(id) {
return this.httpClient
.post(`/_action/ff-example/${id}/import`, {}, { headers: this.getBasicHeaders() })
.then(r => Shopware.Classes.ApiService.handleResponse(r));
}
}
Application.addServiceProvider('ffExampleApiService', (container) =>
new FfExampleApiService(Shopware.Application.getContainer('init').httpClient, container.loginService));
Server-seitig dazu eine Admin-API-Route api/_action/... (shopware-framework → sw-admin-api-controller).
Für reine Entity-CRUD das Repository nutzen (sw-admin-data-handling). Eigene Services allgemein: sw-admin-services.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-admin