AI Context Selection
Select specific source files from your repository to give Vibe AI richer, targeted context during sprint planning conversations.
How it works
- Open the Code tab on your project
- Check the boxes next to files you want to include as context
- The toolbar shows how many files are selected
- Click Use in Vibe Chat to store your selection
- Navigate to a sprint and open Vibe Chat — your selected files are automatically included
When files are selected as context, Vibe receives the full source code of those files in the system prompt. This means Vibe can reference specific functions, classes, and patterns from your actual code when generating stories, suggesting implementations, or answering questions.
Limits
- Up to 10 files can be selected at a time
- Each file is limited to 100 KB of content
- Files that can't be fetched (deleted, moved, or access revoked) are silently skipped
When to use this
AI Context Selection is most useful when:
- Planning a feature that touches specific files — select those files so Vibe understands the existing code
- Refactoring — select the files you plan to change so Vibe can suggest specific improvements
- Debugging — select the relevant source files so Vibe can analyze the code when you describe an issue
Context vs. Codebase Profile
The Codebase Profile (Context tab) provides a high-level summary of your entire repository. AI Context Selection provides full source code for specific files. They complement each other — the profile gives Vibe the big picture, while selected files give detailed implementation context.