rnett/gradle-mcp/interacting-with-project-runtime
Claude Code and agent skill by rnett/gradle-mcp
- community
Checking that the SKILL.md file is still in the repository.
Interacting with a project's JVM runtime through the Kotlin REPL to execute focused probes against project classes and dependencies. Activate when behavior must be observed by running code; use using-gradle for build inspection or task execution.
Install
npx vskill@latest install rnett/gradle-mcp/interacting-with-project-runtimeSKILL.md
Persistent JVM/Kotlin REPL for Project Runtime Probing
Executes Kotlin code interactively within the project's full runtime classpath, enabling rapid logic verification and state inspection without a full build cycle.
Positive Triggers (when to activate)
- Verifying dynamic behavior of a class or function in the project runtime.
- Probing internal state or executing experimental logic without a full build cycle.
- Rapidly prototyping logic changes within the JVM classpath.
Negative Triggers (when NOT to activate)
- Operating a Gradle build (use
using-gradle). - Modifying build definitions (use
authoring-gradle-builds). - Rendering Compose UI components (use
verifying-compose-ui).
Constitution
- ALWAYS prefer reading source code over running it when the question is about API shape, signatures, or static behavior.
- Use the REPL when you need to verify runtime behavior: dynamic dispatch, state mutations, side effects, or complex logic that is hard to reason about statically.
- ALWAYS call
stopafter finishing a session to release JVM resources. - NEVER run code that modifies project files, deletes data, or has irreversible side effects without explicit user approval.
- After modifying project source code, call
stopthenstartto pick up classpath changes.
Directives
Starting a Session
Call kotlin_repl(command="start", projectPath=":module", sourceSet="main") to initialize a REPL session. The session runs in a dedicated worker process with the project's full classpath.
For session parameters, lifecycle management, and environment troubleshooting, see REPL Session Setup.
Running Code
Call kotlin_repl(command="run", code="...") to execute a Kotlin snippet. Session state (variables, imports, class definitions) persists between calls.
Common Patterns
Probing Project Classes
Testing Coroutine Logic
Visualizing Data Structures
Troubleshooting
For session startup, classpath, and environment issues, see REPL Session Setup. If a slow session start traces back to a slow build, or a test you are probing is intermittently failing, a published Build Scan (via Develocity) can provide evidence of where the time or flakiness originates; for a test that keeps flaking across runs, Flaky Tests Detection and Failure Analytics distinguish flaky behavior from a real regression. Develocity publishes an llms.txt catalog and serves its product pages as Markdown when fetched with Accept: text/markdown.
Examples
Verify a utility function
Prototype logic with test dependencies
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/main/skills/interacting-with-project-runtime/SKILL.md
Popularity
- Repository stars
- 64
- Repository forks
- 4
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rnett/gradle-mcp/interacting-with-project-runtime)