Generate the Knowledge Base

Create the .aspect/ folder and instruction files.

First-time generation

Click the orange + button in the panel to generate the knowledge base for the first time.


This process:

  • Scans your workspace for supported files (Python, TypeScript, JavaScript, Java, C#)
  • Analyzes file dependencies and architecture
  • Creates the .aspect/ folder with KB files
  • Prompts you to configure AI assistants
  • Generates instruction files for your selected assistants
  • Regenerating the KB

    The knowledge base can be regenerated:

  • Automatically — Based on your aspectcode.autoRegenerateKb setting (on save, on idle, or off)
  • Manually — Click the refresh button in the panel or run "Aspect Code: Scan Workspace"

  • Use "Aspect Code: Force Reindex (Clear Cache)" to clear cached analysis and rescan from scratch.