com um clique
source-code-inspection
// Investigate application or repository source code with search_file and read_file to explain behavior, trace root causes of runtime or query errors, and answer with precise file citations.
// Investigate application or repository source code with search_file and read_file to explain behavior, trace root causes of runtime or query errors, and answer with precise file citations.
Optimize slow queries, analyze SQL performance, and collect evidence for expensive workloads.
Diagnose ClickHouse cluster health and provide concrete remediation.
Diagnose ClickHouse runtime query failures when the user wants database-level cause and fix guidance from an error or numeric error code, not source-code root cause analysis.
Query ClickHouse system tables to inspect query logs, monitor cluster health, check replication status, and analyze slow queries. Use when the user mentions "system tables", "query_log", "ClickHouse monitoring", "cluster status", "slow queries", or asks to diagnose ClickHouse operational issues.
Expert system for generating, validating, and optimizing ClickHouse SQL. Use this when the user needs data, queries, or analysis.
Rules for charts and visualization. Use when the user asks for charts, graphs, plots, or visual representations (line, bar, pie, timeseries).
| name | source-code-inspection |
| description | Investigate application or repository source code with search_file and read_file to explain behavior, trace root causes of runtime or query errors, and answer with precise file citations. |
| metadata | {"author":"DataStoria","tools":"search_file, read_file"} |
Use this skill when the user wants to:
UNKNOWN_TABLEsearch_file first to locate relevant files and line numbers before reading content.read_file only for targeted sections; do not read entire files or large ranges.no matches found, refine the search and retry before giving up.Always use this exact format for source-file citations:
[[file:path/to/file.ts]][[file:path/to/file.ts#L12]][[file:path/to/file.ts#L12-L34]]Use repo-relative paths and line anchors whenever possible. Do not use normal markdown links for source-code citations. Do not wrap file citation tokens in backticks, inline code, or fenced code blocks in your final answer. Use them as plain citation tokens in normal prose or list items so the UI can render them as clickable links.