You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/ccg-analyze/SKILL.md
+47-25Lines changed: 47 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
name: ccg-analyze
3
-
description: "Analyze code relationships with CCG impact radius, flow tracing, callers/callees, git-diff risk, and affected stored flows. Use when a task asks what a change affects, how a call path flows, who calls a symbol, or which flows recent changes touch. Do not use for simple text lookup, documentation generation, or annotation authoring."
3
+
description: "Analyze algorithms, feature pipelines, and code relationships with CCG impact radius, bounded flow tracing, callers/callees, git-diff risk, affected stored flows, and cross-namespace references. Use when a task asks how a feature or algorithm works, how a pipeline flows, what a change affects, who calls a symbol, whether results were truncated, or which flows recent changes touch. Do not use for simple text lookup, documentation generation, or annotation authoring."
4
4
metadata:
5
-
version: 1.1.0
5
+
version: 1.3.1
6
6
openclaw:
7
7
category: "code-intelligence"
8
8
domain: "analysis"
@@ -21,14 +21,33 @@ Graph-based analysis for **change impact, call flow, and recent-change risk**.
Use the `ccg` skill's Response Budget Rule for paginated graph tools. Preserve
86
+
per-page namespace labels and errors when accumulating federated results.
71
87
72
-
Paginated responses include `has_more`. If true, call again with `next_offset`.
73
-
Do not request the max page size first for LLM analysis; use 50 or 100 unless
74
-
the user specifically needs a bulk export.
88
+
`get_impact_radius` and `trace_flow` are bounded rather than paginated. Follow
89
+
their `truncated` metadata by narrowing the start/scope or deliberately raising
90
+
`max_nodes`; do not call a truncated response complete.
75
91
76
92
## Accuracy Limits (use with awareness)
77
93
@@ -80,13 +96,17 @@ the user specifically needs a bulk export.
80
96
- Build-tag-split files → both registered (noise)
81
97
- Fallback call edges improve recall but may add false positives; use strict mode when evidence quality matters more than coverage
82
98
- Treat graph results as a static approximation; cross-check important conclusions against source.
99
+
-`repo_root` for `detect_changes` and `get_affected_flows` must be a
100
+
server-visible, allowed path. If the MCP server cannot see the client path,
101
+
report that constraint and use local git/source evidence instead.
83
102
84
103
## Boundary
85
104
86
105
- Start from a verified qualified name; do not infer a symbol from a display label alone.
87
106
- Scope namespace, path, traversal depth, and result limits before widening a query.
88
107
- Separate strict call edges from fallback edges when evidence quality matters.
89
108
- Do not treat missing graph edges as proof that runtime behavior is impossible.
109
+
- Do not hide per-namespace errors or truncation when federated/cross-namespace evidence is partial.
90
110
91
111
## Analysis MCP Tools
92
112
@@ -103,12 +123,14 @@ For detailed parameters, see MCP schema.
103
123
104
124
## Prerequisites
105
125
106
-
Confirm that the selected namespace contains a current graph. Build only when
107
-
the graph is missing or a full rebuild is intentional; after ordinary code
108
-
changes, prefer `ccg update .`. Stored-flow tools also require flow
109
-
postprocessing; an empty flow list is not evidence of no flow until that state
110
-
has been checked. Use the `ccg` skill for freshness and postprocessing guidance.
126
+
Use the `ccg` skill's Graph Freshness workflow before interpreting graph or
127
+
stored-flow results. Stored-flow tools require flow postprocessing; an empty
128
+
flow list is not evidence of no flow until that state has been checked.
111
129
112
130
## Completion
113
131
114
-
Report the analyzed qualified name, namespace, depth/limits, included edge modes, returned impact or flow evidence, and any source-level cross-check used for an important conclusion.
132
+
Report the analyzed qualified names, namespace, discovery query, `query_graph`
133
+
patterns, `trace_flow` bounds and truncation, included edge modes,
134
+
fallback-edge counts, source files used to verify runtime semantics, any
135
+
graph/source disagreement or server-visible path limitation, and the evidence
Copy file name to clipboardExpand all lines: skills/ccg-annotate/SKILL.md
+17-33Lines changed: 17 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
name: ccg-annotate
3
-
description: "Authorand refine CCG annotations such as @intent, @domainRule, @sideEffect, @mutates, @index, and @see. Use when adding business meaning to code, improving annotation-aware code or documentation retrieval, fixing annotation lint findings, or documenting operational contracts. Do not use for generated Markdown editing or annotations that merely restate symbol names."
3
+
description: "Author, refine, and verify CCG annotations such as @intent, @domainRule, @sideEffect, @mutates, @index, and @see. Use when adding business meaning to code, improving annotation-aware code or documentation retrieval, fixing annotation lint findings, checking supported tag syntax, or documenting operational contracts. Do not use for generated Markdown editing or annotations that merely restate symbol names."
4
4
metadata:
5
-
version: 1.1.0
5
+
version: 1.2.1
6
6
openclaw:
7
7
category: "code-intelligence"
8
8
domain: "annotation"
@@ -18,24 +18,6 @@ metadata:
18
18
Add structured business metadata to source comments so graph search and
19
19
generated documentation can retrieve intent and operational contracts.
20
20
21
-
## Why Annotations Matter
22
-
23
-
- Lets full-text retrieval match domain terms recorded in annotations even when symbol names differ
24
-
- Enriches generated docs and DB-backed documentation evidence
0 commit comments