Source profileQuality 87/100

rnett/gradle-mcp/src/main/skills/interacting-with-project-runtime/SKILL.md

interacting-with-project-runtime

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.

Source repository stars
56
Declared platforms
0
Static risk flags
0
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

Executes Kotlin code interactively within the project's full runtime classpath, enabling rapid logic verification and state inspection without a full build cycle.

Best for

    Not for

    • 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 Devel…

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/rnett/gradle-mcp --skill "src/main/skills/interacting-with-project-runtime"
    Safe inspection promptEditorial

    Inspect the Agent Skill "interacting-with-project-runtime" from https://github.com/rnett/gradle-mcp/blob/b61fc9339789879e6d03910cb8c2e71085cec4d8/src/main/skills/interacting-with-project-runtime/SKILL.md at commit b61fc9339789879e6d03910cb8c2e71085cec4d8. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Positive Triggers (when to activate)

      Verifying dynamic behavior of a class or function in the project runtime.

      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.
    2. 02

      Negative Triggers (when NOT to activate)

      Operating a Gradle build (use using-gradle).

      Operating a Gradle build (use using-gradle).Modifying build definitions (use authoring-gradle-builds).Rendering Compose UI components (use verifying-compose-ui).
    3. 03

      Constitution

      ALWAYS prefer reading source code over running it when the question is about API shape, signatures, or static behavior.

      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 stop after finishing a session to release JVM resources.
    4. 04

      Directives

      Call kotlinrepl(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.

      Call kotlinrepl(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.Call kotlinrepl(command="run", code="...") to execute a Kotlin snippet. Session state (variables, imports, class definitions) persists between calls.

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score87/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars56SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    rnett/gradle-mcp
    Skill path
    src/main/skills/interacting-with-project-runtime/SKILL.md
    Commit
    b61fc9339789879e6d03910cb8c2e71085cec4d8
    License
    Apache-2.0
    Collected
    2026-08-05
    Default branch
    main
    View the original SKILL.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 stop after 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 stop then start to 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.

    // Example: Verify a utility function
    val result = MyUtils.parseDate("2024-01-15")
    println("Parsed: $result, type: ${result::class.simpleName}")
    

    Common Patterns

    Probing Project Classes

    // Inspect a service's behavior
    val service = MyService()
    val output = service.process("test-input")
    println("Output: $output")
    println("State: ${service.internalState}")
    

    Testing Coroutine Logic

    import kotlinx.coroutines.runBlocking
    
    runBlocking {
        val result = mySuspendFunction()
        println("Result: $result")
    }
    

    Visualizing Data Structures

    val tree = buildTree(sampleData)
    println(tree.toPrettyString())
    

    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

    {
      "command": "start",
      "projectPath": ":app",
      "sourceSet": "main"
    }
    // Then:
    {
      "command": "run",
      "code": "val result = StringUtils.slugify(\"Hello World!\"); println(result)"
    }
    // Then:
    {
      "command": "stop"
    }
    

    Prototype logic with test dependencies

    {
      "command": "start",
      "projectPath": ":",
      "sourceSet": "test",
      "additionalDependencies": ["org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0"]
    }
    

    Alternatives

    Compare before choosing

    Computed 10043,034

    coreyhaines31/marketingskills

    ab-testing

    When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

    Computed 10023,835

    alirezarezvani/claude-skills

    app-store-optimization

    App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

    Computed 1004,944

    dotnet/skills

    migrate-vstest-to-mtp

    Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

    Computed 100165

    JasonColapietro/suede-creator-skills

    suede-ab-testing

    Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).