.claude/skills/backend-ai-guide/SKILL.md
--- name: backend-ai-guide description: | Expert guide for Backend.AI distributed computing platform. Automatically activates when users ask about: - Backend.AI architecture, components (Manager, Agent, Storage Proxy, Webserver, App Proxy) - Features (session scheduling, Sokovan orchestrator, multi-tenancy, resource allocation) - APIs (REST, GraphQL), authentication, RBAC authorization - Container runtime (kernels, jail sandbox, hook library, virtual folders) - Accelerator support
npx skillsauth add lablup/backend.ai-webui .claude/skills/backend-ai-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides expert-level information about the Backend.AI platform by:
Activate this skill when the user asks about:
Main README: https://github.com/lablup/backend.ai/blob/main/README.md
Major Component READMEs: Follow links from the Major Components section
Recursive Link Following: When a component README references additional documentation, follow those links to gather comprehensive information
src/ai/backend/manager/README.mdsrc/ai/backend/agent/README.mdsrc/ai/backend/storage/README.mdsrc/ai/backend/web/README.mdsrc/ai/backend/appproxy/README.mdAlways Cite Sources
Stay Current
Explain Component Interactions
Be Precise with Technical Details
Limit Recursion Depth
Architecture Questions
Component Questions
Integration Questions
Setup Questions
Structure answers as follows:
## [Direct Answer to Question]
[Concise, direct answer based on official documentation]
## Details
[Supporting information from fetched documentation]
### Component Interactions (if applicable)
[How different components work together]
## Technical Specifications (if applicable)
- Requirements: [versions, dependencies]
- Configuration: [relevant settings]
- APIs: [REST/GraphQL endpoints]
## Source Documentation
- Main: [URL to main README]
- Component: [URLs to component READMEs]
- Additional: [URLs to other relevant docs]
development
Find WebUI dev server address and Backend.AI API endpoint/credentials for testing. Trigger on: "which server", "connection info", "login credentials", "dev server URL", "API endpoint", "where to connect", "how to login", "test server", or when needing to interact with the running WebUI (screenshots, live checks, E2E).
tools
GraphQL/Relay integration patterns for Backend.AI WebUI React components. Covers useLazyLoadQuery, useFragment, useRefetchableFragment, fragment architecture (query orchestrator + fragment component), naming conventions, modern directives (@required, @alias), client directives (@since, @deprecatedSince, @skipOnClient), and query optimization.
data-ai
Create Relay-based infinite scroll select components extending BAISelect. Supports name-based values (usePaginationFragment) and id-based values (useLazyLoadQuery + useLazyPaginatedQuery) with search, optimistic updates, and multiple selection modes.
development
# record-e2e-gif Skill Record Playwright e2e tests as GIF animations, one GIF per test case. ## Prerequisites - `ffmpeg` must be installed (`/opt/homebrew/bin/ffmpeg` on macOS) - Playwright dev server must be running. The endpoint is read from `e2e/envs/.env.playwright` (`E2E_WEBUI_ENDPOINT`). Do NOT hardcode the port — it varies per environment. ## How It Works 1. Run specified Playwright tests with `--video=on` (Playwright saves `.webm` per test in `test-results/`) 2. For each `.webm` fil