AGENT SKILL
java-project-discovery
Analyzes the local workspace directory to identify the Java project's structural layout, build engine (Maven/Gradle), Java runtime version, and core framework dependencies without executing intrusive code. Trigger this skill when the user asking about java project, java discovery, what this java project is about.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 2
01 前言 Front Matter
- name
- java-project-discovery
- description
- Analyzes the local workspace directory to identify the Java project's structural layout, build engine (Maven/Gradle), Java runtime version, and core framework dependencies without executing intrusive code. Trigger this skill when the user asking about java project, java discovery, what this java project is about.
03 SKILL.md 正文
Skill: Java Project Discovery & Architectural Audit
Purpose
Identify key project metrics to establish workspace context for the AI agent before initiating code modifications.
Execution Protocol & Plan
- Locate Build Manifests: Search the workspace root for
pom.xml,build.gradle, orbuild.gradle.kts. - Inspect Environment Context: Parse file tokens to extract core coordinates, parent POMs, or plugins.
- Analyze Runtime Dependencies: Search for ecosystem markers like Spring Boot, Quarkus, or Jakarta EE.
- Output Generation: Return a structured JSON block mapping the technical stack.
- Summary report: Create a SUMMARY.md file with the collected information.
Expected Output Schema
Your final response must be contained entirely within a single markdown JSON code block following this exact template structure:
{
"buildEngine": "Maven | Gradle (Groovy) | Gradle (Kotlin) | Ant",
"usesWrapper": true | false,
"javaVersion": "String (e.g., 17, 21)",
"coordinates": {
"groupId": "String or null",
"artifactId": "String or null",
"version": "String or null"
},
"frameworks": ["String (e.g., Quarkus 3.15, Spring Boot 3.4)"],
"multiModule": true | false,
"modules": ["String paths of sub-modules if applicable"]
}