researching_gradle_internals
Skill1.1k starsChanged 5 days agoApache-2.0View on GitHub
Searches and retrieves official Gradle User Guide, DSL Reference, and internal engine source code authoritatively; use for researching core Gradle features, verifying behavior, and deep-diving into internals. Do NOT use for project dependency source exploration (use `searching_dependency_sources`) or running builds.
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 1 is distinctive, and 20 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
20
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
ALWAYS: use the gradle_docs tool as the primary source for documentation queries.
- Very specific: line 20
ALWAYS: use search_dependency_sources with gradleSource: true when probing Gradle's internal logic.
- Very specific: line 24
ALWAYS: check for breaking changes in the release-notes tag when investigating version-specific regressions.
- Distinctive: line 28
Identify the research target: ALWAYS determine if you need authoritative guidance (Documentation) or the ground-truth implementation …
- Very specific: line 29
Scope documentation surgically: ALWAYS use tags like userguide, dsl, and release-notes in your gradle_docs query to minimize irrelevant …
- Very specific: line 30
Probe Gradle sources authoritatively: ALWAYS use gradleSource: true in search_dependency_sources to target Gradle's internal engine.
- Very specific: line 31
Read implementation details: ALWAYS use read_dependency_sources with gradleSource: true to examine the actual code of any Gradle interface …
- Very specific: line 32
Escape Lucene special characters: When searching documentation via gradle_docs or source code via search_dependency_sources (with …
- Very specific: line 35
Use DECLARATION to find the exact declaration of a Gradle interface or class.
- Very specific: line 39
Use FULL_TEXT to find internal usage patterns, constants, or behavior described in the source.
- Very specific: line 40
Use GLOB to locate Gradle's internal resource files or build scripts.
- Very specific: line 56
DSL & Plugin Verification: When you need to understand the precise syntax for DSL elements (e.g., publishing, signing) or official plugin …
- Very specific: line 57
Feature Implementation Analysis: When researching advanced topics like custom task authoring or plugin development.
- Very specific: line 58
Version Compatibility Auditing: When checking for new features, deprecations, or breaking changes in a specific Gradle release.
- Very specific: line 59
Internal Engine Exploration: When performing deep-dives into Gradle's behavior (e.g., dependency resolution logic, task execution engine) …
- Very specific: line 65
Search the userguide via gradle_docs(query="tag:userguide <term>").
- Very specific: line 67
If the behavior is undocumented, search for the corresponding classes in the Gradle source via search_dependency_sources(query="class …
- Very specific: line 71
Use tag:dsl to find the documentation for the plugin's configuration block.
- Very specific: line 72
Search for the plugin's implementation classes in gradleSource to understand how it handles the configuration at runtime.
- Very specific: line 77
Call read_dependency_sources(path="org/gradle/...", gradleSource=true) to retrieve the implementation.
- Very specific: line 135
Documentation Mismatch: Ensure you are targeting the correct version.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Authoritative Gradle Documentation & Source Research
Researches official documentation and probes Gradle's internal source code with absolute precision to understand the build tool's behavior and protocols.
Constitution
- ALWAYS use the
gradle_docstool as the primary source for documentation queries. - ALWAYS use
search_dependency_sourceswithgradleSource: truewhen probing Gradle's internal logic. - ALWAYS provide absolute paths for
projectRoot. - ALWAYS scope documentation searches using the
tag:<section>syntax (e.g.,tag:dsl,tag:userguide). - NEVER assume behavior without verifying it against the documentation OR the actual source implementation.
- ALWAYS check for breaking changes in the
release-notestag when investigating version-specific regressions.
Directives
- Identify the research target: ALWAYS determine if you need authoritative guidance (Documentation) or the ground-truth implementation (Source).
- Scope documentation surgically: ALWAYS use tags like
userguide,dsl, andrelease-notesin yourgradle_docsquery to minimize irrelevant results. - Probe Gradle sources authoritatively: ALWAYS use
gradleSource: trueinsearch_dependency_sourcesto target Gradle's internal engine. - Read implementation details: ALWAYS use
read_dependency_sourceswithgradleSource: trueto examine the actual code of any Gradle interface or class once identified. - Escape Lucene special characters: When searching documentation via
gradle_docsor source code viasearch_dependency_sources(withsearchType: "FULL_TEXT"), ALWAYS escape special characters like:,=,+,-,*,/with a backslash (e.g.,\:) or enclose them in double quotes (e.g.,"val x = 10") for literal searches to avoid Lucene syntax errors. - Identify Search Mode for Internals:
- Use
DECLARATIONto find the exact declaration of a Gradle interface or class. All declaration searches are case-sensitive. Do NOT include keywords likeclassorinterface(e.g., useProject, notinterface Project). - You can search by simple name (e.g.,
Project), full name (e.g.,org.gradle.api.Project), or partial package paths (e.g.,api.Project). - Supports glob wildcards for FQNs:
*matches one segment,**matches multiple (e.g.,fqn:org.gradle.*.Project,fqn:org.**.Project). - Supports full Lucene query syntax (e.g.,
name:Project AND fqn:org.gradle.api.*). - Use
FULL_TEXTto find internal usage patterns, constants, or behavior described in the source.FULL_TEXTsearches are case-insensitive. - Use
GLOBto locate Gradle's internal resource files or build scripts.GLOBsearches are case-insensitive.
- Use
- Verify against the local version: The tools automatically target the Gradle version used by the current project. ALWAYS use the
versionargument forgradle_docswhen researching other releases.
Available Documentation Tags
| Tag | Section |
userguide | The official Gradle User Guide. |
dsl | The Gradle DSL Reference (Groovy and Kotlin DSL). |
javadoc | The Gradle Java API Reference. |
samples | Official Gradle samples and examples. |
release-notes | Version-specific release insights. |
best-practices | Official Gradle best practices and performance guidelines. |
When to Use
- DSL & Plugin Verification: When you need to understand the precise syntax for DSL elements (e.g.,
publishing,signing) or official plugin configurations. Usetag:dsl. - Feature Implementation Analysis: When researching advanced topics like custom task authoring or plugin development. Use
tag:userguidefor guidance andgradleSource: truefor implementations. - Version Compatibility Auditing: When checking for new features, deprecations, or breaking changes in a specific Gradle release. Use
tag:release-notes. - Internal Engine Exploration: When performing deep-dives into Gradle's behavior (e.g., dependency resolution logic, task execution engine) using
gradleSource: true.
Workflows
1. Researching a Core Feature
- Search the
userguideviagradle_docs(query="tag:userguide <term>"). - Review the markdown results and read specific pages using the
path. - If the behavior is undocumented, search for the corresponding classes in the Gradle source via
search_dependency_sources(query="class <Name>", gradleSource=true).
2. Probing Plugin APIs
- Use
tag:dslto find the documentation for the plugin's configuration block. - Search for the plugin's implementation classes in
gradleSourceto understand how it handles the configuration at runtime.
3. Reading Implementation Logic
- Identify the path of a Gradle internal class from
search_dependency_sources. - Call
read_dependency_sources(path="org/gradle/...", gradleSource=true)to retrieve the implementation.
Examples
Search for Kotlin DSL documentation
{
"query": "tag:dsl kotlin dsl"
}
// Reasoning: Scoping the search to the DSL Reference to find authoritative syntax for Kotlin scripts.Probe Gradle's Project interface implementation
{
"query": "Project",
"searchType": "DECLARATION",
"gradleSource": true
}
// Reasoning: Using gradleSource and DECLARATION search to find the ground-truth implementation of the core Project API.Search for a symbol with glob wildcards
{
"query": "fqn:org.gradle.*.Project",
"searchType": "DECLARATION",
"gradleSource": true
}
// Reasoning: Using a glob wildcard to find Project declarations in any direct sub-package of org.gradle.Search release notes for a specific version
{
"query": "tag:release-notes",
"version": "8.6"
}
// Reasoning: Directly targeting the release notes of a specific version to audit breaking changes.Read a specific Gradle internal class
{
"path": "org/gradle/api/Project.java",
"gradleSource": true
}
// Reasoning: Retrieving the source code for a fundamental Gradle class for high-resolution analysis.Troubleshooting
- Source Not Found: Some Gradle internal modules may not be fully indexed. Try a broader full-text search or browse the directory structure.
- Documentation Mismatch: Ensure you are targeting the correct version. Use the
versionargument if the project's detected version is not the one you intended to research.
Trending
Quiet since September.about the whole repository
Who's talking about Kotlin/kotlinx-rpc
- bright-room/mindstock“fix(deps): update kotlinx.rpc to v0.10.4”GitHub · Sep 25, 2026
- bright-room/mindstock“fix(deps): update kotlinx.rpc to v0.10.3”GitHub · Jul 10, 2026
- modelix/modelix.editor“fix(deps): update kotlinx.rpc to v0.10.4”GitHub · Jul 6, 2026
- ktorio/ktor-plugin-registry“Bump the all-gradle group with 11 updates”GitHub · Jun 30, 2026
- DerTyp7214/synara-api“chore(deps): bump kotlinx-rpc from 0.10.2 to 0.10.3”GitHub · Jun 27, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub (16 times).
On GitHub · 16
- Sep 25, 2026fix(deps): update kotlinx.rpc to v0.10.4 — bright-room/mindstock0 reactions · 1 comment
- Jul 10, 2026fix(deps): update kotlinx.rpc to v0.10.3 — bright-room/mindstock0 reactions
- Jul 6, 2026fix(deps): update kotlinx.rpc to v0.10.4 — modelix/modelix.editor0 reactions · 1 comment
- Jun 30, 2026Bump the all-gradle group with 11 updates — ktorio/ktor-plugin-registry0 reactions
- Jun 27, 2026chore(deps): bump kotlinx-rpc from 0.10.2 to 0.10.3 — DerTyp7214/synara-api0 reactions · 1 comment
11 more on GitHub
- May 3, 2026Add compiler plugin implementation and Kotlin External FIR Support — TBSten/cream0 reactions
- Mar 30, 2026build(deps): bump kotlinx-rpc from 0.10.1 to 0.10.2 — modelix/modelix.editor0 reactions · 5 comments
- Jan 17, 2026chore(deps): bump kotlinx-rpc from 0.10.1 to 0.10.2 — DerTyp7214/synara-api0 reactions · 2 comments
- Dec 20, 2025build(deps): bump org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client from 0.10.0 to 0.10.1 — DerTyp7214/synara-api0 reactions · 1 comment
- Dec 20, 2025build(deps): bump org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server from 0.10.0 to 0.10.1 — DerTyp7214/synara-api0 reactions · 1 comment
- Jul 3, 2025Update kxrpc tutorial to 0.8.0 — ktorio/ktor-documentation0 reactions · 2 comments
- Jul 3, 2025Update kxrpc to 0.8.0 — ktorio/ktor-plugin-registry0 reactions · 1 comment
- Apr 4, 2025Update kxrpc to 0.6.0 — ktorio/ktor-plugin-registry0 reactions · 1 comment
- Jan 28, 2025Update kxrpc to 0.5.0 — ktorio/ktor-plugin-registry0 reactions
- Jan 7, 2025Migrate cloud-run server to RPC ProtoBuf — ashdavies/playground.ashdavies.dev0 reactions
- May 26, 2024KotlinでRemote Procedure Calls (RPC) を簡単に行えるライブラリkotlinx.rpc — AndroidDagashi/AndroidDagashi0 reactions
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- commit-changesSkill
- file-youtrack-issueSkill
- fix-issueSkill
- gh-stackSkill
- gradle_expertSkill
- interacting_with_project_runtimeSkill
- introspecting_gradle_projectsSkill
- managing_gradle_dependenciesSkill
- run-local-verificationsSkill
- running_gradle_buildsSkill
- running_gradle_testsSkill
- searching_dependency_sourcesSkill
- update-docSkill
- update-shimSkill
- use-develocitySkill
- use-teamcitySkill
- use-youtrackSkill
- verify-compiler-plugin-compatibilitySkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

