--- name: ipal-plugin-gap description: Handles the moment when @intecion/ipal-kit seems to lack a feature or behaves wrongly — verifies against the plugin docs and type definitions first, then writes a structured report for the plugin instead of patching the project with hooks, hardcoded values or copied plugin code. Use when tempted to work around the plugin, when a plugin function errors or is missing, or when the same need appears in several projects. --- # ipal-plugin-gap Reguła: AGENT.md §1.3 — **nie łataj w projekcie**. ## 1. Sprawdź, czy plugin tego nie ma - `ls node_modules/@intecion/ipal-kit/docs/` — przeczytaj plik modułu, - `grep -rn "" node_modules/@intecion/ipal-kit/dist --include=*.d.ts`, - sprawdź wersję: `grep '"version"' node_modules/@intecion/ipal-kit/package.json` (może problem jest naprawiony w nowszej — skill **ipal-upgrade**). Plugin to ma → użyj go i powiedz użytkownikowi, gdzie to było. ## 2. Raport (gdy naprawdę brakuje albo nie działa) Zapisz w `docs/plugin-requests/-.md` projektu i pokaż użytkownikowi: ```markdown # **Projekt:** · **ipal-kit:** ## Problem ## Dlaczego to do pluginu ## Proponowane API ## Obejście tymczasowe (jeśli konieczne) ``` ## 3. Czego nie robić - hooka z zaszytą domeną/nazwą/kolorem klienta, - kopii komponentu pluginu do projektu (np. `Analytics`, `CookieBanner`), - `as any` / `@ts-ignore` żeby „przeszło”, - dynamicznego `import()` przez zmienną (nie wbundluje się).