interacting_with_project_runtime

Execute Kotlin code interactively within a project's JVM classpath.

57|4|Updated Sep 29, 2025
One-click install
npx skills add https://github.com/rnett/gradle-mcp --skill interacting-with-project-runtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: interacting_with_project_runtime
Source: https://github.com/rnett/gradle-mcp/tree/main/src/main/skills/interacting_with_project_runtime
Command: npx skills add https://github.com/rnett/gradle-mcp --skill interacting-with-project-runtime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows interactive execution of Kotlin code within the project's JVM classpath, enabling runtime verification and experimentation.

Core Features & Use Cases

  • Interactive Kotlin Execution: Run Kotlin code within the project's classpath for verification and experimentation.
  • Project Aware: Accesses the project's exact classpath, dependencies, and source sets.
  • Rich Output: Utilizes the responder API for image and markdown output.
  • Use Case: When you need to test a piece of logic or explore an API in the context of the project runtime.

Quick Start

Use 'kotlin_repl' to execute Kotlin code within the project's JVM classpath.

Frequently Asked Questions about interacting_with_project_runtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute Kotlin code interactively within my project's JVM classpath?

Interactive Kotlin execution within a project JVM classpath is performed by running a REPL that accesses project dependencies and source sets, enabling runtime verification and API experimentation.

What is the best way to test a piece of logic in the context of my project runtime?

The best way to test logic in your project runtime is interactive Kotlin execution, which provides project-aware REPL access to your exact classpath and dependencies for runtime verification.

Do I need to configure source sets to use interactive Kotlin execution?

Yes, you need to configure the correct projectPath and sourceSet to use interactive Kotlin execution, as it requires this setup to accurately load the project's JVM classpath and dependencies.

Can I get rich output like images and markdown when running Kotlin code interactively?

Yes, you can get rich output like images and markdown when running Kotlin code interactively, as the execution utilizes the responder API to support these output formats.

When should I use a REPL for Kotlin execution instead of standard test suites?

You should use a REPL for Kotlin execution when you need to explore an API or verify runtime behavior interactively, whereas standard test suites are better suited for automated, repeatable validation logic.

Why is project-aware execution important for runtime experimentation?

Project-aware execution is important for runtime experimentation because it ensures Kotlin code runs within the exact project classpath and dependencies, providing accurate runtime verification and context.