Skip to main content

vulkro-sf ctx

The same code-reading server as vulkro ctx, for an SFDX project, for any AI coding agent that can run a shell command.

vulkro-sf ctx read FILE # a class whole, or its outline when it is large
vulkro-sf ctx read FILE:NAME # one method (FILE:Class.method works)
vulkro-sf ctx search NAME # every definition, call and use
vulkro-sf ctx body NAME # an Apex method and the lines that call it
vulkro-sf ctx impact NAME # what depends on it, and the test classes to run
vulkro-sf ctx check # after an edit: what it broke
vulkro-sf ctx init # tell your project's agents to use these

search, body, impact and map read the Apex call graph, so a call such as AccountService.closeAccount(id) is tied to its method, and test classes (AccountServiceTest, Account_Test) are listed as the tests to run.

vulkro-sf ctx check reports call sites still passing the old arguments to a method whose parameters changed, removed methods still used, syntax errors on changed lines, and Salesforce findings, such as CRUD and FLS, on the lines you changed. vulkro-sf init --pre-commit runs it on every commit; it warns by default, and --block-on-ctx-check stops the commit. MCP clients get sf_read_code and sf_check_change.