-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskill_analysis.json
More file actions
executable file
·193 lines (193 loc) · 4.83 KB
/
Copy pathskill_analysis.json
File metadata and controls
executable file
·193 lines (193 loc) · 4.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"name": "Code2Database-analysis",
"version": "1.0.0",
"description": "Deep semantic analysis for Code2Database. Activated when the user asks about concurrency safety, data races, value flow, invariants, FFI boundaries, path feasibility, or cgdb tables. All 171 commands remain accessible from the parent skill.",
"trigger": "/Code2Database-analysis",
"parent_skill": "Code2Database",
"languages": [
"C",
"C++",
"Go",
"Python",
"Java",
"Rust",
"ASM"
],
"tier_1_commands": [
"flow",
"concurrency",
"find",
"trace",
"impact"
],
"commands": [
"concurrency-risks",
"concurrency-analyze",
"detect-races",
"lock-coverage",
"happens-before",
"memory-ordering",
"who-locks",
"value-flow",
"param-flow",
"data-dep",
"data-lifecycle",
"io-path",
"field-access",
"impact",
"blast-radius",
"neighbors",
"path",
"diff-chains",
"path-feasible",
"resolve-chain",
"extract-signals",
"extract-invariants",
"find-invariants",
"apply-invariants",
"ffi-detect",
"ffi-list",
"ffi-trace",
"ffi-types",
"blame-node",
"describe-commit",
"node-history",
"graph-provenance",
"find-commits",
"who-allocates",
"who-frees",
"unbalanced-alloc-free",
"add-semantic-edges",
"audit-log",
"query",
"think-chain",
"intent-query",
"extract-invariants-llm",
"explain-label",
"why-ambiguous",
"extract-semantics",
"apply-semantics",
"extract-knowledge",
"apply-knowledge",
"knowledge-query",
"knowledge-validate"
],
"cgdb_mcp_tools": [
"cgdb_search_symbols",
"cgdb_find_invokers",
"cgdb_find_invoked",
"cgdb_get_definition",
"cgdb_get_function_body",
"cgdb_get_struct_layout",
"cgdb_find_type_definition",
"cgdb_find_ops_impls",
"cgdb_find_cfg_paths",
"cgdb_find_data_flow",
"cgdb_find_aliases",
"cgdb_find_lock_held_calls",
"cgdb_check_race_condition",
"cgdb_find_configs_for",
"cgdb_find_nodes_under_config",
"cgdb_index_status",
"cgdb_time_travel_query",
"cgdb_list_versions"
],
"routing_table": {
"Is this thread-safe?": [
"concurrency-risks",
"concurrency-analyze",
"detect-races",
"lock-coverage",
"happens-before",
"memory-ordering",
"who-locks"
],
"Where does this NULL/value come from?": [
"value-flow",
"param-flow",
"data-dep",
"data-lifecycle",
"io-path"
],
"What breaks if I change this?": [
"impact",
"blast-radius",
"neighbors",
"path",
"diff-chains"
],
"Is this path feasible?": [
"path-feasible",
"resolve-chain",
"extract-signals"
],
"What invariants does this function enforce?": [
"extract-invariants",
"find-invariants",
"apply-invariants"
],
"Which Python/Go/Rust function calls into C?": [
"ffi-detect",
"ffi-list",
"ffi-trace",
"ffi-types"
],
"Which commit introduced this?": [
"blame-node",
"describe-commit",
"node-history",
"graph-provenance",
"find-commits"
],
"Who allocates/frees this resource?": [
"who-allocates",
"who-frees",
"unbalanced-alloc-free",
"add-semantic-edges"
],
"Query cgdb tables directly (clang backend)": [
"cgdb_search_symbols",
"cgdb_find_invokers",
"cgdb_find_invoked",
"cgdb_get_definition",
"cgdb_get_function_body",
"cgdb_get_struct_layout",
"cgdb_find_type_definition",
"cgdb_find_ops_impls",
"cgdb_find_cfg_paths",
"cgdb_find_data_flow",
"cgdb_find_aliases",
"cgdb_find_lock_held_calls",
"cgdb_check_race_condition",
"cgdb_find_configs_for",
"cgdb_find_nodes_under_config",
"cgdb_index_status",
"cgdb_time_travel_query",
"cgdb_list_versions"
]
},
"on_demand_commands": [
"think-chain",
"intent-query",
"extract-invariants-llm",
"explain-label",
"why-ambiguous",
"extract-semantics",
"apply-semantics",
"extract-knowledge",
"apply-knowledge",
"knowledge-query",
"knowledge-validate",
"audit-log"
],
"extraction_backends": [
"auto",
"clang",
"tree-sitter"
],
"activation_model": "User explicitly invokes /Code2Database-analysis, OR /Code2Database core skill detects a deep-analysis question (concurrency, data flow, invariants, FFI, provenance, path feasibility, cgdb) and hands off with the phrase 'activate Code2Database-analysis sub-skill'.",
"shared_resources": {
"scripts": "scripts/ (shared with parent and ops sub-skill \u2014 single CLI)",
"mcp_server": "All 48 MCP tools (30 code2database_* + 18 cgdb_*) accessible regardless of sub-skill activation. MCP is separate from skill layer."
}
}