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
{{ message }}
Repository navigation
Commit 049f443
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/skills/library-insight/SKILL.md
+60-7Lines changed: 60 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: library-insight
3
-
description: Indexes public APIs and extracts source code comments from Java/Kotlin compiled archives (JAR/AAR) or Maven coordinates, generating compact context JSON layouts for AI agents.
3
+
description: API Explorer & AI Code Advisor that indexes public APIs, visualizes dependency graphs, audits version deprecations, and extracts JVM archive signatures (JAR/AAR) or Maven coordinatesfor AI context.
4
4
---
5
5
6
6
# Library Insight Agent Skill
@@ -16,6 +16,12 @@ This tool extracts all classes, interfaces, methods, properties, and Javadoc/KDo
16
16
> - Use **`library-insight search <query>`** to find packages or classes.
17
17
> - Use **`library-insight explain <class>`** to print the public API signature and Javadocs of a specific class.
18
18
> - Use **`library-insight diff <old> <new>`** to compare versions.
19
+
> - Use **`library-insight audit`** to check project dependency deprecations recursively.
20
+
> - Use **`library-insight migrate <old> <new>`** to get a migration advisor report with replacement suggestions.
21
+
> - Use **`library-insight search-central <query>`** to search Maven Central.
22
+
> - Use **`library-insight graph <coord>`** to visual dependency trees.
23
+
> - Use **`library-insight check-compat <old> <new>`** to lint Semantic Versioning API compliance.
24
+
> - Use **`library-insight mcp`** to communicate as a Model Context Protocol (MCP) server.
Start the Model Context Protocol (MCP) server listening on stdio. Allows external AI clients (like Cursor or Claude Desktop) to invoke `scan_library`, `search_symbols`, and `explain_class` tools directly.
167
+
```bash
168
+
library-insight mcp
169
+
```
170
+
171
+
### 10. Dependency API Audit (`audit`)
172
+
Scan and audit all Gradle build file dependencies recursively to find deprecated classes, methods, and properties inside active versions.
### 11. Model Context Protocol (MCP) Server (`mcp`)
382
+
383
+
Start the Model Context Protocol (MCP) server listening on stdio. This enables AI tools (such as Cursor, Claude Desktop, Copilot, etc.) to dynamically call Library Insight tools (like scanning libraries, searching symbols, or explaining classes) directly from the IDE context.
384
+
385
+
```bash
386
+
library-insight mcp
387
+
```
388
+
389
+
### 12. Dependency API Audit (`audit`)
390
+
391
+
Scan and audit all project dependencies declared recursively inside `build.gradle.kts` and catalog libraries inside `gradle/libs.versions.toml`. It analyzes bytecode annotations inside local cached dependencies to report deprecated classes, methods, and properties.
Compare two library versions and output a structured migration report, automatically detecting replacement APIs from Kotlin `@ReplaceWith` annotation expressions and Javadoc `@deprecated` link tags.
0 commit comments