Commands

All available Aspect Code commands.

Command overview

All commands are available from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P). Search for "Aspect Code".

Knowledge Base commands

CommandDescription
Aspect Code: Scan WorkspaceAnalyze the entire workspace
Aspect Code: Scan Active FileAnalyze only the currently open file
Aspect Code: Force Reindex (Clear Cache)Clear cached analysis and rescan from scratch
Aspect Code: Generate Instruction FilesCreate instruction files for configured AI assistants

Configuration commands

CommandDescription
Aspect Code: Configure AI AssistantsChoose which AI assistants to generate files for
Aspect Code: Configure Rule CategoriesSelect which rule types to include
Aspect Code: Edit Custom InstructionsAdd project-specific instructions in .aspect/instructions.md
Aspect Code: Enable Safe ModeSwitch to conservative instruction generation
Aspect Code: Enable Permissive ModeSwitch to shorter, less restrictive instructions

Utility commands

CommandDescription
Aspect Code: Show PanelOpen the Aspect Code panel
Aspect Code: Toggle EnabledEnable or disable the extension
Aspect Code: Copy KB Receipt PromptCopy the knowledge base context to clipboard
Aspect Code: Copy Impact Analysis for Current FileCopy impact analysis for the active file
Aspect Code: Stop ignoring generated filesRemove generated files from .gitignore
Aspect Code: Copy Debug InfoCopy diagnostic information for troubleshooting
Aspect Code: ExamineDeep examination of a specific file or symbol
Aspect Code: Insert Suppression CommentAdd a comment to suppress a finding

API key commands

CommandDescription
Aspect Code: Enter API KeyEnter your API key for premium features
Aspect Code: Clear API KeyRemove stored API key