gates-to-check
Analyze a Java application using a modular, gate-driven approach. Trigger this skill when user asks to analyse a java application.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 2
01 前言 Front Matter
- name
- gates-to-check
- license
- Apache-2.0
- metadata
- { "author": "Quarkus Community - https://github.com/quarkusio/quarkus" }
- description
- Analyze a Java application using a modular, gate-driven approach. Trigger this skill when user asks to analyse a java application.
02 资源文件 2
- 参考文档modules/module-1.md89 B
- 参考文档modules/module-2.md334 B
03 SKILL.md 正文
Gates to check
Modular, gate-driven instructions to analyze a java Application
Instructions
- Execute the instructions of the modules according to the following Decision Gate Table
- Always log which Module and Gate check is evaluated and the status using the format: Gate result: <STATUS> and <CONDITION_EVALUATED>
Decision Gate Table
For each module, evaluate whether it applies to this project. A module executes only when its gate is PASS. Inspect the project to determine the gate result — do not rely on blind grep commands; use your understanding of the codebase.
| Module | Gate Check | Gate Result |
|---|---|---|
| jdk | JDK 21+ required | ALWAYS -- stop analyze if < 21 |
| build | build system | PASS if pom.xml or build.gradle(.kts) files is(are) present; SKIP otherwise |
Execution Protocol
FOR module IN [module-1, module-2]:
1. EVALUATE — inspect the project for the gate condition
2. DECIDE
IF gate == ALWAYS → proceed to step 3
IF gate == PASS → proceed to step 3
IF gate == SKIP → log "Module {name}: SKIPPED — {reason}", mark checkbox, continue
3. LOAD — read the module file
5. EXECUTE — follow the module instructions, adapting to the chosen strategy
6. LOG — mark checkbox as done
Analysis Report
Present the review as a structured report:
## Analysis Report: [app-name]
### Summary
- JDK: version, Apache MAven or gradle: version
- Agent: [AI agent name - e.g claude, pi, opencode, gemini, etc]
- Model: [model name — e.g. claude-sonnet-4-6, check system context]
- Modules completed: [X/2]
- Checks passed: [X/2]
- Token usage: [input tokens / output tokens — check session stats]
- Estimated cost: [~$X.XX — token counts × per-model pricing from anthropic.com/pricing]
04 同仓库更多 Skills
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.
hello-world
Use when user is saying Hello, HelloWorld, say hello.