introspecting_gradle_projects
Skill1.1k starsChanged 5 days agoApache-2.0View on GitHub
Uncovers Gradle project structure, task hierarchies, and resolved property values using core Gradle diagnostic tools; use for mapping modules, listing runnable tasks, and auditing build configuration. Do NOT use for running builds/tests or source code exploration.
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
9
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 tool for running introspection tasks instead of raw shell commands.
- Very specific: line 21
ALWAYS: use captureTaskOutput when running introspection tasks (e.g., :projects, :tasks) to filter out startup noise.
- Very specific: line 22
ALWAYS: use inspect_dependencies for auditing dependency graphs.
- Very specific: line 24
ALWAYS: use :properties --property <name> for surgical property extraction.
- Very specific: line 28
Map structure first: ALWAYS use the projects task to visualize the multi-project hierarchy and identify authoritative project paths.
- Very specific: line 29
Discover tasks surgically: ALWAYS use the tasks task with --all for a comprehensive list, or scope to a specific project.
- Very specific: line 30
Query task metadata: ALWAYS use help --task <name> to retrieve descriptions, types, and available command-line options for any task.
- Very specific: line 31
Extract properties precisely: ALWAYS use the properties task with the --property flag to isolate a single value and avoid massive console …
- Very specific: line 32
Audit dependencies: Use inspect_dependencies for a searchable tree and update check.
- Distinctive: line 52
Multi-Module Mapping: When you need to visualize the full project hierarchy and identify correct project paths.
- Distinctive: line 53
Task & Option Discovery: When you need to find runnable tasks or get authoritative help on a task's configuration.
- Distinctive: line 54
Environment & Runtime Auditing: When you need to verify Gradle versions, JVM toolchains, or system properties.
- Distinctive: line 55
Surgical Property Inspection: When you need to extract a specific property value (like an artifact version or build directory) for use in a …
≈ “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
Deep Project Structure & Environment Introspection
Uncovers project modules, discovers runnable tasks, and gain total visibility into your build configuration using core Gradle diagnostic tools and authoritative dependency auditing.
Constitution
- ALWAYS use the
gradletool for running introspection tasks instead of raw shell commands. - ALWAYS provide absolute paths for
projectRoot. - ALWAYS use
captureTaskOutputwhen running introspection tasks (e.g.,:projects,:tasks) to filter out startup noise. - ALWAYS use
inspect_dependenciesfor auditing dependency graphs; usegradlefor task-specific dependency insights. - NEVER guess task names or options; use the
help --task <name>command for authoritative documentation. - ALWAYS use
:properties --property <name>for surgical property extraction.
Directives
- Map structure first: ALWAYS use the
projectstask to visualize the multi-project hierarchy and identify authoritative project paths. - Discover tasks surgically: ALWAYS use the
taskstask with--allfor a comprehensive list, or scope to a specific project. - Query task metadata: ALWAYS use
help --task <name>to retrieve descriptions, types, and available command-line options for any task. - Extract properties precisely: ALWAYS use the
propertiestask with the--propertyflag to isolate a single value and avoid massive console output. - Audit dependencies: Use
inspect_dependenciesfor a searchable tree and update check. For low-level variant or transformation analysis, use the built-in diagnostic tasks. - Refer to diagnostic guides: For a complete list of introspection commands, see the Diagnostic Tasks reference.
Authoritative Task Path Syntax
Precision in path syntax is essential for mapping multi-module builds correctly.
1. Task Selectors (Recursive)
Providing tasks without a leading colon lists tasks for every project in the build. This is usually very noisy.
2. Absolute Task Paths (Targeted)
To inspect a single specific project, always use a leading colon.
- Root Project:
gradle(commandLine=[":tasks"], captureTaskOutput=":tasks") - Subproject:
gradle(commandLine=[":app:tasks"], captureTaskOutput=":app:tasks")
When to Use
- Multi-Module Mapping: When you need to visualize the full project hierarchy and identify correct project paths.
- Task & Option Discovery: When you need to find runnable tasks or get authoritative help on a task's configuration.
- Environment & Runtime Auditing: When you need to verify Gradle versions, JVM toolchains, or system properties.
- Surgical Property Inspection: When you need to extract a specific property value (like an artifact version or build directory) for use in a subsequent task.
Examples
List all sub-projects in the build
{
"commandLine": [":projects"],
"captureTaskOutput": ":projects"
}
// Reasoning: Using captureTaskOutput to retrieve only the project hierarchy list.Get authoritative help for a specific task
{
"commandLine": [":app:help", "--task", "assemble"],
"captureTaskOutput": ":app:help"
}
// Reasoning: Using the built-in help task to discover available options for 'assemble'.Surgically inspect the 'version' property
{
"commandLine": [":properties", "--property", "version"],
"captureTaskOutput": ":properties"
}
// Reasoning: Using --property to avoid retrieving thousands of unrelated project properties.Analyze a specific dependency conflict
{
"commandLine": [
":app:dependencyInsight",
"--dependency",
"com.google.guava:guava",
"--configuration",
"runtimeClasspath"
],
"captureTaskOutput": ":app:dependencyInsight"
}
// Reasoning: Using dependencyInsight to isolate the resolution path for a specific artifact.Troubleshooting
- Missing environment variables: Set
invocationArguments: { envSource: "SHELL" }if Gradle cannot find expected env vars (e.g.,JAVA_HOME).
Resources
- Diagnostic Tasks
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
- managing_gradle_dependenciesSkill
- researching_gradle_internalsSkill
- 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.

