From cubic
Queries cubic's AI-generated wiki to provide architectural context about the codebase. Answers questions about how systems work, how components connect, and codebase design. Use when the user asks about architecture, system design, onboarding, or "how does X work".
How this skill is triggered — by the user, by Claude, or both
Slash command
/cubic:codebase-contextThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query cubic's AI-generated wiki to answer questions about codebase architecture and design.
Query cubic's AI-generated wiki to answer questions about codebase architecture and design.
git remote get-url origin
Extract the owner and repo name from the remote URL.
Call list_wiki_pages with the owner and repo. Match page titles and descriptions to the user's question.
Call get_wiki_page for the most relevant pages (1–3 pages max).
Combine wiki content into a focused answer for the user's specific question. Connect wiki knowledge to the specific files or modules the user is working with.
Summarize the relevant wiki content — don't dump entire pages. Reference specific wiki pages so the user can explore further.
Based on the cubic wiki for this repo:
**Authentication Flow**
The auth system uses JWT tokens with refresh rotation. Login requests hit
`src/auth/login.ts` which validates credentials against the user store,
then issues a token pair via `src/auth/tokens.ts`.
-> Wiki: "Authentication Architecture" · "Token Lifecycle"
**Related files:** src/auth/login.ts, src/auth/tokens.ts, src/middleware/auth.ts
If no wiki exists for this repo, suggest the user set one up in the cubic dashboard.
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub mrge-io/skills --plugin cubic