syke
v1.5.4AI code impact analysis — dependency graphs, cascade detection, and build gates for AI agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gate_build
MANDATORY: Call this BEFORE any build, deploy, or test command. Returns PASS, WARN, or FAIL verdict with detailed reasons. If FAIL, do NOT proceed with build — fix issues first. Always call this as the final check before any compilation or deployment.
| Parameter | Type | Description |
|---|---|---|
files | array | Optional list of modified files (absolute or relative to source directory) |
analyze_impact
[PRO] Analyze which files are impacted when a given file is modified. Returns direct and transitive dependents with risk level.
| Parameter | Type | Description |
|---|---|---|
file * | string | Source file path (absolute or relative to source directory). Example: "features/auth/data/auth_repository.dart" |
check_safe
Quick safety check for modifying a file. Returns a one-line verdict: HIGH/MEDIUM/LOW/NONE risk with impacted file count.
| Parameter | Type | Description |
|---|---|---|
file * | string | Source file path to check |
get_dependencies
List the internal files that a given file imports (forward dependencies).
| Parameter | Type | Description |
|---|---|---|
file * | string | Source file path |
get_hub_files
[PRO] Rank files by how many other files depend on them (PageRank). High-hub files are risky to modify.
| Parameter | Type | Description |
|---|---|---|
top_n | number | Number of top files to return (default 10) |
refresh_graph
[PRO] Re-scan all source files and rebuild the dependency graph. Use after adding/removing files.
ai_analyze
[PRO] Use AI (Gemini/OpenAI/Claude) to perform semantic analysis on a file. Reads the file's source code and its dependents to explain what might break when modified and how to safely make changes.
| Parameter | Type | Description |
|---|---|---|
file * | string | Source file path to analyze with AI |
check_warnings
[PRO] Check for unresolved warnings from SYKE's real-time monitoring. Returns warnings about file changes that may have broken dependents. Use this AFTER modifying files to see if SYKE caught any issues you may have missed. Pass acknowledge=true to clear warnings after reading them.
| Parameter | Type | Description |
|---|---|---|
acknowledge | boolean | If true, mark all warnings as acknowledged after returning them (default: false) |