Codebase Context from Wiki
This skill queries cubic's AI-generated wiki to provide architectural context about the codebase.
When to Activate
- •User asks how a system or feature works
- •User is onboarding to a new codebase
- •User needs to understand how components connect
- •User asks about architecture, data flow, or system design
- •User is making changes that span multiple modules and needs context
How to Use
- •Detect the current repository from git remote:
git remote get-url origin - •Call
list_wiki_pageswith the owner and repo to discover available documentation - •Find wiki pages relevant to the user's question by matching page titles and descriptions
- •Call
get_wiki_pagefor the most relevant pages - •Synthesize the wiki content into a focused answer for the user's specific question
Presentation
- •Summarize the relevant wiki content, don't dump the entire page
- •Reference specific wiki pages so the user can explore further
- •Connect wiki knowledge to the specific files or modules the user is working with
- •If no wiki exists for this repo, suggest the user set one up in the cubic dashboard