gradle-run
БесплатноЗапускает вложенные скриптыНе проверенUse when planning to execute Gradle through `gradle`, `./gradlew`, or a custom `gradlew*` wrapper script, or diagnosing a Gradle build, recovering a…
от chrisbanes★ 1 172 звезды на GitHubОб этом скилле
Gradle run
Core principle
Treat complete Gradle output as a temporary, sensitive artifact. Every
agent-initiated Gradle command runs through the compact-output wrapper; never
stream, tee, paste, or reopen a full build log.
The wrapper masks common credentials in bounded summaries and ledgers.
Unfamiliar formats can survive. Check before quoting or sharing those outputs
and replace any remaining secret with [REDACTED], including in handoffs and
the final response.
Every create, run, status, recover, and finish invocation is the entire shell command for
that tool call. Prefixes, assignments, conditionals, pipes, command chains, and
follow-up inspection invalidate lifecycle evidence even when Gradle succeeds.
Procedure
Classify the request before running a wrapper command. For command-only guidance or review of supplied evidence, use the relevant reference to write the command or interpret the evidence, then finish with the answer. For authorized execution, reuse a current successful result when unchanged inputs already answer the question. A focused task that validates another change is incidental; build/check/warning/failure work is Gradle-centered.
Resolve this skill directory. If
python3orscripts/gradle_run.pyis unavailable (a failing standalonecreateshows this), stop and report that prerequisite; never run Gradle directly as a fallback. Invoke the project's designated entrypoint (normally./gradlew) as provided; do not read its source to second-guess it or substitute another launcher script.Create one workflow before its first command and retain its opaque ID:
python3 <skill-dir>/scripts/gradle_run.py createIf
createfails, retry a fresh standalonecreatebefore anyrun. Use the wrapper exclusively. It supplies--console=plainand--no-scanunless console behavior was selected or the user authorized--scan. Add--warning-mode allonly for warning discovery or an explicit request. Onworkflow is busy, wait for the execution owner.For a lost session, busy workflow, unknown outcome or status review, follow status and recovery with the original workflow ID and
--root. Keep uncertain work unresolved until ownership is established. Hold reruns, replacement workflows, cleanup andfinish.For incidental validation, stay in the current agent and run the narrowest task that answers a non-empty verification question:
python3 <skill-dir>/scripts/gradle_run.py run \ --workflow <id> --scope targeted \ --question "Does :module:test pass after this change?" -- \ ./gradlew :module:testDo not substitute compilation for requested fixture tests, or skip a requested run because it may find no tests; run it and report that caveat. Read only the bounded JSON summary; report both the managed wrapper and nested Gradle task, the question, and its bounded answer.
For Gradle-centered work, keep diagnosis, repository edits, and wrapper execution with the current implementation owner by default. Delegate a bounded read-only investigation only when it offers useful independent analysis. Select and brief an optional helper using the shared selection and handoff reference. Keep one wrapper execution owner at a time; a helper reports evidence and recommendations to that owner. Continue directly when no helper is available.
Reuse actionable summaries, group warnings/failures by fingerprint, and return source/line evidence plus the narrowest next command. Run broad only for an aggregate question that targeted evidence cannot answer. On a repeated primary source/compiler fingerprint, stop rebuilding; inspect the cited source line and nearby declaration, import, or receiver context before revising the diagnosis. Verify each source change with the same wrapper and narrowest applicable task. In the final diagnosis, name the focused inspection as the next action; do not claim a source fix before it. A new question does not permit a blind repeat: rerunning an unchanged task under a relabeled question is still a repeat.
On interruption, use the wrapper's recorded signal and bounded partial diagnostics; it owns process-group/process-tree cleanup and durable ledger updates. Only logs still represented by the bounded recent-run ledger remain. If a bounded result reports cache access denied before Gradle starts, report the exact path and recommend only an explicit writable-root entry for that existing cache directory, for the user to authorize. Stop there: do not apply it, plan a follow-up rerun,
finish, or new workflow, disable the sandbox, or relocate caches.Finish after the last requested validation (targeted or broad) passes, or report unresolved fingerprints and why val
Установить gradle-run в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл gradle-run?
Use when planning to execute Gradle through `gradle`, `./gradlew`, or a custom `gradlew*` wrapper script, or diagnosing a Gradle build, recovering a workflow's status, compact workflow ledger, repeated failure fingerprint, check, test, lint, warning, or failure even when no new Gradle run is appropriate.
Как установить скилл gradle-run?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gradle-run запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic