labsai/eddi/eddi-data
Claude Code and agent skill by labsai/eddi
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
EDDI Manager's data and plumbing conventions — routing, TanStack Query hooks, ApiClient, i18n propagation, MSW mocks and tests. Load when wiring a screen to real data or adding a route.
Install
npx vskill@latest install labsai/eddi/eddi-dataSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as labsai/eddi/eddi-data.
EDDI Manager data & plumbing
AGENTS.md is the authority; this is the working summary for building a screen.
Routing
React Router v7 under a data router (createAppRouter() in src/app-router.tsx, needed for useBlocker): one catch-all route renders <App />, which declares the real table with <Routes> in src/app.tsx. Pages render through AppLayout's <SuspendedOutlet />; add a page with lazyPage() and its label in src/lib/route-registry.ts (AGENTS.md §3, 4b and 5). Resource detail routes carry the version as a query param: /manage/channels/:id?version=2. src/__tests__/route-integrity.test.ts asserts every nav target resolves — add the route and the sidebar entry together.
Server state — TanStack Query v5
One hook file per domain in src/hooks/ (use-channels.ts, use-agents.ts, …). Pages never call the API directly:
Filtering/search is client-side useMemo over the query result when the list is small — that is the existing pattern, not a server round-trip per keystroke.
API calls
Use ApiClient (src/lib/api-client.ts) for ordinary JSON — it injects the Keycloak auth header. Base URL is always window.location.origin; never hardcode. Raw fetch is only justified for SSE, binary/blob and text/plain bodies, and must spread api.getAuthHeader() itself — a missing header is a 401 that only shows up once OIDC is on. secrets.ts uses raw fetch for historical reasons; it is debt, not a pattern to copy.
UI state
Zustand for cross-component UI stores (chat, debug events, drawers, command palette, onboarding); useState/useCallback everywhere else. No Redux.
i18n — blocking requirement
Every string: t("namespace.key", "English fallback"). Add the key to src/i18n/locales/en.json, then propagate translations to all 10 other locales (de, fr, es, ar, zh, th, ja, ko, pt, hi) in the same commit. Each editor gets its own namespace (llmEditor.*, rulesEditor.*). Because Arabic ships, every layout must use logical properties.
Tests
- Unit: Vitest + RTL in
__tests__/directories beside the code (pages in
src/pages/__tests__/). Render through renderPage(path, element, routePattern?, client?) from src/test/test-utils.tsx — it wraps MemoryRouter + QueryClient + ThemeProvider. Assert on data-testid.
- Mocks: MSW handlers in
src/test/mocks/handlers.ts. Specific GET handlers must be
registered before the generic createResourceHandlers block. Mock data should match the backend Java model.
- E2E: Playwright in
e2e/— includingrtl.spec.tsandtheme.spec.ts, so a new screen
must survive both Arabic and dark mode.
Gates before you call it done
What CI's UI Manager Checks runs — there is no pre-commit hook, so run them yourself:
Use npm run typecheck (tsc -b), never tsc --noEmit — tsconfig.json is a solution file ("files": [] plus project references), so --noEmit resolves zero inputs and exits 0 without checking anything. Never commit to main; branch first. Record the change in a root docs/changelog.d/ fragment, not in HANDOFF.md.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingui/manager/.claude/skills/eddi-data/SKILL.md
Popularity
- Repository stars
- 382
- Repository forks
- 128
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/labsai/eddi/eddi-data)