Analyze code using an LLM and natural language instead of APIs or CLI commands. The AI-powered Code Analyzer Skills is integrated with Agentforce Vibes to simplify and streamline code analysis workflows using natural language prompts.

To access Code Analyzer Skills:

  • Agentforce Vibes 1.0: On the Skills tab, enable running-code-analyzer.
  • Agentforce Vibes 2.0: Go to Toolkit > Skills, and enable running-code-analyzer.

To analyze code, open an agentic chat window and enter your prompts. Use these sample prompts to get started.

Can you run code analyzer for this project?

Skills builds the code analyzer command to run the scan

After execution, a summary of all detected violations is displayed.

Summary of violations after executing code analyzer scan

Try these prompts and analyze the results.

  • Check for ApexCRUDViolation in this project.
  • Fix only the no-var issues.
  • Run code analyzer for high severity security issues.