rnett/gradle-mcp/src/main/skills/advanced-gradle-dependencies/SKILL.md
advanced-gradle-dependencies
Analyzing advanced Gradle dependency behavior, including resolution, variants, capabilities, conflicts, constraints, and publication metadata. Activate for dependency-resolution design or diagnosis; use authoring-gradle-builds for routine dependency declarations.
- 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
Diagnoses and fixes advanced Gradle dependency resolution problems as diagnose-to-fix loops across the operate/author split. This skill owns the cross-cutting lane between everyday dependency inspection (using-gradle) and basic dependency authoring (authoring-gradle-builds).
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
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.
npx skills add https://github.com/rnett/gradle-mcp --skill "src/main/skills/advanced-gradle-dependencies"Inspect the Agent Skill "advanced-gradle-dependencies" from https://github.com/rnett/gradle-mcp/blob/b61fc9339789879e6d03910cb8c2e71085cec4d8/src/main/skills/advanced-gradle-dependencies/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
- 01
Enable or Repair Dependency Verification
1. Load Dependency Verification. 2. Confirm the request is an explicit supply-chain hardening request; report the UX costs first per the conditional-only doctrine. 3. Author or repair verification-metadata.xml (PGP keys, checksums, CI workflow) per the reference. 4. Re-run resol…
Load Dependency Verification.Confirm the request is an explicit supply-chain hardening request; report the UX costs first per the conditional-only doctrine.Author or repair verification-metadata.xml (PGP keys, checksums, CI workflow) per the reference. - 02
Positive Triggers (when to activate)
Variant selection failures or attribute mismatches, diagnosed via outgoingVariants and dependencyInsight --all-variants
Variant selection failures or attribute mismatches, diagnosed via outgoingVariants and dependencyInsight --all-variantsDependency verification metadata, PGP keys, and CI verification workflowsComponent metadata rules, selection rules, dependency substitution, and composite build diagnosis - 03
Negative Triggers (when NOT to activate)
More info: Search the User Guide with gradledocs(query="tag:userguide "). Read gradle/wrapper/gradle-wrapper.properties before any version-sensitive advice; this skill's wrapper-first scoping is mandatory because resolution behavior is version-sensitive.
Everyday dependency inspection, conflicts, or updates - using-gradleDependency declarations, basic version catalogs, or basic locking - authoring-gradle-buildsRunning builds or generic failure diagnosis - using-gradle - 04
Constitution
ALWAYS use the Gradle MCP gradle tool (or the dedicated dependency inspection tools) instead of ./gradlew via shell for all resolution work.
ALWAYS use the Gradle MCP gradle tool (or the dedicated dependency inspection tools) instead of ./gradlew via shell for all resolution work.ALWAYS read the wrapper version (gradle/wrapper/gradle-wrapper.properties) before applying version-sensitive advice; resolution reports, variant model behavior, and governance modes change across Gradle versions.ALWAYS diagnose before fixing: run the matching authoritative report first (dependencyInsight, outgoingVariants, graph inspection), then apply the minimal authoring fix, then re-run the diagnostic to confirm resolution. - 05
Decision Routing
Review the “Decision Routing” section in the pinned source before continuing.
Review and apply the “Decision Routing” source section.
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
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 56 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- rnett/gradle-mcp
- Skill path
- src/main/skills/advanced-gradle-dependencies/SKILL.md
- Commit
- b61fc9339789879e6d03910cb8c2e71085cec4d8
- License
- Apache-2.0
- Collected
- 2026-08-05
- Default branch
- main
View the original SKILL.md
Advanced Gradle Dependency Engineering
Diagnoses and fixes advanced Gradle dependency resolution problems as diagnose-to-fix loops across the operate/author split. This skill owns the cross-cutting lane between everyday dependency inspection (using-gradle) and basic dependency authoring (authoring-gradle-builds).
Positive Triggers (when to activate)
- Variant selection failures or attribute mismatches, diagnosed via
outgoingVariantsanddependencyInsight --all-variants - Dependency verification metadata, PGP keys, and CI verification workflows
- Component metadata rules, selection rules, dependency substitution, and composite build diagnosis
- Capability conflicts, feature variants, lock modes, advanced version catalogs beyond everyday catalog entries, repository governance, and caching/freshness tuning
Negative Triggers (when NOT to activate)
- Everyday dependency inspection, conflicts, or updates ->
using-gradle - Dependency declarations, basic version catalogs, or basic locking ->
authoring-gradle-builds - Running builds or generic failure diagnosis ->
using-gradle - Non-dependency structural authoring ->
authoring-gradle-builds
More info: Search the User Guide with gradle_docs(query="tag:userguide <term>"). Read gradle/wrapper/gradle-wrapper.properties before any version-sensitive advice; this skill's wrapper-first scoping is mandatory because resolution behavior is version-sensitive.
Constitution
- ALWAYS use the Gradle MCP
gradletool (or the dedicated dependency inspection tools) instead of./gradlewvia shell for all resolution work. - ALWAYS read the wrapper version (
gradle/wrapper/gradle-wrapper.properties) before applying version-sensitive advice; resolution reports, variant model behavior, and governance modes change across Gradle versions. - ALWAYS diagnose before fixing: run the matching authoritative report first (
dependencyInsight,outgoingVariants, graph inspection), then apply the minimal authoring fix, then re-run the diagnostic to confirm resolution. - ALWAYS use
query_build(kind="TESTS")for tests andquery_buildfor diagnostics; avoid raw console parsing. - NEVER prescribe a resolution fix without a diagnostic step; variant mismatches, capability conflicts, and substitution behavior must be evidenced before authoring a rule.
- NEVER fabricate tool names; cite authoritative documentation only through
gradle_docshints (path=...orquery="tag:..."). - Handoff: everyday dependency inspection belongs to
using-gradle; basic dependency declaration, version-catalog basics, and basic locking belong toauthoring-gradle-builds; see Cross-Skill Handoffs.
Decision Routing
| Advanced dependency task | Reference |
|---|---|
| Diagnose variant selection failures, attribute mismatches, or no-matching-variant errors | Variant Resolution Diagnostics |
Enable or repair dependency verification (verification-metadata.xml, PGP keys, checksums, CI) | Dependency Verification |
| Author or troubleshoot component metadata rules and dependency selection rules | Component Metadata Rules |
Diagnose dependency substitution or composite-build resolution (composite authoring lives in authoring-gradle-builds) | Substitution and Composites |
| Resolve feature-variant selection, configuration-role, or capability-conflict problems | Feature Variants and Capabilities |
| Apply lock modes or deep locking behavior beyond the basics | Dependency Locking Deep Dive |
| Author advanced version catalog topics (bundles, plugins, multiple catalogs, composition) | Advanced Version Catalogs |
Govern repository declaration modes, content filtering, or exclusiveContent | Repository Governance |
| Reason about dependency cache freshness, resolution consistency, or resolution avoidance/performance | Resolution Mechanics |
Reference Discovery
Read the linked reference as part of the workflow: use Variant Resolution Diagnostics when a variant selection fails or attributes do not match; use Dependency Verification when explicitly asked to enable, repair, or CI-integrate verification-metadata.xml; use Component Metadata Rules when a resolution outcome is wrong and a component metadata or selection rule is the correct lever; use Substitution and Composites when a replacement, module dependency substitution, or composite build diagnosis is needed; use Feature Variants and Capabilities for feature-variant selection, configuration-role, and capability-conflict resolution; use Dependency Locking Deep Dive for lock modes and deep locking behavior; use Advanced Version Catalogs for catalog topics beyond everyday entries; use Repository Governance for dependencyResolutionManagement modes, content filtering, and exclusiveContent; and use Resolution Mechanics when reasoning about caching/freshness, resolution consistency, or resolution avoidance and performance.
Cross-Skill Handoffs
- Everyday Dependency Inspection (graph audits,
dependencyInsightwinner analysis, force/exclude/platform/constraint menu, cache TTL vs--refresh-dependencies, update discovery, trivial dependency edits) $\rightarrow$using-gradle. - Basic Dependency Authoring (dependency declarations, version-catalog basics, repositories and content filters, constraints/BOMs, basic locking, custom-attribute/feature-variant basics) $\rightarrow$
authoring-gradle-builds. - Composite Build Authoring (
includeBuilddeclarations, plugin-management inclusion, buildSrc vs composite trade-offs, cross-build task wiring) $\rightarrow$authoring-gradle-builds. This skill keeps composite-build diagnosis and dependency-substitution authoring. - Receives advanced dependency engineering routed out of
using-gradleandauthoring-gradle-builds.
Workflows
Diagnose a Variant Selection Failure
- Load Variant Resolution Diagnostics.
- Read the wrapper version and record the failing configuration and requested attributes.
- Diagnose with
dependencyInsight --all-variantsand theoutgoingVariantsreport before authoring any rule. - Apply the minimal fix: an attribute compatibility or disambiguation rule on the correct side of the resolution.
- Re-run the diagnostic to confirm the variant now matches.
- When resolution behaves differently between local and CI, a published Build Scan / Develocity Analytics can expose resolution and repository differences across builds for comparison. Develocity publishes an llms.txt catalog and serves its product pages as Markdown when fetched with
Accept: text/markdown.
Enable or Repair Dependency Verification
- Load Dependency Verification.
- Confirm the request is an explicit supply-chain hardening request; report the UX costs first per the conditional-only doctrine.
- Author or repair
verification-metadata.xml(PGP keys, checksums, CI workflow) per the reference. - Re-run resolution to confirm verification is satisfied without disabling it.
Correct a Wrong Resolution Outcome
- Confirm the wrapper version and the resolved graph via
inspect_dependencies/dependencyInsight. - Identify whether the cause is a component metadata rule, a selection rule, substitution, or a capability conflict by loading the matching reference.
- Apply the smallest rule, then re-run the diagnostic to confirm the winner changed as intended.
Alternatives
Compare before choosing
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
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).
narrative-io/narrative-skills-marketplace
design-analysis
Translate a fuzzy analytical question into a rigorous investigation plan. Interrogates the ask, grounds the plan in the available data dictionary, applies analytical best practices, and produces a structured brief of query specifications for a downstream query-writing skill. Plans, does not write SQL. Use when: "why did X drop", "is there a relationship between A and B", "who are our highest-value customers", "what's driving the change in Y", "investigate this trend", "design an analysis for", "
event4u-app/agent-config
existing-ui-audit
Use BEFORE writing or editing any non-trivial UI — inventories components, design tokens, shadcn primitives, and reusable patterns into state.ui_audit. Hard gate for the ui directive set.